Files

51 lines
1.6 KiB
TOML
Raw Permalink Normal View History

2020-01-28 15:09:10 +01:00
[package]
name = "ctap2"
version = "1.0.0"
2020-01-28 15:09:10 +01:00
authors = [
"Fabian Kaczmarczyck <kaczmarczyck@google.com>",
"Guillaume Endignoux <guillaumee@google.com>",
"Jean-Michel Picod <jmichel@google.com>",
]
license = "Apache-2.0"
edition = "2018"
[dependencies]
2020-07-10 10:39:28 +02:00
libtock_core = { path = "third_party/libtock-rs/core" }
libtock_drivers = { path = "third_party/libtock-drivers" }
lang_items = { path = "third_party/lang-items" }
2021-06-08 11:26:24 +01:00
sk-cbor = { path = "libraries/cbor" }
2020-01-28 15:09:10 +01:00
crypto = { path = "libraries/crypto" }
persistent_store = { path = "libraries/persistent_store" }
2020-01-28 15:09:10 +01:00
byteorder = { version = "1", default-features = false }
arrayref = "0.3.6"
subtle = { version = "2.2", default-features = false, features = ["nightly"] }
2021-11-15 13:09:40 +01:00
# This import explicitly locks the version.
serde_json = { version = "=1.0.69", default-features = false, features = ["alloc"] }
2020-01-28 15:09:10 +01:00
[features]
2020-07-10 10:39:28 +02:00
debug_allocations = ["lang_items/debug_allocations"]
2021-02-02 06:42:49 +01:00
debug_ctap = ["libtock_drivers/debug_ctap"]
2020-07-10 10:39:28 +02:00
panic_console = ["lang_items/panic_console"]
std = ["crypto/std", "lang_items/std", "persistent_store/std"]
2020-07-10 10:39:28 +02:00
verbose = ["debug_ctap", "libtock_drivers/verbose_usb"]
with_ctap1 = ["crypto/with_ctap1"]
2020-10-27 10:05:06 +02:00
with_nfc = ["libtock_drivers/with_nfc"]
2020-01-28 15:09:10 +01:00
[dev-dependencies]
enum-iterator = "0.6.0"
2020-01-28 15:09:10 +01:00
[build-dependencies]
2021-09-15 21:25:19 +02:00
sk-cbor = { path = "libraries/cbor" }
2020-09-14 14:03:57 +02:00
uuid = { version = "0.8", features = ["v4"] }
2021-09-15 21:25:19 +02:00
openssl = "0.10.36"
2020-01-28 15:09:10 +01:00
[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
2021-04-21 11:45:01 +02:00
opt-level = "z"
2021-06-18 14:52:03 +02:00
codegen-units = 1