From 8121c2ee2488b93654879760e877e0d0c1cc491d Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Fri, 12 Jun 2020 05:55:05 +0900 Subject: [PATCH] Fix invalid package names Refs: https://github.com/rust-lang/cargo/pull/7959 --- examples/01_02_why_async/Cargo.toml | 2 +- examples/01_04_async_await_primer/Cargo.toml | 2 +- examples/01_05_http_server/Cargo.toml | 2 +- examples/02_02_future_trait/Cargo.toml | 2 +- examples/02_03_timer/Cargo.toml | 2 +- examples/02_04_executor/Cargo.toml | 4 ++-- examples/03_01_async_await/Cargo.toml | 2 +- examples/05_01_streams/Cargo.toml | 2 +- examples/05_02_iteration_and_concurrency/Cargo.toml | 2 +- examples/06_02_join/Cargo.toml | 2 +- examples/06_03_select/Cargo.toml | 2 +- examples/07_05_recursion/Cargo.toml | 2 +- 12 files changed, 13 insertions(+), 13 deletions(-) diff --git a/examples/01_02_why_async/Cargo.toml b/examples/01_02_why_async/Cargo.toml index d6fddb4c..76519f21 100644 --- a/examples/01_02_why_async/Cargo.toml +++ b/examples/01_02_why_async/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "01_02_why_async" +name = "example_01_02_why_async" version = "0.1.0" authors = ["Taylor Cramer "] edition = "2018" diff --git a/examples/01_04_async_await_primer/Cargo.toml b/examples/01_04_async_await_primer/Cargo.toml index d8e4b499..0067a92f 100644 --- a/examples/01_04_async_await_primer/Cargo.toml +++ b/examples/01_04_async_await_primer/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "01_04_async_await_primer" +name = "example_01_04_async_await_primer" version = "0.1.0" authors = ["Taylor Cramer "] edition = "2018" diff --git a/examples/01_05_http_server/Cargo.toml b/examples/01_05_http_server/Cargo.toml index 140dde3f..7c1d7f0e 100644 --- a/examples/01_05_http_server/Cargo.toml +++ b/examples/01_05_http_server/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "01_05_http_server" +name = "example_01_05_http_server" version = "0.2.0" authors = ["Taylor Cramer "] edition = "2018" diff --git a/examples/02_02_future_trait/Cargo.toml b/examples/02_02_future_trait/Cargo.toml index 12ef791e..fd40d625 100644 --- a/examples/02_02_future_trait/Cargo.toml +++ b/examples/02_02_future_trait/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "02_02_future_trait" +name = "example_02_02_future_trait" version = "0.1.0" authors = ["Taylor Cramer "] edition = "2018" diff --git a/examples/02_03_timer/Cargo.toml b/examples/02_03_timer/Cargo.toml index 35d2c4b3..937ba2d4 100644 --- a/examples/02_03_timer/Cargo.toml +++ b/examples/02_03_timer/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "02_03_timer" +name = "example_02_03_timer" version = "0.1.0" authors = ["Taylor Cramer "] edition = "2018" diff --git a/examples/02_04_executor/Cargo.toml b/examples/02_04_executor/Cargo.toml index 20fef808..9f94f067 100644 --- a/examples/02_04_executor/Cargo.toml +++ b/examples/02_04_executor/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "02_04_executor" +name = "example_02_04_executor" version = "0.1.0" authors = ["Taylor Cramer "] edition = "2018" @@ -8,4 +8,4 @@ edition = "2018" [dependencies] futures = "0.3" -timer_future = { package = "02_03_timer", path = "../02_03_timer" } +timer_future = { package = "example_02_03_timer", path = "../02_03_timer" } diff --git a/examples/03_01_async_await/Cargo.toml b/examples/03_01_async_await/Cargo.toml index 6c8a3f43..2971d1ec 100644 --- a/examples/03_01_async_await/Cargo.toml +++ b/examples/03_01_async_await/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "03_01_async_await" +name = "example_03_01_async_await" version = "0.1.0" authors = ["Taylor Cramer "] edition = "2018" diff --git a/examples/05_01_streams/Cargo.toml b/examples/05_01_streams/Cargo.toml index 6c09df03..7f997e93 100644 --- a/examples/05_01_streams/Cargo.toml +++ b/examples/05_01_streams/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "05_01_streams" +name = "example_05_01_streams" version = "0.1.0" authors = ["Taylor Cramer "] edition = "2018" diff --git a/examples/05_02_iteration_and_concurrency/Cargo.toml b/examples/05_02_iteration_and_concurrency/Cargo.toml index 71e807d0..4d2192b7 100644 --- a/examples/05_02_iteration_and_concurrency/Cargo.toml +++ b/examples/05_02_iteration_and_concurrency/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "05_02_iteration_and_concurrency" +name = "example_05_02_iteration_and_concurrency" version = "0.1.0" authors = ["Taylor Cramer "] edition = "2018" diff --git a/examples/06_02_join/Cargo.toml b/examples/06_02_join/Cargo.toml index 96b72d89..81157f93 100644 --- a/examples/06_02_join/Cargo.toml +++ b/examples/06_02_join/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "06_02_join" +name = "example_06_02_join" version = "0.1.0" authors = ["Taylor Cramer "] edition = "2018" diff --git a/examples/06_03_select/Cargo.toml b/examples/06_03_select/Cargo.toml index 40add2fb..d53196d5 100644 --- a/examples/06_03_select/Cargo.toml +++ b/examples/06_03_select/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "06_03_select" +name = "example_06_03_select" version = "0.1.0" authors = ["Taylor Cramer "] edition = "2018" diff --git a/examples/07_05_recursion/Cargo.toml b/examples/07_05_recursion/Cargo.toml index 8210398b..e37fb1b5 100644 --- a/examples/07_05_recursion/Cargo.toml +++ b/examples/07_05_recursion/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "07_05_recursion" +name = "example_07_05_recursion" version = "0.1.0" authors = ["Taylor Cramer "] edition = "2018"