diff --git a/Cargo.lock b/Cargo.lock index c280ac7..6acf5ec 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -914,7 +914,7 @@ dependencies = [ [[package]] name = "zvt" -version = "0.1.0" +version = "0.1.1" dependencies = [ "anyhow", "async-stream", @@ -935,7 +935,7 @@ dependencies = [ [[package]] name = "zvt_builder" -version = "0.1.0" +version = "0.1.1" dependencies = [ "chrono", "hex", @@ -947,7 +947,7 @@ dependencies = [ [[package]] name = "zvt_derive" -version = "0.1.0" +version = "0.1.1" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 826bf25..35e8b82 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ members = [ ] [workspace.package] -version = "0.1.0" +version = "0.1.1" authors = ["Qwello GmbH "] license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/zvt/BUILD.bazel b/zvt/BUILD.bazel index db20264..4296f5c 100644 --- a/zvt/BUILD.bazel +++ b/zvt/BUILD.bazel @@ -16,14 +16,14 @@ rust_library( rust_binary( name = "status", - srcs = glob(["examples/status.rs"]), + srcs = glob(["src/bin/status/main.rs"]), edition = "2021", deps = all_crate_deps() + [":zvt"], ) rust_binary( name = "feig_update", - srcs = glob(["examples/feig_update.rs"]), + srcs = glob(["src/bin/feig_update/main.rs"]), edition = "2021", deps = all_crate_deps() + [":zvt"], ) diff --git a/zvt/Cargo.toml b/zvt/Cargo.toml index e9e0d74..1a605ec 100644 --- a/zvt/Cargo.toml +++ b/zvt/Cargo.toml @@ -22,17 +22,9 @@ zvt_builder = { version = "0.1.0", path = "../zvt_builder" } log = "0.4.19" env_logger = "0.10.0" tokio-stream = "0.1.14" -tokio = { version = "1.29.1", features = ["net", "io-util"] } +tokio = { version = "1.29.1", features = ["net", "io-util", "rt-multi-thread", "macros"] } async-stream = "0.3.5" serde = { version = "1.0.185", features = ["derive"] } serde_json = "1.0.105" futures = "0.3.28" -[dev-dependencies] -tokio = { version = "1.29.1", features = ["rt-multi-thread", "macros"] } - -[[example]] -name = "feig_update" - -[[example]] -name = "status" diff --git a/zvt/examples/feig_update.rs b/zvt/src/bin/feig_update/main.rs similarity index 100% rename from zvt/examples/feig_update.rs rename to zvt/src/bin/feig_update/main.rs diff --git a/zvt/examples/status.rs b/zvt/src/bin/status/main.rs similarity index 100% rename from zvt/examples/status.rs rename to zvt/src/bin/status/main.rs