-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
47 lines (42 loc) · 1.49 KB
/
Cargo.toml
File metadata and controls
47 lines (42 loc) · 1.49 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
[package]
name = "ironshield-core"
version = "0.3.22"
edition = "2021"
authors = [ "IronShield Developers <software@ironshield.cloud>" ]
description = "Enterprise-Grade Edge-Native Scraping & L7 DDoS Firewall with Stateless PoW, Bot Fingerprinting, and Origin-Shielding"
repository = "https://github.com/IronShield-Tech/core"
license = "Apache-2.0"
readme = "README-crates.md"
keywords = ["proof-of-work", "pow", "ddos", "firewall", "crypto"]
categories = ["cryptography", "algorithms", "concurrency"]
[dependencies]
ironshield-types = { version = "0.2", path = "../types" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
hex = "0.4"
chrono = { version = "0.4", features = ["serde"] }
sha2 = "0.10"
base64 = "0.22.1"
rayon = { version = "1.8", optional = true }
# WASM-specific dependencies (optional)
wasm-bindgen = { version = "0.2.100", features = ["serde-serialize"], optional = true }
serde-wasm-bindgen = { version = "0.6.5", optional = true }
js-sys = { version = "0.3", optional = true }
web-sys = { version = "0.3", features = ["console"], optional = true }
console_error_panic_hook = { version = "0.1", optional = true }
getrandom = { version = "0.2", features = ["js"], optional = true }
[lib]
name = "ironshield_core"
path = "src/lib.rs"
[features]
default = []
wasm = [
"wasm-bindgen",
"serde-wasm-bindgen",
"js-sys",
"web-sys",
"console_error_panic_hook",
"getrandom",
]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_analyzer)'] }