From 2d6245e05d6f153d911ce5763c3d8ac7d42b3171 Mon Sep 17 00:00:00 2001 From: Sophie Forrest Date: Sun, 10 Nov 2024 15:53:23 +1300 Subject: feat: move from openssl to rustls This removes external dependencies on pkg-config and openssl, only requiring the rustls dependency, meaning the entire program is in Rust, simplifying the build system on all platforms. --- Cargo.toml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 57d05e7..4d7e00d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,13 +4,17 @@ version = "0.1.0" edition = "2021" [dependencies] -futures-util = "0.3.30" +futures-util = "0.3.31" nom = "7.1.3" -reqwest = "0.12.7" -scraper = "0.20.0" -serde = { version = "1.0.209", features = ["derive"] } -simd-json = "0.13.10" -tokio = { version = "1.40.0", features = [ +reqwest = { default-features = false, features = [ + "charset", + "http2", + "rustls-tls", +], version = "0.12.9" } +scraper = "0.21.0" +serde = { version = "1.0.214", features = ["derive"] } +simd-json = "0.14.2" +tokio = { version = "1.41.1", features = [ "macros", "fs", "rt", -- cgit 1.4.1