This is just a dump of me figuring out how to interface with boring and rustls. It works to establish a connection and exchange data but I haven't written real tests yet, nor did I cleanup the code or made the effort to make it look nice. There is probably some code in here that should rather live in the `boring` crate.
21 lines
No EOL
701 B
TOML
21 lines
No EOL
701 B
TOML
[package]
|
|
name = "boring-rustls-provider-examples"
|
|
version = "0.0.1"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
description = "Boring Rustls provider example code and tests."
|
|
publish = false
|
|
|
|
[dependencies]
|
|
docopt = "~1.1"
|
|
env_logger = "0.10"
|
|
log = { version = "0.4.4" }
|
|
mio = { version = "0.8", features = ["net", "os-poll"] }
|
|
pki-types = { package = "rustls-pki-types", version = "0.2" }
|
|
rcgen = { version = "0.11.3", features = ["pem"], default-features = false }
|
|
rustls = { workspace = true, features = [ "logging" ]}
|
|
boring-rustls-provider = { path = "../boring-rustls-provider", features = ["logging"] }
|
|
rustls-pemfile = "=2.0.0-alpha.1"
|
|
serde = "1.0"
|
|
serde_derive = "1.0"
|
|
webpki-roots = "=0.26.0-alpha.1" |