-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
78 lines (68 loc) · 1.65 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[package]
name = "bertie"
version = "0.1.0-pre.2"
authors = ["Karthikeyan Bhargavan <[email protected]>"]
license = "Apache-2.0"
edition = "2021"
documentation = "https://docs.rs/bertie"
description = "Minimal TLS 1.3 implementation"
readme = "README.md"
repository = "https://github.com/cryspen/bertie"
[lib]
path = "src/lib.rs"
[dependencies]
backtrace = "0.3.0"
rand = "0.8.0"
hex = "0.4.3"
tracing = "0.1"
libcrux-kem = { git = "https://github.com/cryspen/libcrux", features = ["kyber"]}
libcrux = { git = "https://github.com/cryspen/libcrux", features = [
"rand",
]}
hax-lib-macros = { git = "https://github.com/hacspec/hax", optional = true }
hax-lib = { git = "https://github.com/hacspec/hax" }
[features]
default = ["api", "std"]
std = []
test_utils = []
secret_integers = []
api = [] # The streaming Rust API that everyone should use but is not hacspec.
hax-fstar = ["dep:hax-lib-macros"]
hax-pv = ["dep:hax-lib-macros"]
[dev-dependencies]
bertie = { path = ".", features = ["test_utils"] }
dhat = "0.3.0"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
rayon = "1.3.0"
criterion = "0.5"
psm = "0.1.24"
bytesize = "1.3.0"
[[bench]]
name = "client"
harness = false
[[bench]]
name = "client_stack"
harness = false
[[bench]]
name = "server"
harness = false
[workspace]
members = [
".",
"record",
"simple_https_client",
"simple_https_server",
"bogo_shim",
"integration_tests",
]
default-members = [
".",
"record",
"simple_https_client",
"simple_https_server",
"bogo_shim",
"integration_tests",
]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] }