Skip to content

Commit 14eff6f

Browse files
committed
drop humantime for chrono
1 parent b613b87 commit 14eff6f

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

Cargo.lock

Lines changed: 10 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ codegen-units=1
2323
thiserror = "1.0"
2424
libc = "0.2.155"
2525
streaming-iterator = "0.1.5"
26-
humantime = {version = "2.1.0", optional = true}
2726
serde = {version = "1.0.203", features = ["derive"], optional = true}
2827
serde_json = {version = "1.0.120", optional = true}
2928
bincode = {version = "1.3.1", optional = true}
3029
tskit-derive = {version = "0.2.0", path = "tskit-derive", optional = true}
30+
chrono = { version = "0.4.40", default-features = false, features = ["now", "std"] , optional = true}
3131

3232
[dev-dependencies]
3333
anyhow = {version = "1.0.86"}
@@ -38,9 +38,6 @@ serde_json = {version = "1.0.120"}
3838
bincode = "1.3.1"
3939
rand = "0.8.3"
4040
rand_distr = "0.4.0"
41-
humantime = {version = "2.1.0"}
42-
# chrono is out (for now) due to security issues
43-
# chrono = "0.4.19"
4441

4542
[build-dependencies]
4643
bindgen = "0.69.4"
@@ -49,7 +46,7 @@ pkg-config = "0.3"
4946

5047
[features]
5148
bindings = []
52-
provenance = ["humantime"]
49+
provenance = ["chrono"]
5350
derive = ["tskit-derive", "serde", "serde_json", "bincode"]
5451

5552
[package.metadata.docs.rs]

0 commit comments

Comments
 (0)