Enterprise Features: - Hosted mode with remote sync for team pattern aggregation - Community sharing with privacy-preserving anonymization - LLM-based semantic claim extraction with Gemini integration - Pattern learning with promotion to declarative extractors - High-entropy secrets extractor with configurable thresholds - Auth bypass and insecure cookies extractors Module Refactoring: - Split oversized files to comply with 500-line limit - Config split: types/core.rs, types/extractors.rs, types/hosted.rs, etc. - Handlers split: scan.rs, policy.rs, report.rs modules - Extractors split: declarative/, high_entropy_secrets/, insecure_cookies/ - Learning split: store modules with metrics and persistence SDK & Ontology: - stemedb-ontology SDK with fluent builders and StemeDB client - Pharma domain extractors for FDA Orange Book data - Consumer health UAT test infrastructure Code Quality: - Fixed clippy warnings (needless_borrows_for_generic_args) - Added KVStore trait imports where needed - Fixed utoipa path re-exports for OpenAPI docs Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
65 lines
1.3 KiB
TOML
65 lines
1.3 KiB
TOML
[package]
|
|
name = "stemedb-ontology"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Domain definitions and medical extractors for Episteme"
|
|
|
|
# Inherit workspace lints
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
stemedb-core = { path = "../stemedb-core" }
|
|
|
|
# Async runtime and HTTP client
|
|
tokio = { version = "1", features = ["full"] }
|
|
reqwest = { version = "0.12", features = ["json", "blocking"] }
|
|
async-trait = "0.1"
|
|
|
|
# Serialization
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
|
|
# Error handling
|
|
thiserror = "1.0"
|
|
|
|
# Logging
|
|
tracing = "0.1"
|
|
|
|
# Regex for text extraction
|
|
regex = "1.10"
|
|
|
|
# Hashing
|
|
blake3 = "1.5"
|
|
hex = "0.4"
|
|
|
|
# URL encoding
|
|
urlencoding = "2.1"
|
|
|
|
# Signing
|
|
ed25519-dalek = { version = "2.1", features = ["rand_core"] }
|
|
rand = "0.8"
|
|
|
|
# Retry with backoff
|
|
backoff = { version = "0.4", features = ["tokio"] }
|
|
|
|
# HLC timestamps (must match stemedb-core's version)
|
|
uhlc = "0.7"
|
|
|
|
# CLI dependencies
|
|
clap = { version = "4", features = ["derive", "env"] }
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
comfy-table = "7.1"
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1", features = ["rt", "macros"] }
|
|
tempfile = "3.10"
|
|
|
|
[[bin]]
|
|
name = "pharma-ingest"
|
|
path = "src/bin/pharma_ingest.rs"
|
|
|
|
[[bin]]
|
|
name = "steme-pharma"
|
|
path = "src/bin/steme_pharma.rs"
|