ikatson / rqbit

A bittorrent client in Rust
Other
605 stars 56 forks source link

Move HTTP API server out of librqbit #141

Open The-Minecraft-Scientist opened 1 week ago

The-Minecraft-Scientist commented 1 week ago

Currently if I add librqbit to my project it pulls in a ton of massive dependencies (axum and co) required to run the web API. Ideally the crate on crates.io would contain the minimal number of dependencies required to download torrents via rust functions (i.e. using the Session API). I might make a PR that does this at some point soon.

The-Minecraft-Scientist commented 1 week ago

Edit: this is a lot less feasible than I thought. I ended up adding a feature flag for it in my fork.

ikatson commented 1 week ago

@The-Minecraft-Scientist would happily accept a PR where it's guarded by a feature flag