Przeglądaj źródła

chore: Force "ring" dependency for rustls

parazyd 2 lat temu
rodzic
commit
022e99ef03
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      Cargo.toml
  2. 1 1
      bin/darkirc/Cargo.toml

+ 1 - 1
Cargo.toml

@@ -64,7 +64,7 @@ smol = {version = "2.0.0", optional = true}
 pin-project-lite = {version = "0.2.14", optional = true}
 
 # Networking
-futures-rustls = {version = "0.26.0", optional = true}
+futures-rustls = {version = "0.26.0", default-features = false, features = ["logging", "tls12", "ring"], optional = true}
 
 # Pluggable Transports
 socket2 = {version = "0.5.7", features = ["all"], optional = true}

+ 1 - 1
bin/darkirc/Cargo.toml

@@ -29,7 +29,7 @@ sled = "0.34.7"
 # TLS
 async-trait = "0.1.80"
 futures = "0.3.30"
-futures-rustls = "0.26.0"
+futures-rustls = {version = "0.26.0", default-features = false, features = ["logging", "tls12", "ring"]}
 rustls-pemfile = "2.1.2"
 
 # Crypto