Ctrl K
ComunidadGuías…

crates/defguard_common/Cargo.toml

Rama stable/2.x · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
[package]
name = "defguard_common"
version = "2.2.0"
edition.workspace = true
license-file.workspace = true
homepage.workspace = true
repository.workspace = true
rust-version.workspace = true

[dependencies]
model_derive.workspace = true

anyhow.workspace = true
defguard_certs.workspace = true
argon2.workspace = true
base32.workspace = true
base64.workspace = true
chrono.workspace = true
claims.workspace = true
clap.workspace = true
ctap-hid-fido2.workspace = true
ed25519-dalek.workspace = true
getrandom.workspace = true
humantime.workspace = true
ipnetwork.workspace = true
jsonwebtoken.workspace = true
openidconnect.workspace = true
rand.workspace = true
reqwest.workspace = true
rsa.workspace = true
secrecy.workspace = true
sha2.workspace = true
serde.workspace = true
serde_cbor.workspace = true
serde_json.workspace = true
sqlx.workspace = true
struct-patch.workspace = true
thiserror.workspace = true
tokio.workspace = true
totp-lite.workspace = true
tracing.workspace = true
utoipa = { workspace = true, optional = true }
uuid.workspace = true
webauthn-rs.workspace = true
x25519-dalek.workspace = true
url = "2.5"

[features]
default = ["openapi"]

# Derive `utoipa::ToSchema` for the API types defined here, so that
# `defguard_core` can build an OpenAPI specification out of them.
openapi = ["dep:utoipa"]

# Test-only helpers (e.g. the mock SMTP server) meant to be shared with other
# crates' test suites. Enable via `[dev-dependencies]` so it never reaches
# production builds.
test-support = ["tokio/net", "tokio/io-util"]

[dev-dependencies]

[build-dependencies]
vergen-git2 = "10.0"