tskit 0.15.0-alpha.3

rust interface to tskit
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.75.0"
name = "tskit"
version = "0.15.0-alpha.3"
authors = ["tskit developers <admin@tskit.dev>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "rust interface to tskit"
homepage = "https://github.com/tskit-dev/tskit-rust"
readme = "README.md"
license = "MIT"
repository = "https://github.com/tskit-dev/tskit-rust"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "doc_cfg",
]

[features]
bindings = []
derive = [
    "tskit-derive",
    "serde",
    "serde_json",
    "bincode",
]
provenance = ["chrono"]

[lib]
name = "tskit"
path = "src/lib.rs"

[[example]]
name = "bincode_metadata"
path = "examples/bincode_metadata.rs"
required-features = ["derive"]

[[example]]
name = "haploid_wright_fisher"
path = "examples/haploid_wright_fisher.rs"

[[example]]
name = "json_metadata"
path = "examples/json_metadata.rs"
required-features = ["derive"]

[[example]]
name = "manual_metadata_encoding"
path = "examples/manual_metadata_encoding.rs"

[[example]]
name = "tree_traversals"
path = "examples/tree_traversals.rs"

[[test]]
name = "book_metadata"
path = "tests/book_metadata.rs"

[[test]]
name = "book_table_collection"
path = "tests/book_table_collection.rs"

[[test]]
name = "book_trees"
path = "tests/book_trees.rs"

[[test]]
name = "example_flags"
path = "tests/example_flags.rs"

[[test]]
name = "experimental"
path = "tests/experimental.rs"

[[test]]
name = "test_edge_difference_iteration"
path = "tests/test_edge_difference_iteration.rs"

[[test]]
name = "test_id_types"
path = "tests/test_id_types.rs"

[[test]]
name = "test_metadata"
path = "tests/test_metadata.rs"

[[test]]
name = "test_tables"
path = "tests/test_tables.rs"

[[test]]
name = "test_trees"
path = "tests/test_trees.rs"

[dependencies.bincode]
version = "1.3.1"
optional = true

[dependencies.chrono]
version = "0.4.40"
features = [
    "now",
    "std",
]
optional = true
default-features = false

[dependencies.libc]
version = "0.2.155"

[dependencies.serde]
version = "1.0.203"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0.120"
optional = true

[dependencies.streaming-iterator]
version = "0.1.5"

[dependencies.tskit-derive]
version = "0.2.0"
optional = true

[dev-dependencies.bincode]
version = "1.3.1"

[dev-dependencies.clap]
version = "4.4.6"
features = ["derive"]

[dev-dependencies.rand]
version = "0.8.3"

[dev-dependencies.rand_distr]
version = "0.4.0"

[dev-dependencies.serde]
version = "1.0.203"
features = ["derive"]

[dev-dependencies.serde-pickle]
version = "1.1.0"

[dev-dependencies.serde_json]
version = "1.0.120"

[build-dependencies.bindgen]
version = "0.69.4"

[build-dependencies.cc]
version = "1.0"
features = ["parallel"]

[build-dependencies.pkg-config]
version = "0.3"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(doc_cfg)"]

[profile.release]
lto = "fat"
codegen-units = 1