[workspace] members = [ ".", "c-api", "qemu-tests", "wycheproof/parser", "wycheproof/macros", "wycheproof/types", ] [workspace.package] authors = ["The Salty Engineers"] edition = "2021" homepage = "https://github.com/ycrypto/salty" license = "Apache-2.0 OR MIT" readme = "README.md" repository = "https://github.com/ycrypto/salty" version = "0.3.0" [package] name = "salty" description = "Small, sweet, swift Ed25519 signatures for microcontrollers" keywords = ["no-std", "NaCl", "Ed25519", "cryptography", "signatures"] version.workspace = true authors.workspace = true edition.workspace = true homepage.workspace = true license.workspace = true readme.workspace = true repository.workspace = true [workspace.dependencies] salty = { path = "." } wycheproof-macros = { path = "wycheproof/macros" } wycheproof-parser = { path = "wycheproof/parser" } wycheproof-types = { path = "wycheproof/types" } cosey = { version = "0.3" } ed25519 = { version = "2.2", default-features = false } hex = "0.4" hex-literal = "0.4" hex-serde = "0.1" panic-halt = "0.2" proc-macro2 = "1" quote = "1" serde = { version = "1", features = ["derive"] } serde_json = "1" syn = { version = "2", features = ["full"] } subtle = { version = "2.4", default-features = false } zeroize = { version = "1.6", default-features = false, features = ["zeroize_derive"] } [dependencies] subtle.workspace = true zeroize.workspace = true cosey = { workspace = true, optional = true} ed25519 = { workspace = true, optional = true} [dev-dependencies] hex.workspace = true hex-literal.workspace = true wycheproof-macros.workspace = true wycheproof-types.workspace = true [features] default = ["rustcrypto"] slow-motion = [] cose = ["cosey"] rustcrypto = ["ed25519"] [profile.release.package.salty-c-api] codegen-units = 1 debug = true # using `lto = true` leads to # warning: Linking globals named 'salty_public_key': symbol multiply defined! # error: failed to load bc of "salty.2a057q60-cgu.0": # lto = "thin" opt-level = "s" [profile.release.package.qemu-tests] codegen-units = 1 debug = true # lto = true opt-level = "z"