forked from openwsn-berkeley/lakers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
55 lines (45 loc) · 1.87 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[workspace]
members = [
"lib",
"ead/lakers-ead-authz",
"crypto",
"crypto/lakers-crypto-psa",
"crypto/lakers-crypto-rustcrypto",
"crypto/lakers-crypto-cryptocell310-sys",
"examples/coap",
"examples/lakers-no_std",
"examples/lakers-nrf52840",
"lakers-c",
"lakers-python",
]
# reduced "default-members", should include only packages that can be built and
# tested on the host architecture
default-members = [
"lib",
"crypto",
"crypto/lakers-crypto-rustcrypto",
"examples/coap",
]
# according to https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html,
# this needs to be explicitly set if using virtual manifests (like this).
# We need this so dependency crates use it *in all cases*.
# Specifically, `psa-crypto` merges build-dependency and regular dependency
# features without this, causing forced "std" in downstream crate.
resolver = "2"
[workspace.package]
version = "0.7.2"
repository = "https://github.com/openwsn-berkeley/lakers/"
license = "BSD-3-Clause"
readme = "shared/README.md"
keywords = ["iot", "security", "protocol", "crypto", "edhoc"]
categories = [ "no-std::no-alloc", "network-programming", "embedded" ]
[workspace.dependencies]
lakers-shared = { package = "lakers-shared", path = "shared/", version = "^0.7.2" }
lakers-ead-authz = { package = "lakers-ead-authz", path = "ead/lakers-ead-authz/", version = "^0.7.2" }
lakers-crypto = { path = "crypto/" }
lakers-crypto-cryptocell310 = { path = "crypto/lakers-crypto-cryptocell310-sys/" }
lakers-crypto-psa = { path = "crypto/lakers-crypto-psa/" }
lakers-crypto-rustcrypto = { package = "lakers-crypto-rustcrypto", path = "crypto/lakers-crypto-rustcrypto/", version = "^0.7.2" }
lakers = { package = "lakers", path = "lib/", version = "^0.7.2", default-features = false }
[patch.crates-io]
psa-crypto = { git = "https://github.com/malishav/rust-psa-crypto", branch = "baremetal" }