-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
54 lines (47 loc) · 1.71 KB
/
Cargo.toml
File metadata and controls
54 lines (47 loc) · 1.71 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
[package]
name = "ironshield-types"
version = "0.2.12"
edition = "2024"
authors = [ "IronShield Developers <software@ironshield.cloud>" ]
description = "Standardized Types, Headers, & Methods for IronShield Bindings"
license = "Apache-2.0"
repository = "https://github.com/IronShield-Tech/types"
readme = "README-crates.md"
keywords = ["proof-of-work", "types", "serialization", "ddos", "firewall"]
categories = ["cryptography", "web-programming", "wasm"]
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
hex = "0.4"
chrono = { version = "0.4", features = ["serde"] }
base64 = "0.22.1"
ed25519-dalek = { version = "2.1", features = ["rand_core"]}
rand = { version = "0.8", features = ["getrandom"] }
# WASM-related 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", "Window", "Navigator"], optional = true }
console_error_panic_hook = { version = "0.1.7", optional = true }
getrandom = { version = "0.2", features = ["js"], optional = true }
# OpenAPI-related dependencies (optional)
utoipa = { version = "5", optional = true }
# PGP parsing
sequoia-openpgp = { version = "1.21", default-features = false, features = ["crypto-nettle"] }
[features]
default = []
wasm = [
"wasm-bindgen",
"serde-wasm-bindgen",
"js-sys",
"web-sys",
"console_error_panic_hook",
"getrandom"
]
wasm-logging = ["wasm", "web-sys"]
openapi = ["utoipa"]
[lib]
name = "ironshield_types"
path = "src/lib.rs"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_analyzer)'] }