You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Ecmel Berk Canlıer 62cd0de38d
Move websocket handling to a worker thread (#8)
1 year ago
examples Use our own errors instead of relying on Snafu 1 year ago
src Split up gateway into multiple files 1 year ago
.gitignore Initial library code, split off of another repo 1 year ago
Cargo.lock Add permission support, fix some bugs 1 year ago
Cargo.toml Add permission support, fix some bugs 1 year ago
README.md Add README.md 1 year ago

README.md

thatcord

Prototype Rust Discord library supporting tokio 0.2, futures 0.3 and async/.await.

Heavy emphasis on prototype, as it currently can only listen, not send. And only supports two events at that.

Installation

While I have a crate named thatcord on crates.io, it's currently empty, as I want to get something stable for an initial release.

In the meantime, get it from this repo like so:

[dependencies]
thatcord = { git = "https://github.com/Admicos/thatcord" }

Documentation

Currently very lacking. However, the examples/ directory should be enough for the current full features of this library.

Also, there is some docstrings here and there, but they'll probably need some formatting, so no fancy HTML docs yet.

Code Quality

Horrible. Actually, no. Saying this is horrible would be insulting other horrible projects.

If you know a thing or two about Rust, please contribute!

License

Apache License 2.0 or MIT License depending on your preference.