diff --git a/Cargo.toml b/Cargo.toml index f5c1f10..594db40 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,3 +33,6 @@ codegen-units = 1 # Reduce codegen units to improve optimizations [dependencies] bitflags = "2.4.2" arrayvec = "0.7.4" + +[workspace] +members = [".", "cli"] diff --git a/cli/Cargo.toml b/cli/Cargo.toml new file mode 100644 index 0000000..c53e0f5 --- /dev/null +++ b/cli/Cargo.toml @@ -0,0 +1,24 @@ +[package] +name = "m-bus-parser-cli" +version = "0.0.0" +edition = "2021" +description = "A cli to use the library for parsing M-Bus frames" +license = "MIT" +homepage = "https://maebli.github.io/" +repository = "https://github.com/maebli/m-bus-parser" +readme = "README.md" +author = "Michael Aebli" +keywords = ["m-bus", "parser", "parse", "cli"] + +[dev-dependencies] + +[build-dependencies] + +[features] + +[profile.release] +opt-level = 'z' # Optimize for size +lto = true # Enable Link Time Optimization +codegen-units = 1 # Reduce codegen units to improve optimizations + +[dependencies]