smalld_rust

Crates.iosmalld_rust
lib.rssmalld_rust
version0.2.0
sourcesrc
created_at2021-01-18 18:52:34.963031
updated_at2021-01-23 23:27:11.775313
descriptionA minimalist client for the Discord API
homepagehttps://github.com/princesslana/smalld_rust
repositoryhttps://github.com/princesslana/smalld_rust
max_upload_size
id343622
size65,031
Princess Lana (ianagbip1oti)

documentation

README

smalld_rust

Crates.io docs.rs Build Discord

SmallD aims to be a minmalist client for the Discord API. It aims to let you use the Discord API, without hiding or abstracting it.

Installing

smalld_rust is published on crates.io. Add to the dependencies section of your Cargo.toml.

[dependencies]
smalld_rust = "*"

To use the latest development version add as a git dependency.

[dependencies]
smalld_rust = { git = "https://github.com/princesslana/smalld_rust", branch = "main" }

Documentation

Documentation is published to docs.rs. Help is also available on the Discord Projects Hub Discord server.

Examples

To run the example ping bot:

$ SMALLD_TOKEN=<discord bot token> RUST_LOG=info cargo run --example ping_bot

WARNING: Enabling debug level logging will output your token in the log messages, so be careful where you send those.

Contact and Contributing

Reach out to the Discord Projects Hub on Discord and look for the smalld_rust channel.

Commit count: 42

cargo fmt