agate

Simple gemini server for static files
git clone https://github.com/mbrubeck/agate.git
Log | Files | Refs | README

commit 047f3b8b3826f01156944c5836f59c53da1b1fd1
parent 1d997e1e78c63cfc17790bb6825e31bf3a2512d8
Author: Matt Brubeck <mbrubeck@limpet.net>
Date:   Mon, 29 Jan 2024 07:17:59 -0800

Disable unused rcgen/pem feature

Diffstat:
MCargo.lock | 19+------------------
MCargo.toml | 2+-
2 files changed, 2 insertions(+), 19 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock @@ -121,12 +121,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] -name = "base64" -version = "0.21.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" - -[[package]] name = "bumpalo" version = "3.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -403,16 +397,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] -name = "pem" -version = "3.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b8fcc794035347fb64beda2d3b462595dd2753e3f268d89c5aae77e8cf2c310" -dependencies = [ - "base64 0.21.7", - "serde", -] - -[[package]] name = "percent-encoding" version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -460,7 +444,6 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48406db8ac1f3cbc7dcdb56ec355343817958a356ff430259bb07baf7607e1e1" dependencies = [ - "pem", "ring 0.17.7", "time", "yasna", @@ -507,7 +490,7 @@ version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" dependencies = [ - "base64 0.13.1", + "base64", "log", "ring 0.16.20", "sct", diff --git a/Cargo.toml b/Cargo.toml @@ -21,7 +21,7 @@ log = "0.4" mime_guess = "2.0" once_cell = "1.19" percent-encoding = "2.3" -rcgen = { version = "0.12.1" } +rcgen = { version = "0.12.1", default-features = false, features = ["ring"] } rustls = "0.22.2" tokio-rustls = "0.25.0" tokio = { version = "1.35", features = ["fs", "io-util", "net", "rt-multi-thread", "sync"] }