[[bench]]
harness = false
name = "classifier_benchmark"
path = "benches/classifier_benchmark.rs"
[[bin]]
name = "prefrontal_bin"
path = "src/rust/main.rs"
[build-dependencies.cbindgen]
version = "0.26"
[dependencies.anyhow]
version = "1.0"
[dependencies.cbindgen]
version = "0.26"
[dependencies.clap]
features = ["derive"]
version = "4.5"
[dependencies.dirs]
version = "6.0.0"
[dependencies.env_logger]
version = "0.11"
[dependencies.lazy_static]
version = "1.4"
[dependencies.log]
version = "0.4"
[dependencies.ndarray]
version = "0.16"
[dependencies.ort]
version = "2.0.0-rc.9"
[dependencies.reqwest]
features = ["json"]
version = "0.12.12"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.sha2]
version = "0.10.8"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokenizers]
version = "0.15"
[dependencies.tokio]
features = ["full"]
version = "1.36"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.tokio]
features = ["full", "test-util"]
version = "1.36"
[dev-dependencies.tokio-test]
version = "0.4"
[features]
default = []
[lib]
crate-type = ["cdylib", "rlib"]
name = "prefrontal"
path = "src/rust/lib.rs"
[package]
authors = ["Anupom Syam <anupom.syam@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["text-processing", "parsing", "algorithms"]
description = "A blazing fast text classifier for real-time agent routing, built in Rust"
documentation = "https://docs.rs/prefrontal"
edition = "2021"
homepage = "https://axar.ai"
keywords = ["llm", "classification", "machine-learning", "nlp", "agent"]
license = "Apache-2.0"
name = "prefrontal"
readme = "README.md"
repository = "https://github.com/axar-ai/prefrontal"
version = "0.1.0"
[profile.dev]
panic = "unwind"
[profile.release]
codegen-units = 1
lto = true
opt-level = 3
strip = true
[[test]]
name = "classifier_test"
path = "tests/classifier_test.rs"
[[test]]
name = "model_manager_test"
path = "tests/model_manager_test.rs"
[[test]]
name = "validation_test"
path = "tests/validation_test.rs"