summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAlice Ryhl <alice@ryhl.io>2020-04-02 23:16:00 +0200
committerGitHub <noreply@github.com>2020-04-02 23:16:00 +0200
commit0245515e4d71baa243c181b27f37299f02d46b08 (patch)
tree08c93ed1f647396434e7f6f4d68fbd4efb56b82d /examples
parent03cb3b6ca12627041f153e018ef099dda921d11a (diff)
examples: add comment about dependency gotcha (#2355)
Diffstat (limited to 'examples')
-rw-r--r--examples/Cargo.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/Cargo.toml b/examples/Cargo.toml
index a25f526f..c3dc6091 100644
--- a/examples/Cargo.toml
+++ b/examples/Cargo.toml
@@ -4,6 +4,8 @@ version = "0.0.0"
publish = false
edition = "2018"
+# If you copy one of the examples into a new project, you should be using
+# [dependencies] instead.
[dev-dependencies]
tokio = { version = "0.2.0", path = "../tokio", features = ["full"] }
tokio-util = { version = "0.3.0", path = "../tokio-util", features = ["full"] }