summary refs log tree commit diff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorSophie Forrest <git@sophieforrest.com>2024-11-10 15:53:23 +1300
committerSophie Forrest <git@sophieforrest.com>2024-11-10 15:53:23 +1300
commit2d6245e05d6f153d911ce5763c3d8ac7d42b3171 (patch)
tree7fe2c76f5506f97a21f5307c9c60805d0f2901ec /Cargo.toml
parent76eb2064952b548a3e171cb41c69939640a1d657 (diff)
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.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml16
1 files changed, 10 insertions, 6 deletions
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",