light-openid/Cargo.toml
Pierre Hubert 1b62a887c8
All checks were successful
continuous-integration/drone/push Build is passing
Add crypto wrapper as an optional dependency
2023-04-28 19:47:22 +02:00

27 lines
846 B
TOML

[package]
name = "light-openid"
version = "0.1.0-alpha"
edition = "2021"
repository = "https://gitea.communiquons.org/pierre/light-openid"
authors = ["Pierre HUBERT <pierre.git@communiquons.org>"]
readme = "README.md"
description = "Lightweight OpenID primitves & client"
license = "GPL-2.0-or-later"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
log = "0.4.17"
reqwest = { version = "0.11.17", features = ["json"] }
base64 = "0.21.0"
serde = { version = "1.0.160", features = ["derive"] }
serde_json = "1.0.96"
urlencoding = "2.1.2"
# Dependencies for crypto wrapper
bincode = { version = "2.0.0-rc.3", optional = true }
aes-gcm = { version = "0.10.1", optional = true }
rand = { version = "0.8.5", optional = true }
[features]
crypto-wrapper = ["bincode", "aes-gcm", "rand"]