Skip to content

Commit

Permalink
add cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfeil committed Jan 19, 2025
1 parent 1477238 commit 0b13ba9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/truss-transfer-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ jobs:

- name: Build Statically Linked CLI Binary
run: |
apt-get update && apt-get install -y musl-tools musl-gcc
cargo build --release --target x86_64-unknown-linux-musl --features cli --bin truss_transfer_cli
chmod +x target/x86_64-unknown-linux-musl/release/truss_transfer_cli
./target/x86_64-unknown-linux-musl/release/truss_transfer_cli "./tmp_cli_no_fs_cache/test"
Expand Down
8 changes: 1 addition & 7 deletions truss-transfer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,12 @@ serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.9"
tokio = { version = "1.24", features = ["rt-multi-thread", "macros", "fs"] }

# Base reqwest dependency without default features
reqwest = { version = "0.12.2", default-features = false, optional = false, features = ["blocking", "stream", "http2", "default-tls"] }
reqwest = { version = "0.12.12", default-features = false, optional = false, features = ["blocking", "stream", "http2", "default-tls"] }
openssl = { version = "0.10", features = ["vendored"], optional = false }

[features]
# CLI uses reqwest with rustls-tls, so that it is musl compatible
cli = []

# Python extension uses OpenSSL, as rustls-tls is not supported on aaarch64
python_extension = []
default = []

[[bin]]
name = "truss_transfer_cli"
path = "src/lib.rs" # Assuming this is the CLI entry point
Expand Down

0 comments on commit 0b13ba9

Please sign in to comment.