Skip to content

Commit

Permalink
Make examples binaries (#4)
Browse files Browse the repository at this point in the history
Co-authored-by: Holger Rapp <[email protected]>
  • Loading branch information
golovasteek and SirVer authored Nov 27, 2023
1 parent ed2ddf5 commit d9b47b1
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 15 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ members = [
]

[workspace.package]
version = "0.1.0"
version = "0.1.1"
authors = ["Qwello GmbH <[email protected]>"]
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand Down
4 changes: 2 additions & 2 deletions zvt/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
)
Expand Down
10 changes: 1 addition & 9 deletions zvt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
File renamed without changes.
File renamed without changes.

0 comments on commit d9b47b1

Please sign in to comment.