46 lines
1.3 KiB
TOML
46 lines
1.3 KiB
TOML
[package]
|
|
name = "ctap2"
|
|
version = "0.1.0"
|
|
authors = [
|
|
"Fabian Kaczmarczyck <kaczmarczyck@google.com>",
|
|
"Guillaume Endignoux <guillaumee@google.com>",
|
|
"Jean-Michel Picod <jmichel@google.com>",
|
|
]
|
|
license = "Apache-2.0"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
libtock_core = { path = "third_party/libtock-rs/core" }
|
|
libtock_drivers = { path = "third_party/libtock-drivers" }
|
|
lang_items = { path = "third_party/lang-items" }
|
|
cbor = { path = "libraries/cbor" }
|
|
crypto = { path = "libraries/crypto" }
|
|
byteorder = { version = "1", default-features = false }
|
|
arrayref = "0.3.6"
|
|
subtle = { version = "2.2", default-features = false, features = ["nightly"] }
|
|
|
|
[features]
|
|
debug_allocations = ["lang_items/debug_allocations"]
|
|
debug_ctap = ["crypto/derive_debug", "libtock_drivers/debug_ctap"]
|
|
panic_console = ["lang_items/panic_console"]
|
|
std = ["cbor/std", "crypto/std", "crypto/derive_debug", "lang_items/std"]
|
|
ram_storage = []
|
|
verbose = ["debug_ctap", "libtock_drivers/verbose_usb"]
|
|
with_ctap1 = ["crypto/with_ctap1"]
|
|
with_ctap2_1 = []
|
|
|
|
[dev-dependencies]
|
|
elf2tab = "0.4.0"
|
|
enum-iterator = "0.6.0"
|
|
|
|
[build-dependencies]
|
|
openssl = "0.10"
|
|
|
|
[profile.dev]
|
|
panic = "abort"
|
|
lto = true # Link Time Optimization usually reduces size of binaries and static libraries
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
lto = true # Link Time Optimization usually reduces size of binaries and static libraries
|