Added examples.
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
[workspace]
|
||||
members = [
|
||||
"master"
|
||||
"master",
|
||||
"examples/playground"
|
||||
]
|
||||
|
||||
[workspace.package]
|
||||
@ -15,7 +16,7 @@ thiserror = "1.0.*"
|
||||
uom = "0.33.*"
|
||||
# Logging
|
||||
log = "0.4.*"
|
||||
env_logger = "0.9.*"
|
||||
env_logger = "0.10.*"
|
||||
# Async
|
||||
futures-lite = "1.12.*"
|
||||
async-io = "1.9.*"
|
||||
async-io = "1.12.*"
|
20
examples/playground/Cargo.toml
Normal file
20
examples/playground/Cargo.toml
Normal file
@ -0,0 +1,20 @@
|
||||
[package]
|
||||
name = "playground"
|
||||
description = """The playground example is a special example meant for unstructured experimentation which can potentially be turned
|
||||
into an actual example at some point or deleted. It should always be reset to unchanged hello world before the working
|
||||
branch where the experimentation is happening is merged."""
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
repository.workspace = true
|
||||
readme.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
thiserror.workspace = true
|
||||
uom.workspace = true
|
||||
log.workspace = true
|
||||
env_logger.workspace = true
|
||||
futures-lite.workspace = true
|
||||
async-io.workspace = true
|
7
examples/playground/src/main.rs
Normal file
7
examples/playground/src/main.rs
Normal file
@ -0,0 +1,7 @@
|
||||
//! The playground example is a special example meant for unstructured experimentation which can potentially be turned
|
||||
//! into an actual example at some point or deleted. It should always be reset to unchanged hello world before the working
|
||||
//! branch where the experimentation is happening is merged.
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
Reference in New Issue
Block a user