[package]
edition = "2024"
rust-version = "1.94.0"
name = "stygian-plugin"
version = "0.14.0"
authors = ["Nick Campbell <s0ma@protonmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Visual data extraction fallback subsystem with CSS/XPath selectors, idempotent request handling, and composable transformation pipelines."
readme = "README.md"
keywords = [
"extraction",
"scraping",
"selector",
"dom",
"template",
]
categories = [
"web-programming",
"text-processing",
]
license = "AGPL-3.0-only OR LicenseRef-Commercial"
repository = "https://github.com/greysquirr3l/stygian"
resolver = "2"
[features]
default = []
graph-integration = ["stygian-graph"]
http = [
"axum",
"tower-http",
"tower",
]
javascript = []
[lib]
name = "stygian_plugin"
path = "src/lib.rs"
[[bin]]
name = "stygian-plugin-mcp"
path = "src/bin/mcp_server.rs"
required-features = []
[[example]]
name = "basic_extraction"
path = "examples/basic_extraction.rs"
[[test]]
name = "comprehensive_tests"
path = "tests/comprehensive_tests.rs"
[[test]]
name = "fallback_chain_integration"
path = "tests/fallback_chain_integration.rs"
[[test]]
name = "http_transport"
path = "tests/http_transport.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "reliability_integration"
path = "tests/reliability_integration.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
features = ["macros"]
optional = true
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.regex]
version = "1.10"
[dependencies.scraper]
version = "0.27"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.stygian-graph]
version = "0.14.0"
optional = true
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.49"
features = ["full"]
[dependencies.tower]
version = "0.5"
optional = true
[dependencies.tower-http]
version = "0.7"
features = [
"cors",
"trace",
]
optional = true
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.ulid]
version = "1.1"
features = ["serde"]
[dependencies.uuid]
version = "1.0"
features = [
"v4",
"serde",
]
[dev-dependencies.reqwest]
version = "0.13"
features = ["json"]
[dev-dependencies.tempfile]
version = "3.8"
[dev-dependencies.tokio-test]
version = "0.4"
[lints.clippy]
multiple_crate_versions = "allow"