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

44 lines
1.6 KiB

[package]
name = "markov"
version = "0.2.2+1"
description = "Generate string of text from Markov chain fed by stdin or file(s)"
authors = ["Avril <flanchan@cumallover.me>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
opt-level = 3
lto = true
#"fat"
codegen-units = 1
strip = true
[profile.symbols]
inherits = "release"
lto = "fat"
strip = false
[features]
default = ["threads", "io_uring"]
threads = ["zstd/zstdmt", "dep:num_cpus"]
io_uring = ["dep:tokio-uring", "dep:async-compression", "dep:futures", "dep:tokio", "dep:os_pipe"]
unstable = ["smallvec/specialization", "smallvec/may_dangle"]
[dependencies]
async-compression = { version = "0.4.18", features = ["tokio", "zstd", "zstdmt"], optional = true }
bytes = { version = "1.10.0", features = ["serde"] }
chain = {package = "markov", version = "1.1.0" }
clap = { version = "4.5.29", features = ["derive"] }
futures = { version = "0.3.31", default-features = false, optional = true, features = ["alloc", "async-await", "std"] }
num_cpus = { version = "1.16.0", optional = true }
os_pipe = { version = "1.2.1", optional = true }
serde = { version = "1.0.217", features = ["derive"] }
serde_cbor = { version = "0.11.2", features = ["alloc"] }
smallvec = { version = "1.14.0", features = ["union", "const_generics", "const_new", "serde", "write"] }
tokio = { version = "1.43.0", features = ["io-util"], optional = true }
tokio-uring = { version = "0.5.0", optional = true, features = ["bytes"] }
zstd = { version = "0.13.2", features = [] }