net: Add features for pool size and remove unwrap on smoltcp device
This commit is contained in:
committed by
Dario Nieuwenhuis
parent
6cecc6d4b5
commit
3396a51938
@ -5,6 +5,7 @@ authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
|
||||
edition = "2018"
|
||||
|
||||
[features]
|
||||
default = ["pool-4"]
|
||||
std = []
|
||||
defmt-trace = []
|
||||
defmt-debug = []
|
||||
@ -17,6 +18,11 @@ dhcpv4 = ["medium-ethernet", "smoltcp/socket-dhcpv4"]
|
||||
medium-ethernet = ["smoltcp/medium-ethernet"]
|
||||
medium-ip = ["smoltcp/medium-ip"]
|
||||
|
||||
pool-4 = []
|
||||
pool-8 = []
|
||||
pool-16 = []
|
||||
pool-32 = []
|
||||
|
||||
[dependencies]
|
||||
|
||||
defmt = { version = "0.2.0", optional = true }
|
||||
|
Reference in New Issue
Block a user