-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
39 lines (32 loc) · 1.52 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
[package]
name = "trussed-usbip"
version = "0.0.1"
authors = ["Nicolas Stalder <[email protected]>", "Conor Patrick <[email protected]>", "Szczepan Zalega <[email protected]>"]
edition = "2021"
[dependencies]
interchange = "0.3.0"
log = { version = "0.4.14", default-features = false }
trussed = { version = "0.1", features = ["log-all", "virt"] }
usb-device = { version = "0.2.7", default-features = false }
usbip-device = "0.1.5"
# ctaphid
ctaphid-dispatch = { version = "0.1", features = ["log-all"], optional = true }
usbd-ctaphid = { version = "0.1", features = ["log-all"], optional = true }
# ccid
apdu-dispatch = { version = "0.3", optional = true }
usbd-ccid = { version = "0.3", features = ["log-all"], optional = true }
[dev-dependencies]
clap = { version = "3.0.0", features = ["derive"] }
clap-num = "1.0.0"
delog = { version = "0.1.6", features = ["std-log"] }
pretty_env_logger = "0.4.0"
trussed = { version = "0.1", features = ["clients-1"] }
[features]
default = ["ctaphid", "ccid"]
ctaphid = ["ctaphid-dispatch", "usbd-ctaphid"]
ccid = ["apdu-dispatch", "usbd-ccid"]
[patch.crates-io]
trussed = { git = "https://github.com/trussed-dev/trussed.git", rev = "51e68500d7601d04f884f5e95567d14b9018a6cb" }
usbd-ctaphid = { git = "https://github.com/trussed-dev/usbd-ctaphid", rev = "e9cbf904f548979685c4c06d75479b75e3695160" }
usbd-ccid = { git = "https://github.com/trussed-dev/usbd-ccid", tag = "0.3.0" }
ctaphid-dispatch = { git = "https://github.com/trussed-dev/ctaphid-dispatch", rev = "57cb3317878a8593847595319aa03ef17c29ec5b" }