refactor: project structure (#9)
Split up project into multiple crates and use a Cargo workspace.
This commit is contained in:
+7
-42
@@ -1,45 +1,10 @@
|
||||
[package]
|
||||
name = "aoostar-rs"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
[workspace]
|
||||
members = ["crates/*"]
|
||||
resolver = "3"
|
||||
|
||||
[workspace.package]
|
||||
rust-version = "1.88"
|
||||
edition = "2024"
|
||||
authors = ["Markus Zehnder"]
|
||||
license = "MIT or Apache-2.0"
|
||||
|
||||
[profile.release]
|
||||
strip = true # Automatically strip symbols from the binary.
|
||||
|
||||
[[bin]]
|
||||
name = "asterctl"
|
||||
path = "src/main.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "sysinfo"
|
||||
path = "src/bin/sysinfo.rs"
|
||||
required-features = ["sysinfo"]
|
||||
|
||||
[features]
|
||||
sysinfo = ["dep:sysinfo"]
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.98"
|
||||
bytes = "1.10.1"
|
||||
clap = { version = "4.5.42", features = ["derive"] }
|
||||
serialport = "4.7.2"
|
||||
image = "0.25.6"
|
||||
imageproc = { version = "0.25.0", default-features = false }
|
||||
ab_glyph = { version = "0.2.31", default-features = false, features = ["std"] }
|
||||
log = "0.4.27"
|
||||
env_logger = "0.11.8"
|
||||
notify = "8.2.0"
|
||||
regex = "1.11"
|
||||
serde = { version = "1.0.219", features = ["derive"] }
|
||||
serde_json = "1.0.142"
|
||||
serde_repr = "0.1.20"
|
||||
once_cell = "1.21.3"
|
||||
sysinfo = { version = "0.37.0", optional = true }
|
||||
itertools = "0.14"
|
||||
tempfile = "3"
|
||||
|
||||
[dev-dependencies]
|
||||
rstest = "0.26"
|
||||
repository = "https://github.com/zehnm/aoostar-rs"
|
||||
|
||||
Reference in New Issue
Block a user