-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
66 lines (52 loc) · 1.8 KB
/
Cargo.toml
File metadata and controls
66 lines (52 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[package]
name = "scanbridge"
version = "0.3.0"
edition = "2021"
rust-version = "1.70"
authors = ["Scanbridge Contributors"]
description = "A unified, pluggable API for malware scanning with circuit breakers, policy enforcement, and audit logging"
license = "MIT"
repository = "https://github.com/dotdon/scanbridge"
homepage = "https://github.com/dotdon/scanbridge"
documentation = "https://docs.rs/scanbridge"
keywords = ["malware", "antivirus", "scanning", "security", "clamav"]
categories = ["api-bindings", "asynchronous"]
readme = "README.md"
exclude = ["target/", ".git/", ".github/"]
[features]
default = ["tokio-runtime"]
tokio-runtime = ["tokio"]
clamav = []
virustotal = ["reqwest"]
[dependencies]
# Core async support (runtime-agnostic)
async-trait = "0.1"
# Error handling
thiserror = "2"
# Structured logging/tracing
tracing = "0.1"
# Fast hashing for deduplication
blake3 = "1"
# Optional legacy hashes for external API compatibility
sha2 = { version = "0.10", optional = true }
md-5 = { version = "0.10", optional = true }
# Time and serialization
chrono = { version = "0.4", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Async runtime (optional, for tokio users)
tokio = { version = "1", features = ["io-util", "sync", "time", "fs", "rt"], optional = true }
# Secret handling for API keys
secrecy = { version = "0.10", features = ["serde"] }
# HTTP client for cloud APIs (optional)
reqwest = { version = "0.12", features = ["json"], optional = true }
# UUID for identifiers
uuid = { version = "1", features = ["v4", "serde"] }
# Pin for async streams
pin-project-lite = "0.2"
# Futures utilities
futures = "0.3"
[dev-dependencies]
tokio = { version = "1", features = ["full", "test-util"] }
tracing-subscriber = { version = "0.3", features = ["json"] }
tempfile = "3"