warden-worker/Cargo.toml

57 lines
1.4 KiB
TOML

[package]
name = "warden-worker"
version = "0.3.0"
edition = "2021"
authors = ["qaz741wsd856"]
[package.metadata.release]
release = false
[lib]
crate-type = ["cdylib"]
[profile.release]
lto = true
codegen-units = 1
[dependencies]
# Worker & Web APIs
worker = { version = "0.7.1", features = ["axum", "http", "d1"] }
worker-macros = { version = "0.7.1", features = ['http'] }
wasm-bindgen = "0.2"
js-sys = "0.3"
wasm-bindgen-futures = "0.4"
web-sys = { version = "0.3", features = ["Crypto", "CryptoKey", "SubtleCrypto", "WorkerGlobalScope"] }
console_error_panic_hook = "0.1.7"
wasm-streams = "0.4"
# Axum and Routing
axum = { version = "0.8", default-features = false, features=["json", "macros", "form", "multipart", "query"] }
tower-service = "0.3"
tower-http = { version = "0.5", features = ["cors"] }
bytes = "1"
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
# Data & Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Crypto & Encoding
jsonwebtoken = "9.2"
base64 = "0.21"
base32 = "0.5"
pbkdf2 = "0.12"
sha2 = "0.10"
hex = "0.4"
rand = { version = "0.8" }
getrandom = { version = "0.3", features = ["wasm_js"] }
constant_time_eq = "0.3"
# Utilities
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1.6", features = ["v4", "serde", "rng-rand"] }
log = "0.4"
thiserror = "1.0"
once_cell = "1.19"
console_log = "1.0.0"
glob-match = "0.2"