diff options
| author | Zeyla Hellyer <[email protected]> | 2017-09-21 17:29:10 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-09-21 17:29:10 -0700 |
| commit | 092f288fdd22ae39b019e61a6f12420b6ca3b67c (patch) | |
| tree | 6d8863cc859945457dc6c4b111017fa21ca8103f /Cargo.toml | |
| parent | Remove tokio usage (diff) | |
| download | serenity-092f288fdd22ae39b019e61a6f12420b6ca3b67c.tar.xz serenity-092f288fdd22ae39b019e61a6f12420b6ca3b67c.zip | |
Update bitflags, other dependencies
Bitflags changed its macro codegen from creating constants to associated
constants on structs.
Upgrade path:
Update code from:
```rust
use serenity::model::permissions::{ADD_REACTIONS, MANAGE_MESSAGES};
foo(vec![ADD_REACTIONS, MANAGE_MESSAGES]);
```
to:
```rust
use serenity::model::Permissions;
foo(vec![Permissions::ADD_REACTIONS, Permissions::MANAGE_MESSAGES]);
```
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -11,7 +11,7 @@ repository = "https://github.com/zeyla/serenity.git" version = "0.3.0" [dependencies] -bitflags = "~0.9" +bitflags = "^1.0" log = "~0.3" serde = "^1.0" serde_derive = "^1.0" @@ -23,7 +23,7 @@ version = "~0.6" [dependencies.byteorder] optional = true -version = "1.0" +version = "1.1" [dependencies.chrono] features = ["serde"] @@ -39,7 +39,7 @@ version = "~0.10" [dependencies.hyper-native-tls] optional = true -version = "0.2.2" +version = "0.2.4" [dependencies.lazy_static] optional = true @@ -66,7 +66,7 @@ version = "0.4" [dependencies.sodiumoxide] default-features = false optional = true -version = "0.0.12" +version = "0.0.15" [dependencies.typemap] optional = true |