[package] name = "demes" build = "build.rs" version = "0.6.0" edition = "2021" license = "MIT" description = "rust implementation of demes specification" homepage = "https://github.com/molpopgen/demes-rs" repository = "https://github.com/molpopgen/demes-rs" rust-version = "1.60.0" [lib] crate-type = ["lib", "staticlib"] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "doc_cfg"] [features] json = ["serde_json"] ffi = [] [dependencies] thiserror = "~1" serde = { version = "~1", features = ["derive", "rc"] } serde_yaml = "~0.9" serde_json = {version = "1.0.114", optional = true, features=["float_roundtrip"]} [dependencies.regex] version = "~1" default-features = false # BIG reduction in final library size features = ["std", "unicode-perl"] [dev-dependencies] anyhow = "~1" [[example]] name = "iterate_graph_detail" [[example]] name = "iterate_graph"