# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "trezor-crypto-lib" version = "0.1.1" description = "A rust implementation of the trezor crypto library" readme = "README.md" keywords = [ "cryptography", "crypto", "donna", "dalek", "ed25519", ] categories = [ "cryptography", "no-std", ] license = "BSD-3-Clause" repository = "https://github.com/ryankurte/rust-trezor-crypto" resolver = "2" [lib] [dependencies.cty] version = "0.2.2" [dependencies.curve25519-dalek] version = "3.2.1" default_features = false [dependencies.ed25519-dalek] version = "1.0.1" default_features = false [dependencies.getrandom] version = "0.2.6" default_features = false [dependencies.sha2] version = "0.10.2" default_features = false [dependencies.static_assertions] version = "1.1.0" [dependencies.x25519-dalek] version = "1.2.0" default_features = false [dev-dependencies.base64] version = "0.13.0" [dev-dependencies.hex] version = "0.4.3" [dev-dependencies.libc] version = "0.2.126" [dev-dependencies.rand_core] version = "0.5.1" features = ["std"] [build-dependencies.anyhow] version = "1.0.57" [build-dependencies.bindgen] version = "0.59.2" [build-dependencies.cc] version = "1.0.73" [build-dependencies.glob] version = "0.3.0" [features] build_donna = [] default = [ "std", "u32_backend", "build_donna", ] std = [] u32_backend = [ "ed25519-dalek/u32_backend", "curve25519-dalek/u32_backend", "x25519-dalek/u32_backend", ]