diff --git a/Cargo.lock b/Cargo.lock index 23cdb50..e2ac679 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -768,12 +768,7 @@ dependencies = [ "base64 0.21.7", "byteorder", "hex", - "hkdf", - "lazy_static", "once_cell", - "openssl", - "serde", - "sha2", "thiserror 1.0.69", ] @@ -921,21 +916,6 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" -[[package]] -name = "foreign-types" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" -dependencies = [ - "foreign-types-shared", -] - -[[package]] -name = "foreign-types-shared" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" - [[package]] name = "form_urlencoded" version = "1.2.1" @@ -1854,44 +1834,6 @@ dependencies = [ "url", ] -[[package]] -name = "openssl" -version = "0.10.73" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8505734d46c8ab1e19a1dce3aef597ad87dcb4c37e7188231769bd6bd51cebf8" -dependencies = [ - "bitflags", - "cfg-if", - "foreign-types", - "libc", - "once_cell", - "openssl-macros", - "openssl-sys", -] - -[[package]] -name = "openssl-macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "openssl-sys" -version = "0.9.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90096e2e47630d78b7d1c20952dc621f957103f8bc2c8359ec81290d75238571" -dependencies = [ - "cc", - "libc", - "pkg-config", - "vcpkg", -] - [[package]] name = "opentelemetry" version = "0.30.0" diff --git a/Cargo.toml b/Cargo.toml index 782f3ab..d160df0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -135,7 +135,8 @@ reqwest = { version = "0.12", features = [ openidconnect = "4.0" clap = { version = "4.5", features = ["derive", "env"] } matchit-serde = { git = "https://github.com/lennart-k/matchit-serde", rev = "f0591d13" } -ece = "2.3" +ece = { version = "2.3", default-features = false } +p256 = { version = "0.13", features = ["ecdh"] } [dependencies] rustical_store = { workspace = true } diff --git a/crates/dav_push/Cargo.toml b/crates/dav_push/Cargo.toml index 37661bd..30f3ec7 100644 --- a/crates/dav_push/Cargo.toml +++ b/crates/dav_push/Cargo.toml @@ -23,8 +23,8 @@ tokio.workspace = true rustical_dav.workspace = true rustical_store.workspace = true http.workspace = true -base64 = "0.22" -p256 = { version = "0.13", features = ["ecdh"] } +base64.workspace = true +p256.workspace = true rand.workspace = true -ece = "2.3" +ece.workspace = true axum.workspace = true