Skip to content
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

Add an option to run without depending on openssl #706

Open
Pzixel opened this issue Sep 16, 2023 · 1 comment
Open

Add an option to run without depending on openssl #706

Pzixel opened this issue Sep 16, 2023 · 1 comment

Comments

@Pzixel
Copy link

Pzixel commented Sep 16, 2023

I think rust-web3 is a great crate. However, there is an issue that crate currently has a hard depndency on openssl when using wss subscriptions.

ws-tls-tokio = ["async-native-tls", "async-native-tls/runtime-tokio", "ws-tokio"]
ws-tls-async-std = ["async-native-tls", "async-native-tls/runtime-async-std", "ws-async-std"]

It would be highly beneficial in my opinion to add an option to use async_rustls instead of async-native-tls. Currently using http-rustls-tls doesn't make a lot of sense because native tls will be used anyway and it's always better to stick to one option, so choice is not really a choice in this case. async-native-tls is also described as a temporary solution but it's been 3 years already, so maybe it's time to revisit this decision.

I would be happy to provide my help/advice if you agree with what's been said.

@Pzixel
Copy link
Author

Pzixel commented Sep 16, 2023

#687 looks like it is, any plans on merging it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant