[package]
edition = "2021"
name = "fasttext"
version = "0.8.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "fastText pure Rust implementation"
readme = "README.md"
keywords = [
"fastText",
"text",
"classify",
]
categories = [
"text-processing",
"science",
]
license = "MIT"
repository = "https://github.com/messense/fasttext-rs"
[features]
cli = ["clap"]
[lib]
name = "fasttext"
path = "src/lib.rs"
[[bin]]
name = "fasttext"
path = "src/main.rs"
required-features = ["cli"]
[[test]]
name = "test_args"
path = "tests/test_args.rs"
[[test]]
name = "test_cpp_parity"
path = "tests/test_cpp_parity.rs"
[[test]]
name = "test_dictionary"
path = "tests/test_dictionary.rs"
[[test]]
name = "test_inference"
path = "tests/test_inference.rs"
[[test]]
name = "test_model_io"
path = "tests/test_model_io.rs"
[[test]]
name = "test_quantize"
path = "tests/test_quantize.rs"
[[test]]
name = "test_training"
path = "tests/test_training.rs"
[[bench]]
name = "bench_comparison"
path = "benches/bench_comparison.rs"
harness = false
[dependencies.clap]
version = "4"
features = ["derive"]
optional = true
[dependencies.rayon]
version = "1"
[dependencies.thiserror]
version = "2"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.expect-test]
version = "1"