[package] name = "stv-rs" description = "Single Transferable Vote implementation in Rust" version = "0.5.0" authors = ["Guillaume Endignoux "] license = "Apache-2.0" repository = "https://github.com/gendx/stv-rs" readme = "README.md" categories = ["command-line-utilities", "mathematics"] keywords = ["voting", "election", "stv", "meek"] exclude = ["man/*", "testdata/*", "tools/*", ".github/*"] edition = "2021" rust-version = "1.75.0" [dependencies] clap = { version = "=4.4", features = ["derive"] } env_logger = "0.10" log = "0.4" num = "0.4" rayon = "1" regex = "1.10" # Platforms that support `libc::sched_setaffinity()`. [target.'cfg(any(target_os = "android", target_os = "dragonfly", target_os = "freebsd", target_os = "linux"))'.dependencies] nix = { version = "0.28", features = ["sched"] } [dev-dependencies] rand = "0.8" rand_chacha = "0.3.1" rand_distr = "0.4" [features] default = ["checked_i64"] checked_i64 = [] log_parallelism = [] [package.metadata.docs.rs] rustdoc-args = ["--document-private-items"]