-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
63 lines (55 loc) · 1.68 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[package]
name = "tskit"
version = "0.15.0-alpha.1"
authors = ["tskit developers <admin@tskit.dev>"]
build = "build.rs"
edition = "2021"
description = "rust interface to tskit"
license = "MIT"
homepage = "https://github.com/tskit-dev/tskit-rust"
repository = "https://github.com/tskit-dev/tskit-rust"
rust-version = "1.71.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lints.rust]
# Added for rust 1.80.0
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] }
[profile.release]
lto = "fat"
codegen-units=1
[dependencies]
thiserror = "1.0"
libc = "0.2.155"
streaming-iterator = "0.1.5"
bitflags = "2.6.0"
humantime = {version = "2.1.0", optional = true}
serde = {version = "1.0.203", features = ["derive"], optional = true}
serde_json = {version = "1.0.120", optional = true}
bincode = {version = "1.3.1", optional = true}
tskit-derive = {version = "0.2.0", path = "tskit-derive", optional = true}
delegate = "0.12.0"
[dev-dependencies]
anyhow = {version = "1.0.86"}
clap = {version = "4.4.6", features = ["derive"]}
serde = {version = "1.0.203", features = ["derive"]}
serde-pickle = "1.1.0"
serde_json = {version = "1.0.120"}
bincode = "1.3.1"
rand = "0.8.3"
rand_distr = "0.4.0"
humantime = {version = "2.1.0"}
# chrono is out (for now) due to security issues
# chrono = "0.4.19"
[build-dependencies]
bindgen = "0.69.4"
cc = { version = "1.0", features = ["parallel"] }
pkg-config = "0.3"
[features]
bindings = []
provenance = ["humantime"]
derive = ["tskit-derive", "serde", "serde_json", "bincode"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "doc_cfg"]
# Not run during tests
[[example]]
name = "tree_traversals"