You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
genmarkov/Cargo.toml

35 lines
891 B

4 years ago
[package]
name = "markov"
version = "0.2.1"
description = "Generate string of text from Markov chain fed by stdin or file(s)"
4 years ago
authors = ["Avril <flanchan@cumallover.me>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
4 years ago
[profile.release]
opt-level = 3
lto = true
#"fat"
4 years ago
codegen-units = 1
strip = true
[profile.symbols]
inherits = "release"
lto = "fat"
strip = false
[features]
default = ["threads"]
threads = ["zstd/zstdmt", "dep:num_cpus"]
4 years ago
4 years ago
[dependencies]
bytes = { version = "1.10.0", features = ["serde"] }
chain = {package = "markov", version = "1.1.0" }
clap = { version = "4.5.29", features = ["derive"] }
num_cpus = { version = "1.16.0", optional = true }
serde = { version = "1.0.217", features = ["derive"] }
serde_cbor = { version = "0.11.2", features = ["alloc"] }
zstd = { version = "0.13.2", features = [] }