Skip to content

Commit

Permalink
chore: add protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
acpiccolo committed Mar 9, 2024
1 parent 3b3ffab commit 68583fa
Show file tree
Hide file tree
Showing 7 changed files with 905 additions and 785 deletions.
7 changes: 4 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ required-features = ["bin-dependencies"]

[features]
default = ["bin-dependencies"]
serialport = ["dep:serialport", "dep:anyhow"]
bin-dependencies = [
"dep:anyhow",
"dep:log",
"serialport",
"clap/derive",
"dep:clap-verbosity-flag",
"dep:clap-num",
Expand All @@ -25,10 +26,10 @@ bin-dependencies = [
]

[dependencies]
serialport = "4"
# Requirements for bin
log = { version = "0.4" }
anyhow = { version = "1", optional = true }
log = { version = "0.4", optional = true }
serialport = { version = "4", optional = true }
clap = { version = "4", optional = true }
clap-verbosity-flag = { version = "2", optional = true }
clap-num = { version = "1", optional = true }
Expand Down
Loading

0 comments on commit 68583fa

Please sign in to comment.