Skip to content

Commit

Permalink
chore(rust): update Rust library dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
nkaz001 committed Nov 20, 2024
1 parent a90e952 commit c48fe85
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion collector/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ anyhow = "1.0.79"
reqwest = { version = "0.12.4", features = ["json"] }
sha2 = "0.11.0-pre.3"
hmac = "0.13.0-pre.3"
thiserror = "1.0.57"
thiserror = "2.0.3"
flate2 = "1.0.28"
clap = { version = "4.5.4", features = ["derive"] }
2 changes: 1 addition & 1 deletion connector/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ bybit = []
hftbacktest = { path = "../hftbacktest", version = "0.4.0" }
tracing = "0.1.40"
anyhow = "1.0.79"
thiserror = "1.0.57"
thiserror = "2.0.3"
bincode = "2.0.0-rc.3"
chrono = { version = "0.4.33" }
serde = { version = "1.0.196", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion hftbacktest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ unstable_fuse = []
[dependencies]
tracing = "0.1.40"
anyhow = "1.0.79"
thiserror = "1.0.57"
thiserror = "2.0.3"
dyn-clone = "1.0.17"
bincode = "2.0.0-rc.3"
chrono = { version = "0.4.33", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion py-hftbacktest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ name = "hftbacktest"
crate-type = ["cdylib"]

[dependencies]
pyo3 = { version = "0.22.1", features = ["extension-module"] }
pyo3 = { version = "0.23.1", features = ["extension-module"] }
hftbacktest = { path = "../hftbacktest", features = ["backtest"] }
hftbacktest-derive = { path = "../hftbacktest-derive" }
1 change: 1 addition & 0 deletions py-hftbacktest/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ pub struct BacktestAsset {
}

unsafe impl Send for BacktestAsset {}
unsafe impl Sync for BacktestAsset {}

#[pymethods]
impl BacktestAsset {
Expand Down

0 comments on commit c48fe85

Please sign in to comment.