[package] name = "tskit" version = "0.15.0-alpha.0" authors = ["tskit developers "] 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 [profile.release] lto = "fat" codegen-units=1 [dependencies] thiserror = "1.0" libc = "0.2.154" streaming-iterator = "0.1.5" bitflags = "2.5.0" humantime = {version = "2.1.0", optional = true} serde = {version = "1.0.199", features = ["derive"], optional = true} serde_json = {version = "1.0.114", 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.79"} clap = {version = "4.4.6", features = ["derive"]} serde = {version = "1.0.199", features = ["derive"]} serde-pickle = "1.1.0" serde_json = {version = "1.0.114"} 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"