Files
trussed-rsa-backend/Cargo.toml
T

71 lines
1.7 KiB
TOML

# Copyright (C) Nitrokey GmbH
# SPDX-License-Identifier: CC0-1.0
[workspace]
members = ["types"]
[workspace.package]
authors = ["Nitrokey GmbH <info@nitrokey.com>"]
edition = "2021"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/trussed-dev/trussed-rsa-backend"
[workspace.dependencies]
heapless-bytes = "0.5"
trussed-core = "0.2"
[package]
name = "trussed-rsa-alloc"
version = "0.4.0"
description = "Trussed backend adding support for the RSA algorithm using an allocator"
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
rust-version = "1.66"
keywords = ["trussed", "rsa", "no-std"]
[dependencies]
heapless-bytes.workspace = true
delog = "0.1.6"
num-bigint-dig = { version = "0.8.2", default-features = false }
rsa = { version = "0.9", default-features = false, features = ["sha2"]}
trussed = { version = "0.1", default-features = false }
trussed-core = { workspace = true, features = ["crypto-client", "rsa2048", "rsa3072", "rsa4096"] }
trussed-rsa-types = "0.2"
[dev-dependencies]
hex-literal = "0.3.4"
delog = { version = "0.1.6", features = ["std-log"] }
test-log = "0.2.11"
env_logger = "0.10.0"
rand = "0.8.5"
trussed = { version = "0.1", default-features = false, features = ["certificate-client", "crypto-client"] }
[features]
virt = ["std", "trussed/virt"]
std = []
# Add support for raw RSA keys
raw = ["rsa/hazmat"]
log-all = []
log-none = []
log-trace = []
log-info = []
log-debug = []
log-warn = []
log-error = []
[patch.crates-io]
trussed = { git = "https://github.com/trussed-dev/trussed.git", rev = "0b65280d69be541b8771f7756139826332c7d674" }
trussed-rsa-types.path = "types"
[profile.dev.package.rsa]
opt-level = 2
[profile.dev.package.num-bigint-dig]
opt-level = 2