forked from jedisct1/rust-jwt-simple
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
50 lines (44 loc) · 1.34 KB
/
Cargo.toml
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
[package]
name = "jwt-simple"
version = "0.11.0"
description = "Easy to use, secure, non opinionated JWT (JSON Web Tokens) implementation for Rust."
authors = ["Frank Denis <[email protected]>"]
edition = "2018"
license = "ISC"
repository = "https://github.com/jedisct1/rust-jwt-simple"
homepage = "https://github.com/jedisct1/rust-jwt-simple"
categories = ["wasm", "api-bindings", "web-programming", "cryptography"]
keywords = ["jwt", "jws", "authentication", "tokens", "json"]
readme = "README.md"
[dependencies]
anyhow = "1.0"
binstring = "0.1"
ciborium = { version = "0.2", optional = true }
coarsetime = "0.1"
ct-codecs = "1"
ed25519-compact = { version = "1.0.0", features = ["pem"] }
hmac-sha1-compact = "1.0.0"
hmac-sha256 = { version = "1.1.1", features = ["traits09"] }
hmac-sha512 = { version = "1.1.1", features = ["traits09", "sha384"] }
k256 = { version = "0.10.0", features = ["ecdsa", "std", "pkcs8", "pem"] }
p256 = { version = "0.10.0", features = ["ecdsa", "std", "pkcs8", "pem"] }
rand = "0.8"
rsa = "0.5"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
zeroize = "1.4"
[dev-dependencies]
benchmark-simple = "0.1.7"
[features]
cwt = ["ciborium"]
[[bench]]
name = "benchmark"
harness = false
[profile.release]
codegen-units = 1
incremental = false
panic = "abort"
lto = "fat"
[profile.bench]
codegen-units = 1