Skip to content

Commit 820958a

Browse files
committed
Fix CI
1 parent 36292dc commit 820958a

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535
- name: Build | Fmt Check
3636
run: cargo fmt -- --check
3737
- name: Build | Clippy
38-
run: cargo clippy --features std,embedded-svc,edge-nal-embassy --examples --no-deps -- -Dwarnings
38+
run: cargo clippy --features std,embedded-svc,edge-nal-embassy/all --examples --no-deps -- -Dwarnings
3939
- name: Build | Clippy - defmt
40-
run: cargo clippy --features std,embedded-svc,edge-nal-embassy,defmt --no-deps -- -Dwarnings
40+
run: cargo clippy --features std,embedded-svc,edge-nal-embassy/all,defmt --no-deps -- -Dwarnings
4141
- name: Build | Clippy - log
42-
run: cargo clippy --features std,embedded-svc,edge-nal-embassy,log --examples --no-deps -- -Dwarnings
42+
run: cargo clippy --features std,embedded-svc,edge-nal-embassy/all,log --examples --no-deps -- -Dwarnings
4343
- name: Build | Default
4444
run: cargo build --features log
4545
- name: Build | Non-default

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ rust-version = "1.83"
1515
default = ["io"]
1616
async-io-mini = ["std", "edge-nal-std/async-io-mini"]
1717
std = ["io", "edge-captive/std", "edge-dhcp/std", "edge-http/std", "edge-mdns/std", "edge-raw/std", "edge-mqtt", "edge-ws/std", "edge-nal-std"]
18-
embassy = ["io", "edge-nal-embassy"]
18+
embassy = ["io", "edge-nal-embassy/all"]
1919
io = ["edge-captive/io", "edge-dhcp/io", "edge-http/io", "edge-mdns/io", "edge-raw/io", "edge-ws/io", "edge-nal"]
2020
log = ["edge-captive/log", "edge-dhcp/log", "edge-http/log", "edge-mdns/log", "edge-raw/log", "edge-ws/log", "edge-nal-embassy?/log"]
2121
defmt = ["edge-captive/defmt", "edge-dhcp/defmt", "edge-http/defmt", "edge-mdns/defmt", "edge-raw/defmt", "edge-ws/defmt", "edge-nal-embassy?/defmt"]

edge-nal-embassy/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ categories = [
1515
]
1616

1717
[features]
18-
default = ["proto-ipv4", "proto-ipv6", "medium-ethernet", "dns", "udp", "tcp", "multicast"]
18+
default = ["all"]
19+
all = ["proto-ipv4", "proto-ipv6", "medium-ethernet", "medium-ip", "dns", "udp", "tcp", "multicast", "icmp", "dhcpv4", "dhcpv4-hostname"]
1920
defmt = ["dep:defmt", "heapless/defmt-03", "embassy-net/defmt"]
2021
proto-ipv4 = ["embassy-net/proto-ipv4"]
2122
proto-ipv6 = ["embassy-net/proto-ipv6"]
@@ -24,7 +25,10 @@ medium-ip = ["embassy-net/medium-ip"]
2425
dns = ["embassy-net/dns"]
2526
udp = ["embassy-net/udp"]
2627
tcp = ["embassy-net/tcp"]
28+
icmp = ["embassy-net/icmp"]
2729
multicast = ["embassy-net/multicast"]
30+
dhcpv4 = ["embassy-net/dhcpv4"]
31+
dhcpv4-hostname = ["embassy-net/dhcpv4-hostname"]
2832

2933
[dependencies]
3034
log = { version = "0.4", default-features = false, optional = true }

0 commit comments

Comments
 (0)