-
Notifications
You must be signed in to change notification settings - Fork 12
/
Cargo.toml
88 lines (72 loc) · 1.94 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[package]
name = "pasetors"
version = "0.7.1" # Update html_root_url in lib.rs along with this.
authors = ["brycx <[email protected]>"]
edition = "2018"
description = "PASETO: Platform-Agnostic Security Tokens (in Rust)"
keywords = ["cryptography", "crypto", "token", "paseto", "authentication"]
categories = ["cryptography", "authentication"]
readme = "README.md"
repository = "https://github.com/brycx/pasetors"
documentation = "https://docs.rs/pasetors"
license = "MIT"
rust-version = "1.80.0" # Update CI test along with this.
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dev-dependencies]
hex = "0.4.2"
serde_json = "1.0.41"
serde = { version = "1.0", features = ["derive"] }
[dependencies.ed25519-compact]
version = "2.0.2"
default-features = false
features = ["random"]
optional = true
[dependencies.orion]
version = "0.17.0"
default-features = false
optional = true
[dependencies.getrandom]
version = "0.2"
features = ["js"]
[dependencies.ct-codecs]
version = "1.1.1"
default-features = false
[dependencies.zeroize]
version = "1.4.1"
default-features = false
[dependencies.serde_json]
version = "1.0.41"
optional = true
[dependencies.time]
version = "0.3"
features = ["parsing", "formatting"]
optional = true
[dependencies.subtle]
version = "2.4.1"
default-features = false
[dependencies.regex]
version = "1.5.5"
optional = true
[dependencies.p384]
version = "0.13.0"
optional = true
[dependencies.rand_core]
version = "0.6.3"
default-features = false
features = ["getrandom"]
optional = true
[dependencies.sha2]
version = "0.10.2"
optional = true
[dependencies.serde]
version = "1.0.145"
optional = true
[features]
default = ["std", "v4", "paserk"]
std = ["serde_json", "time", "regex"]
v2 = ["orion", "ed25519-compact"]
v3 = ["rand_core", "p384", "sha2"]
v4 = ["orion", "ed25519-compact"]
paserk = ["orion"]