-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
50 lines (44 loc) · 1.51 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
[package]
name = "galileo-osnma"
version = "0.8.0"
edition = "2021"
authors = ["Daniel Estevez <[email protected]>"]
description = "Galileo OSNMA (Open Service Navigation Message Authentication)"
license = "MIT OR Apache-2.0"
homepage = "https://github.com/daniestevez/galileo-osnma/"
repository = "https://github.com/daniestevez/galileo-osnma/"
keywords = ["galileo", "gnss", "osnma", "authentication", "cryptography"]
categories = ["aerospace::space-protocols", "authentication", "embedded", "no-std"]
exclude = ["/.github"]
rust-version = "1.70.0"
[package.metadata]
[features]
default = ["p521"]
# Galmon protobuf transport format support
galmon = ["bytes", "prost", "prost-build", "std"]
std = []
[dependencies]
aes = "0.8"
bitvec = { version = "1", default-features = false }
bytes = { version = "1.1", optional = true }
cmac = "0.7"
crypto-common = "0.1"
ecdsa = "0.16"
generic-array = "1.0"
hmac = "0.12"
log = "0.4"
# These two would bring std with default-features
p256 = { version = "0.13", features = ["ecdsa"], default-features = false }
p521 = { version = "0.13", features = ["ecdsa"], default-features = false, optional = true }
prost = { version = "0.12", optional = true }
# These two bring std with default-features
sha2 = { version = "0.10", default-features = false }
sha3 = { version = "0.10", default-features = false }
signature = "2.2"
typenum = "1.15"
[build-dependencies]
prost-build = { version = "0.12", optional = true }
[dev-dependencies]
hex-literal = "0.4"
[package.metadata.docs.rs]
features = ["galmon"]