diff options
| author | Austin Hellyer <[email protected]> | 2016-12-08 21:37:44 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-12-09 16:10:37 -0800 |
| commit | a43b468dc16597ced720f4b5111a0fc9625db113 (patch) | |
| tree | 2682d48166fe33b7a8fafef7bea366a89ddd6982 | |
| parent | Fix some clippy lints (diff) | |
| download | serenity-a43b468dc16597ced720f4b5111a0fc9625db113.tar.xz serenity-a43b468dc16597ced720f4b5111a0fc9625db113.zip | |
Add installation notes
| -rw-r--r-- | README.md | 17 | ||||
| -rw-r--r-- | src/lib.rs | 17 |
2 files changed, 34 insertions, 0 deletions
@@ -65,6 +65,23 @@ fn ping(_context: &Context, message: &Message, _args: Vec<String>) { Full examples, detailing and explaining usage of the basic functionality of the library, can be found in the [`examples`] directory. +# Installation + +Add the following to your `Cargo.toml` file: + +```toml +[dependencies] +serenity = "0.1" +``` + +and to the top of your `main.rs`: + +```rs +#[macro_use] extern crate serenity; +``` + +Serenity only supports the _latest_ Stable, Beta, and Nightly. + # Features Features can be enabled or disabled by configuring the library through @@ -61,6 +61,23 @@ //! Full examples, detailing and explaining usage of the basic functionality of the //! library, can be found in the [`examples`] directory. //! +//! # Installation +//! +//! Add the following to your `Cargo.toml` file: +//! +//! ```toml +//! [dependencies] +//! serenity = "0.1" +//! ``` +//! +//! and to the top of your `main.rs`: +//! +//! ```rs +//! #[macro_use] extern crate serenity; +//! ``` +//! +//! Serenity only supports the _latest_ Stable, Beta, and Nightly. +//! //! # Features //! //! Features can be enabled or disabled by configuring the library through |