Restructure project and add examples.

This commit is contained in:
FireMasterK 2021-04-29 20:56:18 +05:30
parent b780f05f0c
commit 9f2ccc35ee
No known key found for this signature in database
GPG key ID: 8DFF5DD33E93DB58
5 changed files with 56 additions and 12 deletions

14
examples/Cargo.toml Normal file
View file

@ -0,0 +1,14 @@
[package]
edition = "2018"
name = "examples"
publish = false
version = "0.0.0"
[dev-dependencies]
piped = {path = "../piped"}
reqwest = "0.11.3"
tokio = {version = "1.5.0", features = ["macros", "rt-multi-thread"]}
[[example]]
name = "channel"
path = "channel.rs"