-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
52 lines (45 loc) · 1.34 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[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 <[email protected]>"]
[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"