embassy-net: Add std and alloc features
These are passed through to smoltcp, which otherwise won't handle
some match cases when managed/std feature is enabled externally.
--> .../index.crates.io-1949cf8c6b5b557f/smoltcp-0.12.0/src/iface/socket_set.rs:82:15
|
82 | match &mut self.sockets {
| ^^^^^^^^^^^^^^^^^ pattern `&mut ManagedSlice::Owned(_)` not covered
This commit is contained in:
parent
3e03d693a7
commit
c7e997a8d8
@ -61,6 +61,10 @@ medium-ip = ["smoltcp/medium-ip"]
|
||||
medium-ieee802154 = ["smoltcp/medium-ieee802154"]
|
||||
## Enable multicast support (for both ipv4 and/or ipv6 if enabled)
|
||||
multicast = ["smoltcp/multicast"]
|
||||
## Enable smoltcp std feature (necessary if using "managed" crate std feature)
|
||||
std = ["smoltcp/std"]
|
||||
## Enable smoltcp alloc feature (necessary if using "managed" crate alloc feature)
|
||||
alloc = ["smoltcp/alloc"]
|
||||
|
||||
[dependencies]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user