Skip to content

Commit

Permalink
fix(rust): switch to Rust native tls.
Browse files Browse the repository at this point in the history
  • Loading branch information
nkaz001 committed Aug 8, 2024
1 parent e190bc7 commit b723a62
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y pkg-config openssl libssl-dev perl perl-doc
sudo apt-get install -y pkg-config openssl libssl-dev
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion hftbacktest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ serde = { version = "1.0.196", features = ["derive"], optional = true }
serde_json = { version = "1.0.113", optional = true }
tokio = { version = "1.35.1", features = ["full"], optional = true }
tokio-tungstenite = { version = "0.23.1", features = ["native-tls"], optional = true }
reqwest = { version = "0.12.3", features = ["json"], optional = true }
reqwest = { version = "0.12.3", features = ["json", "rustls-tls"], optional = true }
zip = { version = "2.1.3", optional = true }
futures-util = { version = "0.3.30", optional = true }
sha2 = { version = "0.11.0-pre.3", optional = true }
Expand Down
6 changes: 1 addition & 5 deletions py-hftbacktest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,4 @@ crate-type = ["cdylib"]
[dependencies]
pyo3 = { version = "0.22.1", features = ["extension-module"] }
hftbacktest = { path = "../hftbacktest", features = ["backtest"] }
hftbacktest-derive = { path = "../hftbacktest-derive" }

[dependencies.openssl-sys]
version = "0.9"
features = ["vendored"]
hftbacktest-derive = { path = "../hftbacktest-derive" }

0 comments on commit b723a62

Please sign in to comment.