Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzw committed Jun 5, 2024
1 parent 50eaa5f commit fab79ce
Show file tree
Hide file tree
Showing 3 changed files with 133 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
run: >-
cargo build
--locked
--release
--release${{ endsWith(matrix.target, 'musl') && ' --no-default-features --feature native-tls' }}
- name: Upload Artifact
uses: actions/upload-artifact@v4
Expand Down
121 changes: 121 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 11 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,20 @@ version = "0.1.0"
edition = "2021"

[features]
default = ["tokio/rt-multi-thread", "rustls-tls"]
# Activate this feature to activate online-testing in the integration test suite.
online-test = []
default = ["native-tls"]
native-tls = [
"reqwest/native-tls",
"reqwest/native-tls-alpn",
"rattler/native-tls",
"rattler_networking/rustls-tls",
"rattler_package_streaming/rustls-tls",
]
rustls-tls = [
"reqwest/rustls-tls",
"reqwest/rustls-tls-native-roots",
"rattler/rustls-tls",
"rattler_networking/rustls-tls",
"rattler_package_streaming/rustls-tls",
"reqwest/rustls-tls",
"reqwest/rustls-tls-native-roots",
]

[dependencies]
Expand All @@ -35,7 +40,7 @@ serde = { version = "1.0.203", features = ["derive"] }
serde_json = "1.0.117"
serde_yaml = "0.9.34"
tokio-tar = "0.3.1"
tokio = "1.37.0"
tokio = { version = "1.37.0", features = ["rt-multi-thread"] }
tokio-stream = { version = "0.1.15", features = ["fs"] }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = [
Expand Down

0 comments on commit fab79ce

Please sign in to comment.