refactor(ceasar-core): changed from using openssl to rustls

This commit is contained in:
Patryk Hegenberg 2024-05-24 16:47:44 +02:00
parent 1b83c0b5ff
commit 1586818bd6
11 changed files with 298 additions and 262 deletions

View file

@ -5,8 +5,8 @@ edition = "2021"
build = "src/build.rs"
authors = ["Manuel Keidel", "Patryk Hegenberg", "Krzysztof Stankiewicz"]
# [lib]
# crate-type = ["lib", "cdylib", "staticlib"]
[lib]
crate-type = ["lib", "cdylib", "staticlib"]
[dependencies]
futures-util = "0.3"
@ -41,11 +41,23 @@ local-ip-address = "0.6.1"
axum-extra = { version = "0.9.3", features = ["typed-header"] }
headers = "0.4"
tower = { version = "0.4", features = ["util"] }
reqwest = { version = "0.12.4", features = ["blocking", "json"] }
reqwest = { version = "0.12.4", default-features = false, features = [
"blocking",
"json",
"rustls-tls",
] }
hex = "0.4.3"
openssl-sys = { version = "0.9.102", features = ["vendored"] }
# rinf = "6.8.0"
anyhow = "1.0.83"
# [target.armv7-linux-androideabi.dependencies]
# openssl = { version = "*", features = ["vendored"] }
# openssl-sys = { version = "0.9.102", features = ["vendored"] }
# [target.aarch64-linux-android.dependencies]
# openssl = { version = "*", features = ["vendored"] }
# openssl-sys = { version = "0.9.102", features = ["vendored"] }
# [target.x86_64-linux-android.dependencies]
# openssl = { version = "*", features = ["vendored"] }
# openssl-sys = { version = "0.9.102", features = ["vendored"] }
[build-dependencies]
prost-build = "0.12.4"