From 8e4b57c1b5ebf085bc55d4f42bf4df722b768a8a Mon Sep 17 00:00:00 2001 From: Austin Hellyer Date: Fri, 16 Dec 2016 14:54:52 -0800 Subject: Modify examples to point to current repo Instead of pointing to the current minor version, the examples' `Cargo.toml`s should be a relative path to the current cloned repo. This improves the examples by: 1. always being up-to-date if major or minor version updates occur; 2. being more up-to-standard with the examples' readme; 3. making debugging the library locally easier (not having to constantly modify the version to a path). --- examples/01_basic_ping_bot/Cargo.toml | 2 +- examples/02_transparent_guild_sharding/Cargo.toml | 2 +- examples/03_struct_utilities/Cargo.toml | 2 +- examples/04_message_builder/Cargo.toml | 2 +- examples/05_user_login/Cargo.toml | 2 +- examples/06_command_framework/Cargo.toml | 2 +- examples/07_voice/Cargo.toml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'examples') diff --git a/examples/01_basic_ping_bot/Cargo.toml b/examples/01_basic_ping_bot/Cargo.toml index 40e2f84..d4cbb5f 100644 --- a/examples/01_basic_ping_bot/Cargo.toml +++ b/examples/01_basic_ping_bot/Cargo.toml @@ -4,4 +4,4 @@ version = "0.1.0" authors = ["my name "] [dependencies.serenity] -version = "0.1" +path = "../../" diff --git a/examples/02_transparent_guild_sharding/Cargo.toml b/examples/02_transparent_guild_sharding/Cargo.toml index a9327ae..620c7af 100644 --- a/examples/02_transparent_guild_sharding/Cargo.toml +++ b/examples/02_transparent_guild_sharding/Cargo.toml @@ -4,4 +4,4 @@ version = "0.1.0" authors = ["my name "] [dependencies.serenity] -version = "0.1" +path = "../../" diff --git a/examples/03_struct_utilities/Cargo.toml b/examples/03_struct_utilities/Cargo.toml index cb29eff..dc89662 100644 --- a/examples/03_struct_utilities/Cargo.toml +++ b/examples/03_struct_utilities/Cargo.toml @@ -5,4 +5,4 @@ authors = ["my name "] [dependencies.serenity] features = ["methods"] -version = "0.1" +path = "../../" diff --git a/examples/04_message_builder/Cargo.toml b/examples/04_message_builder/Cargo.toml index 103de14..c5bd639 100644 --- a/examples/04_message_builder/Cargo.toml +++ b/examples/04_message_builder/Cargo.toml @@ -4,4 +4,4 @@ version = "0.1.0" authors = ["my name "] [dependencies.serenity] -version = "0.1" +path = "../../" diff --git a/examples/05_user_login/Cargo.toml b/examples/05_user_login/Cargo.toml index dcc0b5a..4b0fdcc 100644 --- a/examples/05_user_login/Cargo.toml +++ b/examples/05_user_login/Cargo.toml @@ -4,4 +4,4 @@ version = "0.1.0" authors = ["my name "] [dependencies.serenity] -version = "0.1" +path = "../../" diff --git a/examples/06_command_framework/Cargo.toml b/examples/06_command_framework/Cargo.toml index a73f940..ec4fea7 100644 --- a/examples/06_command_framework/Cargo.toml +++ b/examples/06_command_framework/Cargo.toml @@ -8,4 +8,4 @@ typemap = "0.3" [dependencies.serenity] features = ["framework", "methods"] -version = "0.1" +path = "../../" diff --git a/examples/07_voice/Cargo.toml b/examples/07_voice/Cargo.toml index cb023cc..b09ea79 100644 --- a/examples/07_voice/Cargo.toml +++ b/examples/07_voice/Cargo.toml @@ -5,4 +5,4 @@ authors = ["my name "] [dependencies.serenity] features = ["cache", "framework", "methods", "voice"] -version = "0.1" +path = "../../" -- cgit v1.2.3