{"repo":"twilight-rs/twilight","free":true,"listed":false,"github":"https://github.com/twilight-rs/twilight","clone":"git clone https://github.com/twilight-rs/twilight.git","description":"Powerful, flexible, and scalable ecosystem of Rust libraries for the Discord API.","language":"Rust","stars":862,"topics":["discord-api","discord-bot","discord","rust","twilight-rs"],"license":"ISC","category":"chat-messaging","readme_excerpt":"twilight [![codecov badge][]][codecov link] [![discord badge][]][discord link] [![github badge][]][github link] [![license badge][]][license link] ![rust badge] ![project logo][logo] twilight is a powerful, flexible, and scalable ecosystem of Rust libraries for the Discord API. The ecosystem of first-class crates includes [ twilight-cache-inmemory ], [ twilight-gateway ], [ twilight-http ], [ twilight-model ], and more. These are explained in detail below. The main twilight crate is purely an advertisement crate: it has no functionality. Please use the individual crates listed below instead! Installation Twilight supports a MSRV of Rust 1.89. We do not consider changes to the MSRV semver-incompatible, therefore it may change in minor or patch releases. We recommend that most users start out with these crates: - [ twilight-cache-inmemory ][crates:cache-inmemory] - [ twilight-gateway ][crates:gateway] - [ twilight-http ][crates:http] - [ twilight-model ][crates:model] If you need any other functionality that Twilight provides, you can just add that dependency in. Core Crates These are essential crates that most users will use together for a full development experience. You may not need all of these - such as [ twilight-cache-inmemory ] - but they are often used together to accomplish most of what you need. [ twilight-model ] Models defining structures, enums, and bitflags for the entirety of the Discord API. It is split into a number of sub-modules, such as gateway for containi","default_branch":null,"files":null,"tree":[],"storefront":"/r/twilight-rs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/twilight-rs/twilight/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}