Skip to content

Commit

Permalink
chore(coap): select coap feature through laze
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Jan 30, 2025
1 parent 2e8062d commit 1cdd055
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/coap-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ workspace = true

[dependencies]
heapless = { workspace = true }
ariel-os = { path = "../../src/ariel-os", features = ["coap"] }
ariel-os = { path = "../../src/ariel-os" }
ariel-os-boards = { path = "../../src/ariel-os-boards" }
embedded-nal-coap = { workspace = true }
coap-request = "0.2.0-alpha.2"
Expand Down
2 changes: 1 addition & 1 deletion examples/coap-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ workspace = true
[dependencies]
embassy-sync = { workspace = true }
heapless = { workspace = true }
ariel-os = { path = "../../src/ariel-os", features = ["coap"] }
ariel-os = { path = "../../src/ariel-os" }
ariel-os-boards = { path = "../../src/ariel-os-boards" }
coap-message = "0.3.2"
coap-message-demos = { version = "0.4.0", default-features = false }
Expand Down
4 changes: 4 additions & 0 deletions laze-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,10 @@ modules:
depends:
- random
- network
env:
global:
FEATURES:
- ariel-os/coap

- name: coap-server
help: Support for applications to set up own CoAP server handlers.
Expand Down
2 changes: 1 addition & 1 deletion tests/coap-blinky/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false
workspace = true

[dependencies]
ariel-os = { path = "../../src/ariel-os", features = ["coap", "udp"] }
ariel-os = { path = "../../src/ariel-os" }
ariel-os-boards = { path = "../../src/ariel-os-boards" }
coap-handler-implementations = "0.5.0"

Expand Down
2 changes: 1 addition & 1 deletion tests/coap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ workspace = true
[dependencies]
embassy-sync = { workspace = true }
heapless = { workspace = true }
ariel-os = { path = "../../src/ariel-os", features = ["coap", "udp"] }
ariel-os = { path = "../../src/ariel-os" }
ariel-os-boards = { path = "../../src/ariel-os-boards" }
embassy-futures = "0.1.1"
embedded-nal-coap = { workspace = true }
Expand Down

0 comments on commit 1cdd055

Please sign in to comment.