mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-22 16:25:30 +00:00
38 lines
789 B
TOML
38 lines
789 B
TOML
[package]
|
|
name = "tokenizers-python"
|
|
version = "0.10.2"
|
|
authors = ["Anthony MOI <m.anthony.moi@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
name = "tokenizers"
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
rayon = "1.3"
|
|
serde = { version = "1.0", features = [ "rc", "derive" ]}
|
|
serde_json = "1.0"
|
|
libc = "0.2"
|
|
env_logger = "0.7.1"
|
|
pyo3 = "0.12"
|
|
numpy = { git = "https://github.com/pyo3/rust-numpy/", rev = "e331befa27fede78d4662edf08fa0508db39be01" }
|
|
ndarray = "0.13"
|
|
onig = { version = "6.0", default-features = false }
|
|
itertools = "0.9"
|
|
|
|
[dependencies.tokenizers]
|
|
version = "*"
|
|
path = "../../tokenizers"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.1"
|
|
|
|
[features]
|
|
default = ["pyo3/extension-module"]
|
|
|
|
[target.x86_64-apple-darwin]
|
|
rustflags = [
|
|
"-C", "link-arg=-undefined",
|
|
"-C", "link-arg=dynamic_lookup",
|
|
]
|