-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors with compiling it on Linux/Windows #312
Comments
There is indeed something to pay attention to when compiling boringsl. Boringssl is a derivative version of openssl. Their link symbols are the same, and the upstream does not intend to distinguish to solve this problem. According to your log, it should conflict with openssl compilation. |
Are you using it with reqwest? It uses openssl by default in Linux. |
Generally speaking, to do a good job is to use rustls. |
Hi, ty for fast reply to my problem. [package]
name = "bit_rust"
version = "0.1.0"
edition = "2021"
[dependencies]
openssl = { version = "0.10", features = ["vendored"] }
reqwest = { version = "0.11", features = ["rustls-tls"] }
base64 = "0.22.1"
ring = { version = "0.17.8", default-features = false }
rquest = { version = "1.5.0", default-features = false, features = ["json"] }
json = { version = "1.0.128", package = "serde_json" }
serde = { version = "1.0.210", features = ["derive"] }
fake-useragent = "0.1.3"
tokio = { version = "1.43.0", features = ["full"] }
uuid = { version = "1.3.1", features = ["v4", "fast-rng", "macro-diagnostics"] }
serde_urlencoded = "0.7.1"
deadqueue = "0.2.4"
rand = "0.8.5"
futures = "0.3.30"
[profile.release]
debug = true Can u tell me what i must change here for switching to rustl_tls ? |
I've tried to turn-off default feautures anywhere i can. |
Do i need to fork rquest and change deps or using reqwest with impersonate functionality ? |
Since there is no need to add reqwest when using impersonation. It is meaningless. It will only increase the binary volume. In addition, don't compile with openssl's crate. |
remove openssl = { version = "0.10", features = ["vendored"] } |
After adding this library to my project it takes to me about 5 hours searching the way to compile boring-ssl.
I've found the solution on windows - windowssdk. On my arch linux and Ubuntu WSL i get stucked by a problem.
it looks like specific openssl used to compile this lib.
Do u know the way or docs to make it work ?
I've looked for a ci-cd in your project, but itsn't helps
The text was updated successfully, but these errors were encountered: