Skip to content

Commit

Permalink
Fix feature dependencies in examples 2, 3, 4, 9, 11 (#971)
Browse files Browse the repository at this point in the history
  • Loading branch information
Deebster committed Sep 22, 2020
1 parent 41698b6 commit 9e77154
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/e02_transparent_guild_sharding/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ authors = ["my name <my@email.address>"]
edition = "2018"

[dependencies]
serenity = { path = "../../" }
serenity = { path = "../../", default-features = false, features = ["client", "gateway", "rustls_backend", "model"] }
tokio = { version = "0.2", features = ["macros"] }
2 changes: 1 addition & 1 deletion examples/e03_struct_utilities/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ authors = ["my name <my@email.address>"]
edition = "2018"

[dependencies]
serenity = { path = "../../" }
serenity = { path = "../../", default-features = false, features = ["client", "gateway", "rustls_backend", "model"] }
tokio = { version = "0.2", features = ["macros"] }
2 changes: 1 addition & 1 deletion examples/e04_message_builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ authors = ["my name <my@email.address>"]
edition = "2018"

[dependencies]
serenity = { path = "../../" }
serenity = { path = "../../", default-features = false, features = ["client", "gateway", "rustls_backend", "model"] }
tokio = { version = "0.2", features = ["macros"] }
3 changes: 2 additions & 1 deletion examples/e09_shard_manager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ log = "0.4"
tokio = { version = "0.2", features = ["macros", "rt-core", "time"] }

[dependencies.serenity]
features = ["client", "rustls_backend"]
default-features = false
features = ["client", "gateway", "rustls_backend", "model"]
path = "../../"
2 changes: 1 addition & 1 deletion examples/e11_create_message_builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ authors = ["my name <my@email.address>"]
edition = "2018"

[dependencies]
serenity = { path = "../../" }
serenity = { path = "../../", default-features = false, features = ["client", "gateway", "rustls_backend", "model"] }
tokio = { version = "0.2", features = ["macros"] }

0 comments on commit 9e77154

Please sign in to comment.