Added examples.

This commit is contained in:
2023-01-13 16:53:45 -08:00
parent ea214fe7d7
commit 9313361cff
3 changed files with 31 additions and 3 deletions

View File

@ -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.*"

View 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

View 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!");
}