[dependencies.anyhow]
version = "1.0.100"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.futures]
version = "0.3.31"
[dependencies.log]
version = "0.4.28"
[dependencies.moka]
features = ["future"]
optional = true
version = "0.12"
[dependencies.reqwest]
features = ["json"]
optional = true
version = "0.12"
[dependencies.serde]
version = "1.0.228"
[dependencies.sqlx]
features = ["runtime-tokio", "tls-native-tls", "postgres"]
optional = true
version = "0.8"
[dependencies.tokio]
features = ["full"]
version = "1.48.0"
[dev-dependencies.axum]
version = "0.8.7"
[dev-dependencies.chrono]
version = "0.4.42"
[dev-dependencies.clap]
features = ["derive"]
version = "4.5.50"
[dev-dependencies.dotenv]
version = "0.15.0"
[dev-dependencies.env_logger]
version = "0.11.8"
[dev-dependencies.reqwest]
features = ["json"]
version = "0.12"
[[example]]
name = "axum"
path = "examples/axum.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "cli"
path = "examples/cli.rs"
[features]
default = ["openai", "in-memory-cache"]
full = ["openai", "in-memory-cache", "postgres"]
in-memory-cache = ["dep:moka"]
openai = ["dep:reqwest"]
postgres = ["dep:sqlx"]
[lib]
name = "semantic_commands"
path = "src/lib.rs"
[package]
authors = ["Kostiantyn Kostiuk (SET001) settydark@gmail.com"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-utilities", "asynchronous", "text-processing"]
description = "A lightweight Rust framework for defining and executing semantic commands using text embeddings"
edition = "2024"
keywords = ["nlp", "semantic", "commands", "embeddings", "bot"]
license = "MIT OR Apache-2.0"
name = "semantic-commands"
readme = "README.md"
repository = "https://github.com/SET001/semantic-commands"
version = "0.1.0"