File: Cargo.toml

package info (click to toggle)
glome 0.3.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 712 kB
  • sloc: ansic: 2,468; python: 508; sh: 149; makefile: 20
file content (45 lines) | stat: -rw-r--r-- 1,086 bytes parent folder | download
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
[package]
name = "glome"
version = "0.3.0"
edition = "2021"

description = "Generic low-overhead message exchange with cryptographic integrity protection"
repository = "https://github.com/google/glome"
license = "Apache-2.0"
categories = ["authentication", "cryptography", "no-std"]

[features]
default = [ "dalek" ]
dalek = [ "dep:x25519-dalek" ]
openssl = [ "dep:openssl" ]
cli = [ "dep:base64", "dep:clap" ]

[dependencies]
# lib
sha2 = "0.10"
hmac = "0.12"
x25519-dalek = { version = "2.0", features = ["getrandom", "static_secrets"], optional = true }
openssl = { version = "0.10", optional = true }

# cli
base64 = { version = "0.22", optional = true }
clap = { version = "4", features = ["derive"], optional = true}

[dev-dependencies]
# test
hex = "0.4"
hex-literal = "0.3"
tempfile = "3.14.0"
yaml-rust2 = "0.9"

[lib]
name = "glome"
path = "rust/src/lib.rs"

[[bin]]
name = "glome"
path = "rust/src/cli/bin.rs"

# The binary has more dependencies than the library. We allow skipping the binary and its
# dependencies by hiding it behind a feature.
required-features = ["cli"]