# 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" name = "mtc-token-healing" version = "0.2.0" authors = ["Chielo Newctle "] build = false exclude = [ "release-plz.toml", ".github", "python", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Token healing implementation" homepage = "https://github.com/ModelTC/mtc-token-healing" documentation = "https://docs.rs/mtc-token-healing" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/ModelTC/mtc-token-healing" [package.metadata.docs.rs] all-features = true [profile.release] opt-level = "z" lto = true strip = true [lib] name = "mtc_token_healing" path = "src/lib.rs" [[example]] name = "rand-infer" path = "examples/rand-infer.rs" [dependencies.derive_more] version = "1.0.0" features = [ "deref", "as_ref", ] [dependencies.general-sam] version = "1.0.0" features = ["trie"] [dependencies.pyo3] version = "0.22.5" optional = true [dependencies.smallvec] version = "1.13.2" [dependencies.thiserror] version = "1.0.64" [dev-dependencies.clap] version = "4.5.20" features = [ "derive", "env", ] [dev-dependencies.color-eyre] version = "0.6.3" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.regex] version = "1.11.0" [dev-dependencies.serde_json] version = "1.0.129" [dev-dependencies.tokenizers] version = "0.20.1" features = [ "hf-hub", "http", ] [dev-dependencies.tokio] version = "1.40.0" features = ["rt-multi-thread"] [features] pyo3 = ["dep:pyo3"]