Skip to content

Commit

Permalink
features features features
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Jun 12, 2023
1 parent 584468d commit 7b6f3bc
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
6 changes: 3 additions & 3 deletions crates/rattler-bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ path = "src/main.rs"

[features]
default = ["native-tls"]
native-tls = ["reqwest/native-tls", "rattler/native-tls", "rattler_repodata_gateway/native-tls"]
rustls-tls = ["reqwest/rustls-tls", "rattler/rustls-tls", "rattler_repodata_gateway/rustls-tls"]
native-tls = ["reqwest/native-tls", "rattler/native-tls", "rattler_repodata_gateway/native-tls", "rattler_networking/native-tls"]
rustls-tls = ["reqwest/rustls-tls", "rattler/rustls-tls", "rattler_repodata_gateway/rustls-tls", "rattler_networking/rustls-tls"]

[dependencies]
anyhow = "1.0.71"
Expand All @@ -29,7 +29,7 @@ indicatif = "0.17.5"
itertools = "0.10.5"
once_cell = "1.18.0"
rattler = { version = "0.2.0", path = "../rattler", default-features = false }
rattler_networking = { version = "0.2.0", path = "../rattler_networking" }
rattler_networking = { version = "0.2.0", path = "../rattler_networking", default-features = false }
rattler_conda_types = { version = "0.2.0", path = "../rattler_conda_types" }
rattler_repodata_gateway = { version = "0.2.0", path = "../rattler_repodata_gateway", features = ["sparse"], default-features = false }
rattler_solve = { version = "0.2.0", path = "../rattler_solve" }
Expand Down
2 changes: 1 addition & 1 deletion crates/rattler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ once_cell = "1.18.0"
pin-project-lite = "0.2.9"
rattler_conda_types = { version = "0.2.0", path = "../rattler_conda_types" }
rattler_digest = { version = "0.2.0", path = "../rattler_digest" }
rattler_networking = { version = "0.2.0", path = "../rattler_networking" }
rattler_networking = { version = "0.2.0", path = "../rattler_networking", default-features = false }
rattler_package_streaming = { version = "0.2.0", path = "../rattler_package_streaming", features = ["reqwest", "tokio"], default-features = false }
regex = "1.8.4"
reqwest = { version = "0.11.18", default-features = false, features = ["stream", "json", "gzip"] }
Expand Down
4 changes: 4 additions & 0 deletions crates/rattler_networking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ repository.workspace = true
license.workspace = true
readme.workspace = true

[features]
native-tls = ['reqwest/native-tls']
rustls-tls = ['reqwest/rustls-tls']

[dependencies]
anyhow = "1.0.71"
dirs = "5.0.1"
Expand Down
2 changes: 1 addition & 1 deletion crates/rattler_package_streaming/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ reqwest = { version = "0.11.18", optional = true, default-features = false }
url = "2.4.0"
zip = { version = "0.6.6" }
zstd = "0.12.3"
rattler_networking = { version = "0.2.0", path = "../rattler_networking" }
rattler_networking = { version = "0.2.0", path = "../rattler_networking", default-features = false }

[features]
default = ['native-tls']
Expand Down
2 changes: 1 addition & 1 deletion crates/rattler_repodata_gateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ superslice = { version = "1.0.0", optional = true }
itertools = { version = "0.10.5", optional = true }
json-patch = "1.0.0"
hex = { version = "0.4.3", features = ["serde"] }
rattler_networking = { version = "0.2.0", path = "../rattler_networking" }
rattler_networking = { version = "0.2.0", path = "../rattler_networking", default-features = false }

[target.'cfg(unix)'.dependencies]
libc = "0.2"
Expand Down

0 comments on commit 7b6f3bc

Please sign in to comment.