66 lines
2.1 KiB
TOML
66 lines
2.1 KiB
TOML
[package]
|
|
name = "twofauth-rs"
|
|
version = "0.3.0"
|
|
edition = "2024"
|
|
license = "AGPL-3.0-only"
|
|
description = "Rust compatibility implementation targeting 2FAuth 8.0.3"
|
|
|
|
[dependencies]
|
|
axum = { version = "0.8", features = ["macros", "multipart"] }
|
|
tokio = { version = "1", features = ["full"] }
|
|
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio", "sqlite", "chrono"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = { version = "1", features = ["preserve_order"] }
|
|
serde_urlencoded = "0.7"
|
|
anyhow = "1"
|
|
thiserror = "2"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
tower = { version = "0.5", features = ["util"] }
|
|
tower-http = { version = "0.6", features = ["trace", "limit", "set-header", "fs"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
dotenvy = "0.15"
|
|
clap = { version = "4", features = ["derive", "env"] }
|
|
hmac = "0.12"
|
|
sha1 = "0.10"
|
|
sha2 = { version = "0.10", features = ["oid"] }
|
|
rsa = "0.9"
|
|
md-5 = "0.10"
|
|
data-encoding = "2"
|
|
url = "2"
|
|
percent-encoding = "2"
|
|
aes = "0.8"
|
|
cbc = { version = "0.1", features = ["alloc", "block-padding"] }
|
|
base64 = "0.22"
|
|
rand = "0.8"
|
|
hex = "0.4"
|
|
bcrypt = "0.17"
|
|
argon2 = "0.5"
|
|
subtle = "2"
|
|
zeroize = "1"
|
|
qrcode = { version = "0.14", default-features = false, features = ["svg"] }
|
|
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "gif", "bmp", "webp", "ico"] }
|
|
rqrr = "0.10"
|
|
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "json"] }
|
|
roxmltree = "0.20"
|
|
regex = "1"
|
|
pcre2 = "0.2"
|
|
chrono-tz = "0.10"
|
|
|
|
webauthn-rs-core = "=0.5.4"
|
|
webauthn-rs = { version = "=0.5.4", default-features = false, features = ["danger-credential-internals", "danger-allow-state-serialisation", "danger-user-presence-only-security-keys"] }
|
|
openssl = { version = "0.10", features = ["vendored"] }
|
|
serde_cbor_2 = "0.13"
|
|
|
|
lettre = { version = "0.11", default-features = false, features = ["builder", "smtp-transport", "sendmail-transport", "tokio1-rustls-tls"] }
|
|
|
|
jsonwebtoken = { version = "9", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|
|
http-body-util = "0.1"
|
|
|
|
[profile.release]
|
|
lto = false
|
|
strip = true
|