[package]
edition = "2021"
name = "cro_stem"
version = "0.1.6"
authors = ["Denis Sakač <sdenis.vr@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightning-fast, zero-dependency Croatian stemming library written in Rust."
readme = "README.md"
keywords = [
"nlp",
"croatian",
"stemming",
"rust",
"python",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Ja1Denis/Cro-Stem"
[package.metadata.wasm-pack.profile.release]
wasm-opt = false
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true
[lib]
name = "cro_stem"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[test]]
name = "accuracy_test_10k"
path = "tests/accuracy_test_10k.rs"
[[test]]
name = "accuracy_test_1k"
path = "tests/accuracy_test_1k.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[dependencies.lazy_static]
version = "1.4.0"
[dependencies.pyo3]
version = "0.19.0"
features = ["extension-module"]
optional = true
[dependencies.wasm-bindgen]
version = "0.2"
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0"
[features]
default = []
python = ["dep:pyo3"]