-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
55 lines (49 loc) · 1.37 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
[package]
name = "bankid"
version = "0.2.0"
authors = ["Nicklas Wallgren <nicklas.wallgren@gmail.com>", "Daniel L <https://github.com/dlq84>"]
edition = "2018"
license = "MIT"
readme = "README.md"
description = "BankID API SDK"
homepage = "https://github.com/e-identification/bankid-rs"
repository = "https://github.com/e-identification/bankid-rs"
keywords = ["bankid", "api", "sdk"]
[dependencies]
async-trait = { version = "0.1.81", optional = true }
base64 = "0.22.1"
derive_builder = "0.20.0"
maybe-async = "0.2.10"
reqwest = { version = "0.12.5", default-features = false, features = [
"json",
"socks",
"blocking",
], optional = true }
serde = { version = "1.0.208", features = ["derive"] }
serde_json = "1.0.125"
thiserror = "1.0.63"
url = "2.5.2"
pem = "3.0.4"
openssl = { version = "0.10.66", optional = true }
webpki-roots = "0.26.3"
dyn-clone = "1.0.17"
ring = "0.17.7"
hex = "0.4.3"
[dev-dependencies]
env_logger = "0.11.5"
tokio = { version = "1.39", features = ["full"] }
futures = "0.3.5"
rand = "0.8.3"
[features]
default = ["__async", "reqwest/native-tls"]
async = ["__async", "reqwest/native-tls"]
sync = ["__sync", "reqwest/native-tls"]
# Internal features for checking async or sync compilation
__async = ["async-trait"]
__sync = ["maybe-async/is_sync"]
[[example]]
name = "authenticate"
path = "examples/authenticate.rs"
[[example]]
name = "sign"
path = "examples/sign.rs"