examples: add comment about dependency gotcha (#2355)

This commit is contained in:
Alice Ryhl 2020-04-02 23:16:00 +02:00 committed by GitHub
parent 03cb3b6ca1
commit 0245515e4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"] }