[package] name = "crypto" version = "0.1.0" authors = [ "Fabian Kaczmarczyck ", "Guillaume Endignoux ", "Jean-Michel Picod ", ] license = "Apache-2.0" edition = "2018" [dependencies] libtock = { path = "../../third_party/libtock-rs" } cbor = { path = "../cbor" } arrayref = "0.3.6" subtle = { version = "2.2", default-features = false, features = ["nightly"] } byteorder = { version = "1", default-features = false } hex = { version = "0.3.2", default-features = false, optional = true } ring = { version = "0.14.6", optional = true } untrusted = { version = "0.6.2", optional = true } rand = { version = "0.6.5", optional = true } serde = { version = "1.0", optional = true, features = ["derive"] } serde_json = { version = "1.0", optional = true } regex = { version = "1", optional = true } [features] std = ["cbor/std", "hex", "rand", "ring", "untrusted", "serde", "serde_json", "regex"] derive_debug = [] with_ctap1 = []