Skip to content

Commit

Permalink
Merge pull request #48 from taks/fix-unresolved-import
Browse files Browse the repository at this point in the history
Use once_cell/std
  • Loading branch information
taks authored Nov 18, 2023
2 parents 2b34def + 5753c81 commit 8da4781
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ opt-level = "z"
[features]
default = ["std"]

std = ["esp-idf-svc/std", "esp-idf-hal/std", "critical-section/std"]
no_std = ["esp-idf-hal/critical-section"]
std = ["esp-idf-svc/std", "esp-idf-hal/std", "once_cell/std"]
no_std = ["once_cell/critical-section", "esp-idf-hal/critical-section"]

[dependencies]
log = { version = "0.4", default-features = false }
Expand All @@ -37,9 +37,8 @@ esp-idf-svc = { version = "0.47", default-features = false, features = ["alloc"]
embedded-svc = { version = "0.26", default-features = false }

bitflags = { version = "2.4.1" }
critical-section = { version = "1.1.1" }
embassy-sync = { version = "0.3.0" }
once_cell = { version = "1.16.0", default-features = false, features = ["critical-section"] }
once_cell = { version = "1.16.0", default-features = false }
uuid = { version = "1.2.2", default-features = false, features = ["macro-diagnostics"] }

[dev-dependencies]
Expand Down

0 comments on commit 8da4781

Please # to comment.