[package]
edition = "2024"
rust-version = "1.90"
name = "replysieve"
version = "0.3.0"
build = false
include = [
"/src/**",
"/data/labeled.jsonl",
"/Cargo.toml",
"/Cargo.lock",
"/README.md",
"/CHANGELOG.md",
"/LICENSE-MIT",
"/LICENSE-APACHE",
"/NOTICE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Judge comments in a fraction of a second: approve, reject or needs-review with a reason, from small decision models on OpenRouter. CLI, HTTP server, MCP server, Rust library and WebAssembly for JavaScript."
documentation = "https://docs.rs/replysieve"
readme = "README.md"
keywords = [
"moderation",
"comments",
"spam",
"mcp",
"openrouter",
]
categories = [
"command-line-utilities",
"text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/zeroonething/replysieve"
[features]
cli = [
"dep:clap",
"dep:tokio",
"dep:axum",
"dep:rmcp",
"dep:schemars",
]
default = ["cli"]
[lib]
name = "replysieve"
path = "src/lib.rs"
[[bin]]
name = "replysieve"
path = "src/main.rs"
required-features = ["cli"]
[dependencies.anyhow]
version = "1.0.104"
[dependencies.axum]
version = "0.8.9"
features = [
"http1",
"json",
"tokio",
]
optional = true
default-features = false
[dependencies.clap]
version = "4.6.7"
features = ["derive"]
optional = true
[dependencies.futures-util]
version = "0.3.34"
[dependencies.log]
version = "0.4.29"
[dependencies.rmcp]
version = "3.9.0"
features = [
"server",
"transport-io",
"macros",
]
optional = true
[dependencies.schemars]
version = "1.2.3"
optional = true
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.154"
[dependencies.tokio]
version = "1.54.1"
features = [
"rt-multi-thread",
"macros",
"net",
"signal",
]
optional = true
[dependencies.toml]
version = "1.2.1"
[dependencies.web-time]
version = "1.1.0"
[dev-dependencies.wiremock]
version = "0.6.5"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
version = "0.13.5"
features = ["json"]
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3.107"
[target.'cfg(target_arch = "wasm32")'.dependencies.serde-wasm-bindgen]
version = "0.6.5"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2.130"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4.80"
[lints.rust]
unsafe_code = "forbid"