[workspace] members = ["python"] [workspace.package] version = "0.2.0" edition = "2021" license = "MIT OR Apache-2.0" description = "Token healing implementation" repository = "https://github.com/ModelTC/mtc-token-healing" homepage = "https://github.com/ModelTC/mtc-token-healing" documentation = "https://docs.rs/mtc-token-healing" authors = ["Chielo Newctle "] [package] name = "mtc-token-healing" version.workspace = true edition.workspace = true license.workspace = true description.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true authors.workspace = true readme = "README.md" exclude = ["release-plz.toml", ".github", "python"] [dependencies] derive_more = { version = "1.0.0", features = ["deref", "as_ref"] } general-sam = { version = "1.0.0", features = ["trie"] } pyo3 = { version = "0.22.5", optional = true } smallvec = "1.13.2" thiserror = "1.0.64" [features] pyo3 = ["dep:pyo3"] [dev-dependencies] clap = { version = "4.5.20", features = ["derive", "env"] } color-eyre = "0.6.3" rand = "0.8.5" regex = "1.11.0" serde_json = "1.0.129" tokenizers = { version = "0.20.1", features = ["hf-hub", "http"] } tokio = { version = "1.40.0", features = ["rt-multi-thread"] } [package.metadata.docs.rs] all-features = true [profile.release] lto = true strip = true opt-level = "z"