mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-25 00:00:18 +02:00
This works around a bug in the cargo renaming feature as well as allows the use of `[patch]` in the `Cargo.toml`.
29 lines
635 B
TOML
29 lines
635 B
TOML
cargo-features = ["edition"]
|
|
|
|
[package]
|
|
name = "examples"
|
|
edition = "2018"
|
|
|
|
# When releasing to crates.io:
|
|
# - Update html_root_url.
|
|
version = "0.1.1"
|
|
authors = ["Carl Lerche <[email protected]>"]
|
|
license = "MIT"
|
|
|
|
[[bin]]
|
|
name = "hyper"
|
|
path = "src/hyper.rs"
|
|
|
|
[dependencies]
|
|
tokio-async-await = { version = "0.1.0", path = "../" }
|
|
bytes = "0.4.9"
|
|
hyper = "0.12.8"
|
|
|
|
[patch.crates-io]
|
|
tokio = { path = "../.." }
|
|
tokio-executor = { path = "../../tokio-executor" }
|
|
tokio-io = { path = "../../tokio-io" }
|
|
tokio-reactor = { path = "../../tokio-reactor" }
|
|
tokio-tcp = { path = "../../tokio-tcp" }
|
|
tokio-timer = { path = "../../tokio-timer" }
|