Skip to content

Commit

Permalink
Merge pull request #21 from okhsunrog/main
Browse files Browse the repository at this point in the history
Fix rust-analyzer error test
  • Loading branch information
fmckeogh authored Jun 18, 2024
2 parents ad7d271 + 668396b commit 543e166
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fusb302b/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ homepage = "https://github.com/fmckeogh/usb-pd-rs"
license = "MIT"
keywords = ["nostd", "usb-pd", "driver", "embedded", "fusb302b"]

[lib]
harness = false # do not use the built-in cargo test harness -> resolve rust-analyzer errors
test = false

[dependencies]
byteorder = { version = "1.5.0", default-features = false }
embedded-hal-async = "1.0.0"
Expand Down
5 changes: 5 additions & 0 deletions pd-interceptor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name = "pd-interceptor"
version = "0.1.0"
edition = "2021"

[[bin]]
name = "pd-interceptor"
harness = false # do not use the built-in cargo test harness -> resolve rust-analyzer errors
test = false

[dependencies]
cortex-m = { version = "0.7.7", features = ["critical-section-single-core"] }
cortex-m-rt = "0.7.4"
Expand Down
4 changes: 4 additions & 0 deletions usb-pd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ homepage = "https://github.com/fmckeogh/usb-pd-rs"
license = "MIT"
keywords = ["nostd", "usb-pd", "power", "embedded"]

[lib]
harness = false # do not use the built-in cargo test harness -> resolve rust-analyzer errors
test = false

[dependencies]
proc-bitfield = "0.4.0"
byteorder = { version = "1.5.0", default-features = false }
Expand Down

0 comments on commit 543e166

Please sign in to comment.