Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)