GithubHelp home page GithubHelp logo

shawone / libtorrent-sys Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 4.0 10 KB

Rust API / cxx bindings for libtorrent

License: MIT License

Rust 49.86% C++ 50.14%
torrent magnet-link magnet libtorrent-rasterbar

libtorrent-sys's Introduction

libtorrent-sys

Rust API / cxx bindings for libtorrent.

All c++ reference can be found in libtorrent reference documentation

Exposed API Reference

  • session
  • add_torrent_params
  • add_torrent_params
  • torrent_handle
  • create_torrent
  • parse_magnet_uri()
  • bencode()

Install

1/ Download or build libtorrent (branch C_2_0)

2/ Build libtorrent-sys:

RUSTFLAGS="-C linker=g++" CXX=g++ cargo build

libtorrent-sys's People

Contributors

panaeon avatar shawone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

libtorrent-sys's Issues

Project informations

Salut @shawone,
je suis en train de dev un lanceur de jeu avec Tauri en Rust.
J'ai déjà regardé partout mais j'ai trouvé aucune librairie Rust qui avait ce don't j'avais besoin, donc j'ai voulu utiliser libtorrent, mais je sais pas vraiment comment utiliser cette librairie. J'aimerais pouvoir ajouter des torrents aux téléchargements avec le string du torrent ou le magnet, au pire un fichier .torrent, suivre leur progression, et savoir quand c'est fini ou si il y a une erreur. Si tu peux m'aider pour faire ça. Si tu penses que c'est pas la bonne solution, tu peux me dire ce que je peux utiliser ? J'ai aussi vu aria2 que je pourrais interface en WS mais c'est assez compliqué pour moi qui débute en Rust.

Merci

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.