cas_client/Cargo.toml (64 lines of code) (raw):

[package] name = "cas_client" version = "0.14.5" edition = "2021" [dependencies] cas_object = { path = "../cas_object" } cas_types = { path = "../cas_types" } chunk_cache = { path = "../chunk_cache" } deduplication = { path = "../deduplication" } error_printer = { path = "../error_printer" } file_utils = { path = "../file_utils" } mdb_shard = { path = "../mdb_shard" } merkledb = { path = "../merkledb" } merklehash = { path = "../merklehash" } progress_tracking = { path = "../progress_tracking" } utils = { path = "../utils" } xet_threadpool = { path = "../xet_threadpool" } anyhow = { workspace = true } async-trait = { workspace = true } bytes = { workspace = true } derivative = { workspace = true } futures = { workspace = true } http = { workspace = true } more-asserts = { workspace = true } tempfile = { workspace = true } thiserror = { workspace = true } tokio = { workspace = true } tokio-retry = { workspace = true } tracing = { workspace = true } url = { workspace = true } lazy_static = { workspace = true } reqwest-middleware = "0.4" reqwest-retry = "0.7" reqwest = { version = "0.12", features = [ "json", "stream", ], default-features = false } hyper-util = "0.1.10" tower-service = "0.3.3" # Reqwest -- uses different flags with different features. [features] strict = [] default = ["rustls-tls"] # Three options for compliation here. rustls-tls = [ "reqwest/rustls-tls", "reqwest/rustls-tls-webpki-roots", "reqwest/rustls-tls-native-roots", ] # rustls-tls uses the rustls package, which embeds all of the ssl stuff in a rust package. This is the # most portable option, but also may not respect local network configurations. Use this if the native-ssl options don't work. # Uses native tls in the request package; this uses the native-tls package to wrap openssl, which is a more robust and portable # way of ensuring that tls just works. native-tls = ["reqwest/native-tls"] # This uses the above, but statically compiles in openssl, which makes the result more portable at the expense of # library size. native-tls-vendored = ["reqwest/native-tls-vendored"] [target.'cfg(not(target_family = "wasm"))'.dependencies] heed = { workspace = true } [dev-dependencies] httpmock = { workspace = true } rand = { workspace = true } tracing-test = { workspace = true } wiremock = { workspace = true }