Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
propane
-
Cool language features that Rust is missing?
Generators particularly the propane syntax for em
-
What do you NOT like about Rust?
If you can use nightly, just use https://github.com/withoutboats/propane
-
how to make a function return a generator
An experimental library called `propane` introducing a `#[propane::generator]` macro can do this. See https://github.com/withoutboats/propane and https://without.boats/blog/propane/.
serenity
-
Patterns for Web API wrappers/clients
https://github.com/serenity-rs/serenity/: A Discord client, has a file containing formattable endpoint strings that are then passed to a macro to build the endpoint. These endpoints are then obtained by deconstructing an enum with the relevant fields, which is used by the client upstream to make request. I really like this approach, the use of macros and enums feels quite natural.
-
Wanting to make a bot in rust using serenity
What would be the best coding lang for this bot, I worked with discord.py in the past but I would like to use Serenity which allows you to make a discord bot with rust.
-
Create and deploy a Discord bot in Rust, in under 20 minutes (for free)
(https://github.com/serenity-rs/serenity/pull/1899).
With forced functional programming, you may be referring to serenity's builders? For example
```rust
I am one of the core team members at shuttle, and we've released the support for Serenity (a Rust library for the Discord API) a while back and now we have a tutorial ready for anyone willing to give it a go: https://www.shuttle.rs/blog/2022/09/14/serentity-discord-bot (creating a simple Discord bot, extending it to a weather forecast bot and deploying it with shuttle, for free).
We've released the support for Serenity (a Rust library for the Discord API) a while back and now we have a tutorial ready for anyone willing to give it a go!
-
Where to host a small rust web code?
I coded a small discord bot for fun with some friends (using serenityserenity).
-
Shuttle v0.5.1 is out ━ create and deploy a Discord bot with shuttle & Serenity!
For anyone who wants to get a Discord bot up and running (with Rust) - shuttle v.0.5.1 is out, with added Serenity support.
-
Bot update or migration guide?
The long term way is to use Discord's interactions system, which involves application commands (slash commands, as well as context menu commands for users and messages), message components (buttons, select menus) and modals. There appears to be some examples provided by your library, including one for slash commands and one for message components, so you could have a look at them to see how to update your bot.
-
How would i send my friend a message via rust on discord?
Use this crate : https://docs.rs/serenity/latest/serenity/ / https://github.com/serenity-rs/serenity ?
-
Discord bot in rust: you choose the bot’s purpose
I’m looking to make a discord bot in using the great serenity framework. The only problem is I don’t have any ideas for what the bot should do. I have decent experience with rust and have used it for small webassembly applications at work. I’ve also used serenity a bit to make a Wordle leaderboard for a server. If you have a great idea and want to work on something together, or just want to learn rust, I am definitely willing to teach a bit as well. I don’t care if the idea has been done before, I want to learn as well!
What are some alternatives?
rust - Empowering everyone to build reliable and efficient software.
mpd-discord-rpc - Rust application which displays your currently playing song / album / artist from MPD in Discord using Rich Presence.
urwid - Console user interface library for Python (official repo)
twilight - Powerful, flexible, and scalable ecosystem of Rust libraries for the Discord API.
songbird - An async Rust library for the Discord voice API
docs.rs - crates.io documentation generator
rillrate - Real-time UI for bots and tools
discord-presence - Discord Rich Presence in Rust
lavalink-rs
project-error-handling - Error handling project group
shuttle - Build & ship backends without writing any infrastructure files.
goformat - Alternative to gofmt with configurable formatting style (indentation etc.)