mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 19:42:27 +08:00
build(deps): address undeclared crate or module errors on Windows for scheduler crate (#2411)
This commit is contained in:
109
Cargo.lock
generated
109
Cargo.lock
generated
@ -471,18 +471,6 @@ dependencies = [
|
|||||||
"serde_json",
|
"serde_json",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "async-bb8-diesel"
|
|
||||||
version = "0.1.0"
|
|
||||||
source = "git+https://github.com/juspay/async-bb8-diesel?rev=9a71d142726dbc33f41c1fd935ddaa79841c7be5#9a71d142726dbc33f41c1fd935ddaa79841c7be5"
|
|
||||||
dependencies = [
|
|
||||||
"async-trait",
|
|
||||||
"bb8",
|
|
||||||
"diesel",
|
|
||||||
"thiserror",
|
|
||||||
"tokio",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "async-bb8-diesel"
|
name = "async-bb8-diesel"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
@ -735,39 +723,6 @@ dependencies = [
|
|||||||
"tracing",
|
"tracing",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "aws-sdk-s3"
|
|
||||||
version = "0.25.1"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "392b9811ca489747ac84349790e49deaa1f16631949e7dd4156000251c260eae"
|
|
||||||
dependencies = [
|
|
||||||
"aws-credential-types",
|
|
||||||
"aws-endpoint",
|
|
||||||
"aws-http",
|
|
||||||
"aws-sig-auth",
|
|
||||||
"aws-sigv4",
|
|
||||||
"aws-smithy-async",
|
|
||||||
"aws-smithy-checksums",
|
|
||||||
"aws-smithy-client",
|
|
||||||
"aws-smithy-eventstream",
|
|
||||||
"aws-smithy-http",
|
|
||||||
"aws-smithy-http-tower",
|
|
||||||
"aws-smithy-json",
|
|
||||||
"aws-smithy-types",
|
|
||||||
"aws-smithy-xml",
|
|
||||||
"aws-types",
|
|
||||||
"bytes",
|
|
||||||
"http",
|
|
||||||
"http-body",
|
|
||||||
"once_cell",
|
|
||||||
"percent-encoding",
|
|
||||||
"regex",
|
|
||||||
"tokio-stream",
|
|
||||||
"tower",
|
|
||||||
"tracing",
|
|
||||||
"url",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "aws-sdk-s3"
|
name = "aws-sdk-s3"
|
||||||
version = "0.28.0"
|
version = "0.28.0"
|
||||||
@ -1853,9 +1808,9 @@ dependencies = [
|
|||||||
name = "diesel_models"
|
name = "diesel_models"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-bb8-diesel 0.1.0 (git+https://github.com/oxidecomputer/async-bb8-diesel?rev=be3d9bce50051d8c0e0c06078e8066cc27db3001)",
|
"async-bb8-diesel",
|
||||||
"aws-config",
|
"aws-config",
|
||||||
"aws-sdk-s3 0.28.0",
|
"aws-sdk-s3",
|
||||||
"common_enums",
|
"common_enums",
|
||||||
"common_utils",
|
"common_utils",
|
||||||
"diesel",
|
"diesel",
|
||||||
@ -1940,7 +1895,7 @@ checksum = "0688c2a7f92e427f44895cd63841bff7b29f8d7a1648b9e7e07a4a365b2e1257"
|
|||||||
name = "drainer"
|
name = "drainer"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-bb8-diesel 0.1.0 (git+https://github.com/oxidecomputer/async-bb8-diesel?rev=be3d9bce50051d8c0e0c06078e8066cc27db3001)",
|
"async-bb8-diesel",
|
||||||
"bb8",
|
"bb8",
|
||||||
"clap",
|
"clap",
|
||||||
"common_utils",
|
"common_utils",
|
||||||
@ -1988,20 +1943,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||||||
checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36"
|
checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"atty",
|
"atty",
|
||||||
"humantime 1.3.0",
|
"humantime",
|
||||||
"log",
|
|
||||||
"regex",
|
|
||||||
"termcolor",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "env_logger"
|
|
||||||
version = "0.10.0"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0"
|
|
||||||
dependencies = [
|
|
||||||
"humantime 2.1.0",
|
|
||||||
"is-terminal",
|
|
||||||
"log",
|
"log",
|
||||||
"regex",
|
"regex",
|
||||||
"termcolor",
|
"termcolor",
|
||||||
@ -2589,12 +2531,6 @@ dependencies = [
|
|||||||
"quick-error",
|
"quick-error",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "humantime"
|
|
||||||
version = "2.1.0"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "hyper"
|
name = "hyper"
|
||||||
version = "0.14.27"
|
version = "0.14.27"
|
||||||
@ -2779,18 +2715,6 @@ version = "2.7.2"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "12b6ee2129af8d4fb011108c73d99a1b83a85977f23b82460c0ae2e25bb4b57f"
|
checksum = "12b6ee2129af8d4fb011108c73d99a1b83a85977f23b82460c0ae2e25bb4b57f"
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "is-terminal"
|
|
||||||
version = "0.4.7"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f"
|
|
||||||
dependencies = [
|
|
||||||
"hermit-abi 0.3.1",
|
|
||||||
"io-lifetimes",
|
|
||||||
"rustix",
|
|
||||||
"windows-sys 0.48.0",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "itertools"
|
name = "itertools"
|
||||||
version = "0.10.5"
|
version = "0.10.5"
|
||||||
@ -3680,7 +3604,7 @@ version = "0.4.0"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "926d36b9553851b8b0005f1275891b392ee4d2d833852c417ed025477350fb9d"
|
checksum = "926d36b9553851b8b0005f1275891b392ee4d2d833852c417ed025477350fb9d"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"env_logger 0.7.1",
|
"env_logger",
|
||||||
"log",
|
"log",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -4134,11 +4058,11 @@ dependencies = [
|
|||||||
"actix-rt",
|
"actix-rt",
|
||||||
"actix-web",
|
"actix-web",
|
||||||
"api_models",
|
"api_models",
|
||||||
"async-bb8-diesel 0.1.0 (git+https://github.com/oxidecomputer/async-bb8-diesel?rev=be3d9bce50051d8c0e0c06078e8066cc27db3001)",
|
"async-bb8-diesel",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"awc",
|
"awc",
|
||||||
"aws-config",
|
"aws-config",
|
||||||
"aws-sdk-s3 0.28.0",
|
"aws-sdk-s3",
|
||||||
"base64 0.21.2",
|
"base64 0.21.2",
|
||||||
"bb8",
|
"bb8",
|
||||||
"blake3",
|
"blake3",
|
||||||
@ -4428,36 +4352,19 @@ dependencies = [
|
|||||||
name = "scheduler"
|
name = "scheduler"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"actix-multipart",
|
|
||||||
"actix-rt",
|
|
||||||
"actix-web",
|
|
||||||
"api_models",
|
|
||||||
"async-bb8-diesel 0.1.0 (git+https://github.com/juspay/async-bb8-diesel?rev=9a71d142726dbc33f41c1fd935ddaa79841c7be5)",
|
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"aws-config",
|
|
||||||
"aws-sdk-s3 0.25.1",
|
|
||||||
"cards",
|
|
||||||
"clap",
|
|
||||||
"common_utils",
|
"common_utils",
|
||||||
"diesel",
|
|
||||||
"diesel_models",
|
"diesel_models",
|
||||||
"dyn-clone",
|
|
||||||
"env_logger 0.10.0",
|
|
||||||
"error-stack",
|
"error-stack",
|
||||||
"external_services",
|
"external_services",
|
||||||
"frunk",
|
|
||||||
"frunk_core",
|
|
||||||
"futures",
|
"futures",
|
||||||
"infer 0.13.0",
|
|
||||||
"masking",
|
"masking",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
"rand 0.8.5",
|
"rand 0.8.5",
|
||||||
"redis_interface",
|
"redis_interface",
|
||||||
"router_derive",
|
|
||||||
"router_env",
|
"router_env",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"signal-hook",
|
|
||||||
"signal-hook-tokio",
|
"signal-hook-tokio",
|
||||||
"storage_impl",
|
"storage_impl",
|
||||||
"strum 0.24.1",
|
"strum 0.24.1",
|
||||||
@ -4824,7 +4731,7 @@ version = "0.1.0"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"actix-web",
|
"actix-web",
|
||||||
"api_models",
|
"api_models",
|
||||||
"async-bb8-diesel 0.1.0 (git+https://github.com/oxidecomputer/async-bb8-diesel?rev=be3d9bce50051d8c0e0c06078e8066cc27db3001)",
|
"async-bb8-diesel",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"bb8",
|
"bb8",
|
||||||
"bytes",
|
"bytes",
|
||||||
|
|||||||
@ -9,51 +9,32 @@ olap = []
|
|||||||
kv_store = []
|
kv_store = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
async-bb8-diesel = { git = "https://github.com/juspay/async-bb8-diesel", rev = "9a71d142726dbc33f41c1fd935ddaa79841c7be5" }
|
# Third party crates
|
||||||
clap = { version = "4.2.2", default-features = false, features = ["std", "derive", "help", "usage"] }
|
async-trait = "0.1.68"
|
||||||
diesel = { version = "2.0.3", features = ["postgres", "serde_json", "time"] }
|
|
||||||
error-stack = "0.3.1"
|
error-stack = "0.3.1"
|
||||||
frunk = "0.4.1"
|
|
||||||
frunk_core = "0.4.1"
|
|
||||||
futures = "0.3.28"
|
futures = "0.3.28"
|
||||||
once_cell = "1.17.1"
|
once_cell = "1.18.0"
|
||||||
serde = "1.0.159"
|
|
||||||
serde_json = "1.0.91"
|
|
||||||
strum = { version = "0.24.1", features = ["derive"] }
|
|
||||||
time = { version = "0.3.20", features = ["serde", "serde-well-known", "std"] }
|
|
||||||
env_logger = "0.10.0"
|
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
signal-hook = "0.3.15"
|
serde = "1.0.163"
|
||||||
uuid = { version = "1.3.1", features = ["serde", "v4"] }
|
serde_json = "1.0.96"
|
||||||
|
strum = { version = "0.24.1", features = ["derive"] }
|
||||||
|
thiserror = "1.0.40"
|
||||||
|
time = { version = "0.3.21", features = ["serde", "serde-well-known", "std"] }
|
||||||
|
tokio = { version = "1.28.2", features = ["macros", "rt-multi-thread"] }
|
||||||
|
uuid = { version = "1.3.3", features = ["serde", "v4"] }
|
||||||
|
|
||||||
# First party crates
|
# First party crates
|
||||||
api_models = { version = "0.1.0", path = "../api_models", features = ["errors"] }
|
|
||||||
common_utils = { version = "0.1.0", path = "../common_utils", features = ["signals", "async_ext"] }
|
common_utils = { version = "0.1.0", path = "../common_utils", features = ["signals", "async_ext"] }
|
||||||
cards = { version = "0.1.0", path = "../cards" }
|
diesel_models = { version = "0.1.0", path = "../diesel_models", features = ["kv_store"] }
|
||||||
external_services = { version = "0.1.0", path = "../external_services" }
|
external_services = { version = "0.1.0", path = "../external_services" }
|
||||||
masking = { version = "0.1.0", path = "../masking" }
|
masking = { version = "0.1.0", path = "../masking" }
|
||||||
redis_interface = { version = "0.1.0", path = "../redis_interface" }
|
redis_interface = { version = "0.1.0", path = "../redis_interface" }
|
||||||
router_derive = { version = "0.1.0", path = "../router_derive" }
|
|
||||||
storage_impl = { version = "0.1.0", path = "../storage_impl" , default-features = false }
|
|
||||||
router_env = { version = "0.1.0", path = "../router_env", features = ["log_extra_implicit_fields", "log_custom_entries_to_extra"] }
|
router_env = { version = "0.1.0", path = "../router_env", features = ["log_extra_implicit_fields", "log_custom_entries_to_extra"] }
|
||||||
diesel_models = { version = "0.1.0", path = "../diesel_models", features = ["kv_store"] }
|
storage_impl = { version = "0.1.0", path = "../storage_impl", default-features = false }
|
||||||
actix-multipart = "0.6.0"
|
|
||||||
aws-sdk-s3 = { version = "0.25.0", optional = true }
|
|
||||||
aws-config = {version = "0.55.1", optional = true }
|
|
||||||
infer = "0.13.0"
|
|
||||||
|
|
||||||
[target.'cfg(not(target_os = "windows"))'.dependencies]
|
[target.'cfg(not(target_os = "windows"))'.dependencies]
|
||||||
signal-hook-tokio = { version = "0.3.1", features = ["futures-v0_3"] }
|
signal-hook-tokio = { version = "0.3.1", features = ["futures-v0_3"] }
|
||||||
|
|
||||||
# Third party crates
|
|
||||||
actix-rt = "2.8.0"
|
|
||||||
actix-web = "4.3.1"
|
|
||||||
thiserror = "1.0.39"
|
|
||||||
async-trait = "0.1.66"
|
|
||||||
dyn-clone = "1.0.11"
|
|
||||||
tokio = { version = "1.26.0", features = ["macros", "rt-multi-thread"] }
|
|
||||||
|
|
||||||
|
|
||||||
# [[bin]]
|
# [[bin]]
|
||||||
# name = "scheduler"
|
# name = "scheduler"
|
||||||
# path = "src/bin/scheduler.rs"
|
# path = "src/bin/scheduler.rs"
|
||||||
@ -377,10 +377,3 @@ where
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(target_os = "windows")]
|
|
||||||
pub(crate) async fn signal_handler(
|
|
||||||
_sig: common_utils::signals::DummySignal,
|
|
||||||
_sender: oneshot::Sender<()>,
|
|
||||||
) {
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user