Skip to content

Commit 4d614ad

Browse files
authored
Merge pull request #723 from samgj18/patch-chrono-vulnerability
Fixes chrono vulnerability caused by time dependency
2 parents 0f002b9 + 1e34f5b commit 4d614ad

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

examples/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ scylla = {path = "../scylla", features = ["ssl", "cloud"]}
1414
tokio = {version = "1.1.0", features = ["full"]}
1515
tracing = "0.1.25"
1616
tracing-subscriber = { version = "0.3.14", features = ["env-filter"] }
17-
chrono = "0.4"
17+
chrono = { version = "0.4", default-features = false }
1818
uuid = "1.0"
1919
tower = "0.4"
2020
stats_alloc = "0.1"

scylla-cql/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ uuid = "1.0"
2121
thiserror = "1.0"
2222
bigdecimal = "0.2.0"
2323
num-bigint = "0.3"
24-
chrono = "0.4"
24+
chrono = { version = "0.4", default-features = false }
2525
lz4_flex = { version = "0.9.2" }
2626
async-trait = "0.1.57"
2727
serde = { version = "1.0", optional = true }
@@ -34,4 +34,4 @@ name = "benchmark"
3434
harness = false
3535

3636
[features]
37-
secret = ["secrecy"]
37+
secret = ["secrecy"]

scylla-proxy/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ thiserror = "1.0.32"
2424
bigdecimal = "0.2.0"
2525
num-bigint = "0.3"
2626
tracing = "0.1.25"
27-
chrono = "0.4"
27+
chrono = { version = "0.4", default-features = false }
2828
rand = "0.8.5"
2929

3030
[dev-dependencies]

scylla/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ itertools = "0.10.0"
4343
bigdecimal = "0.2.0"
4444
num-bigint = "0.3"
4545
tracing = "0.1.25"
46-
chrono = "0.4.20"
46+
chrono = { version = "0.4.20", default-features = false, features = ["clock"] }
4747
openssl = { version = "0.10.32", optional = true }
4848
tokio-openssl = { version = "0.6.1", optional = true }
4949
arc-swap = "1.3.0"

0 commit comments

Comments
 (0)