[package] name = "markov" version = "0.2.2" description = "Generate string of text from Markov chain fed by stdin or file(s)" authors = ["Avril "] 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"] threads = ["zstd/zstdmt", "dep:num_cpus"] #io_uring = ["dep:tokio-uring", "dep:async-compression", "dep:futures", "dep:tokio", "dep:os_pipe"] [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"] } 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 = [] }