Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup workspace #28

Merged
merged 5 commits into from
Jun 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
[workspace.package]
version = "0.1.0"
repository = "https://github.com/arkedge/kble"
license = "MIT"
edition = "2021"
readme = "README.md"

[workspace]
resolver = "2"

members = [
"kble",
"kble-serialport",
Expand All @@ -12,7 +21,13 @@ anyhow = "1"
futures = "0.3"
futures-util = { version = "0.3", features = ["sink"] }
pin-project-lite = { version = "0.2" }
bytes = "1.4.0"
tokio = "1"
tokio-util = { version = "0.7", features = ["codec"] }
tokio-tungstenite = { version = "0.18" }
axum = { version = "0.6", default-features = false }
bytes = "1.4.0"
clap = { version = "4", features = ["derive"] }
serde = { version = "1", features = ["derive"]}
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
kble-socket = "0.1.0"
27 changes: 14 additions & 13 deletions kble-c2a/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
[package]
name = "kble-c2a"
version = "0.1.0"
edition = "2021"
license = "MIT"
description = "Virtual Harness Toolkit"
repository = "https://github.com/arkedge/kble"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
readme.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1"
futures = "0.3"
tokio = { version = "1", features = ["full"] }
kble-socket = { version = "0.1.0", features = ["stdio", "tungstenite"] }
tokio-util = { version = "0.7", features = ["codec"] }
bytes = { version = "1" }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
clap = { version = "4", features = ["derive"] }
anyhow.workspace = true
futures.workspace = true
tokio = { workspace = true, features = ["full"] }
kble-socket = { workspace = true, features = ["stdio", "tungstenite"] }
tokio-util.workspace = true
bytes.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
clap.workspace = true
19 changes: 10 additions & 9 deletions kble-eb90/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
[package]
name = "kble-eb90"
version = "0.1.0"
edition = "2021"
license = "MIT"
description = "Virtual Harness Toolkit"
repository = "https://github.com/arkedge/kble"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
readme.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow.workspace = true
futures.workspace = true
tokio = { workspace = true, features = ["full"] }
kble-socket = { version = "0.1.0", features = ["stdio", "tungstenite"] }
tokio-util = { version = "0.7", features = ["codec"] }
kble-socket = { workspace = true, features = ["stdio", "tungstenite"] }
tokio-util.workspace = true
bytes.workspace = true
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
clap = { version = "4", features = ["derive"] }
tracing.workspace = true
tracing-subscriber.workspace = true
clap.workspace = true
eb90 = "0.1.1"
25 changes: 13 additions & 12 deletions kble-serialport/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
[package]
name = "kble-serialport"
version = "0.1.0"
edition = "2021"
license = "MIT"
description = "Virtual Harness Toolkit"
repository = "https://github.com/arkedge/kble"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
readme.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = { workspace = true }
clap = { version = "4", features = ["derive", "env"] }
futures = { workspace = true }
anyhow.workspace = true
clap = { workspace = true, features = ["derive", "env"] }
futures.workspace = true
tokio = { workspace = true, features = ["full"] }
kble-socket = { version = "0.1.0", features = ["axum"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
kble-socket = { workspace = true, features = ["axum"] }
tracing.workspace = true
tracing-subscriber.workspace = true
axum = { workspace = true, default-features = false, features = ["tokio", "tower-log", "http1", "ws", "query"] }
tokio-serial = "5.4"
serde = { version = "1", features = ["derive"] }
bytes = { workspace = true }
serde.workspace = true
bytes.workspace = true
19 changes: 10 additions & 9 deletions kble-socket/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
[package]
name = "kble-socket"
version = "0.1.0"
edition = "2021"
license = "MIT"
description = "Virtual Harness Toolkit"
repository = "https://github.com/arkedge/kble"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
readme.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = { workspace = true }
futures-util = { workspace = true }
anyhow.workspace = true
futures-util.workspace = true
pin-project-lite = { workspace = true, optional = true }
tokio = { workspace = true }
tokio.workspace = true
tokio-tungstenite = { workspace = true, optional = true }
axum = { workspace = true }
bytes = { workspace = true }
axum.workspace = true
bytes.workspace = true

[features]
stdio = ["tokio/io-std", "dep:pin-project-lite"]
Expand Down
19 changes: 10 additions & 9 deletions kble/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
[package]
name = "kble"
version = "0.1.0"
edition = "2021"
license = "MIT"
description = "Virtual Harness Toolkit"
repository = "https://github.com/arkedge/kble"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
readme.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = { workspace = true }
futures = { workspace = true }
anyhow.workspace = true
futures.workspace = true
pin-project = "1"
tokio = { workspace = true, features = ["full"] }
async-trait = "0.1"
url = { version = "2", features = ["serde"] }
tokio-tungstenite = { workspace = true }
clap = { version = "4", features = ["derive"] }
serde = { version = "1", features = ["derive"]}
tokio-tungstenite.workspace = true
clap.workspace = true
serde.workspace = true
serde_yaml = "0.9"
serde_with = "3.0"