11# Copyright (C) Nitrokey GmbH
22# SPDX-License-Identifier: CC0-1.0
33
4+ [workspace ]
5+ members = [" types" ]
6+
7+ [workspace .package ]
8+ authors = [
" Nitrokey GmbH <[email protected] >" ]
9+ edition = " 2021"
10+ license = " Apache-2.0 OR MIT"
11+ repository = " https://github.com/trussed-dev/trussed-rsa-backend"
12+
13+ [workspace .dependencies ]
14+ heapless-bytes = " 0.5"
15+ trussed-core = " 0.1"
16+
417[package ]
518name = " trussed-rsa-alloc"
619version = " 0.3.0"
7- edition = " 2021"
820description = " Trussed backend adding support for the RSA algorithm using an allocator"
9- authors = [
" Nitrokey GmbH <[email protected] >" ]
10- license = " Apache-2.0 OR MIT"
21+ edition.workspace = true
22+ authors.workspace = true
23+ license.workspace = true
24+ repository.workspace = true
1125rust-version = " 1.66"
1226keywords = [" trussed" , " rsa" , " no-std" ]
1327
1428[dependencies ]
29+ heapless-bytes.workspace = true
1530delog = " 0.1.6"
16- heapless-bytes = " 0.3.0"
1731num-bigint-dig = { version = " 0.8.2" , default-features = false }
18- postcard = { version = " 0.7" , default-features = false , features = [" heapless" ] }
1932rsa = { version = " 0.9" , default-features = false , features = [" sha2" ]}
20- serde = { version = " 1.0.152" , default-features = false , features = [" derive" ] }
2133
2234trussed = { version = " 0.1" , default-features = false }
23- trussed-core = { version = " 0.1.0-rc.1" , features = [" crypto-client" , " rsa2048" , " rsa3072" , " rsa4096" ] }
35+ trussed-core = { workspace = true , features = [" crypto-client" , " rsa2048" , " rsa3072" , " rsa4096" ] }
36+ trussed-rsa-types = " 0.1"
2437
2538[dev-dependencies ]
2639hex-literal = " 0.3.4"
@@ -29,10 +42,10 @@ delog = { version = "0.1.6", features = ["std-log"] }
2942test-log = " 0.2.11"
3043env_logger = " 0.10.0"
3144rand = " 0.8.5"
32- trussed = { version = " 0.1" , default-features = false , features = [" certificate-client" , " clients-1 " , " crypto-client" ] }
45+ trussed = { version = " 0.1" , default-features = false , features = [" certificate-client" , " crypto-client" ] }
3346
3447[features ]
35-
48+ default = [ " virt " ]
3649virt = [" std" , " trussed/virt" ]
3750std = []
3851
@@ -48,7 +61,12 @@ log-warn = []
4861log-error = []
4962
5063[patch .crates-io ]
51- trussed = { git = " https://github.com/trussed-dev/trussed.git" , rev = " 6bba8fde36d05c0227769eb63345744e87d84b2b" }
64+ trussed = { git = " https://github.com/trussed-dev/trussed.git" , rev = " 1e7b09a983dc8ae64a7ad8401ce541a9a77e5939" }
65+ trussed-core = { git = " https://github.com/trussed-dev/trussed.git" , rev = " 1e7b09a983dc8ae64a7ad8401ce541a9a77e5939" }
66+ littlefs2 = { git = " https://github.com/trussed-dev/littlefs2.git" , rev = " e9d3a1ca98f80e92cd20ee9b94707067810b9036" }
67+ littlefs2-core = { git = " https://github.com/trussed-dev/littlefs2.git" , rev = " e9d3a1ca98f80e92cd20ee9b94707067810b9036" }
68+ littlefs2-sys = { git = " https://github.com/trussed-dev/littlefs2-sys" , rev = " v0.3.1-nitrokey.1" }
69+ trussed-rsa-types.path = " types"
5270
5371[profile .dev .package .rsa ]
5472opt-level = 2
0 commit comments