Skip to content

Commit c48fe85

Browse files
committed
chore(rust): update Rust library dependencies.
1 parent a90e952 commit c48fe85

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

collector/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ anyhow = "1.0.79"
1818
reqwest = { version = "0.12.4", features = ["json"] }
1919
sha2 = "0.11.0-pre.3"
2020
hmac = "0.13.0-pre.3"
21-
thiserror = "1.0.57"
21+
thiserror = "2.0.3"
2222
flate2 = "1.0.28"
2323
clap = { version = "4.5.4", features = ["derive"] }

connector/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ bybit = []
1212
hftbacktest = { path = "../hftbacktest", version = "0.4.0" }
1313
tracing = "0.1.40"
1414
anyhow = "1.0.79"
15-
thiserror = "1.0.57"
15+
thiserror = "2.0.3"
1616
bincode = "2.0.0-rc.3"
1717
chrono = { version = "0.4.33" }
1818
serde = { version = "1.0.196", features = ["derive"] }

hftbacktest/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ unstable_fuse = []
3232
[dependencies]
3333
tracing = "0.1.40"
3434
anyhow = "1.0.79"
35-
thiserror = "1.0.57"
35+
thiserror = "2.0.3"
3636
dyn-clone = "1.0.17"
3737
bincode = "2.0.0-rc.3"
3838
chrono = { version = "0.4.33", optional = true }

py-hftbacktest/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ name = "hftbacktest"
88
crate-type = ["cdylib"]
99

1010
[dependencies]
11-
pyo3 = { version = "0.22.1", features = ["extension-module"] }
11+
pyo3 = { version = "0.23.1", features = ["extension-module"] }
1212
hftbacktest = { path = "../hftbacktest", features = ["backtest"] }
1313
hftbacktest-derive = { path = "../hftbacktest-derive" }

py-hftbacktest/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ pub struct BacktestAsset {
114114
}
115115

116116
unsafe impl Send for BacktestAsset {}
117+
unsafe impl Sync for BacktestAsset {}
117118

118119
#[pymethods]
119120
impl BacktestAsset {

0 commit comments

Comments
 (0)