-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
49 lines (44 loc) · 1.35 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
[package]
name = "ssp"
version = "0.5.4"
edition = "2021"
authors = ["SSP Rust Developers"]
description = "Messages and related types for implementing the SSP/eSSP serial communication protocol"
keywords = ["no-std", "serial", "ssp", "bill-acceptor", "bill-validator"]
categories = ["no-std"]
repository = "https://github.com/ssp-rs/ssp"
license = "MIT"
[dependencies]
bitfield = "0.14"
heapless = "0.7"
log = { version = "0.4", default-features = false }
aes = { version = "0.8.2" }
num-bigint = { version = "0.4", default-features = false }
num-traits = { version = "0.2", default-features = false }
parking_lot = "0.12"
pbkdf2 = "0.12"
rand = "0.8"
rand_chacha = "0.3"
serialport = { version = "4.2", default-features = false, optional = true }
sha2 = "0.10"
zeroize = { version = "1.6", features = ["zeroize_derive"] }
currency-iso4217 = { version = "0.1", features = ["serde"] }
paste = "1.0"
[dependencies.serde]
version = "1.0"
default-features = false
features = ["alloc", "derive"]
[dependencies.serde_json]
version = "1.0"
default-features = false
features = ["alloc"]
optional = true
[dependencies.smol-jsonrpc]
version = "0.2"
optional = true
[features]
default = ["nv200"]
std = ["log/std", "rand/std", "rand/std_rng", "serde/std", "serde_json/std", "serialport", "smol-jsonrpc/std"]
nv200 = []
jsonrpc = ["serde_json", "smol-jsonrpc"]
jsonrpc-std = ["jsonrpc", "std"]