[package] name = "crypto" version = "0.1.0" authors = [ "Fabian Kaczmarczyck ", "Guillaume Endignoux ", "Jean-Michel Picod ", ] license = "Apache-2.0" edition = "2018" [dependencies] libtock_drivers = { path = "../../third_party/libtock-drivers" } arrayref = "0.3.6" subtle = { version = "2.2.3", default-features = false, features = ["nightly"] } byteorder = { version = "1", default-features = false } hex = { version = "0.3.2", default-features = false, optional = true } ring = { version = "0.16.11", optional = true } untrusted = { version = "0.7.0", 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 = ["hex", "rand", "ring", "untrusted", "serde", "serde_json", "regex"] with_ctap1 = []