Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sleeyax/cronet-rs
Chromium Network Stack (cronet) bindings
https://github.com/sleeyax/cronet-rs
chrome chromium cronet naiveproxy rust tls utls
Last synced: 2 months ago
JSON representation
Chromium Network Stack (cronet) bindings
- Host: GitHub
- URL: https://github.com/sleeyax/cronet-rs
- Owner: sleeyax
- Created: 2022-09-25T15:42:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-30T07:53:38.000Z (6 months ago)
- Last Synced: 2024-07-01T16:39:01.773Z (6 months ago)
- Topics: chrome, chromium, cronet, naiveproxy, rust, tls, utls
- Language: Rust
- Homepage:
- Size: 169 KB
- Stars: 20
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# cronet-rs 🦀
Bindings to the Chromium Networking Stack (a.k.a cronet) in Rust.
> :warning: This crate is under active development and the API is not yet stable.
## Developers
First of all, clone the project:
```bash
$ git clone https://github.com/sleeyax/cronet-rs.git
$ cd cronet-rs
```Then, follow the steps to build the project:
1. Get the latest cronet binaries: [build from source](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/components/cronet/build_instructions.md) or download prebuilt binaries from [here](https://github.com/sleeyax/cronet-binaries/releases).
2. Place all `.h` header files in `src` and all binaries (`.so`, `.dll`, `.dylib`) in `bin`.
3. Run `cargo build`. This should trigger `bindgen` to (re)generate the bindings.## Sponsors
Maintenance of this project is made possible by all the contributors and sponsors.
If you'd like to sponsor this project and have your avatar or company logo appear below click [here](https://github.com/sponsors/sleeyax). 💖## Related projects
Other projects that are related to this project and might interest you:
- [Cronet bindings for C#](https://github.com/sleeyax/CronetSharp)
- [Cronet bindings for go](https://github.com/sleeyax/cronet-go)
- [NaïveProxy](https://github.com/klzgrad/naiveproxy)