make tun dependency optional (#142)

* remove log crates
* remove udp/raw of smoltcp
* make tun as optional dependancy, compile for freebsd works
This commit is contained in:
Sijie.Sun
2024-06-11 09:09:32 +08:00
committed by GitHub
parent 8aa57ebc22
commit 34f832bbad
26 changed files with 310 additions and 488 deletions
Generated
-3
View File
@@ -1271,7 +1271,6 @@ dependencies = [
"http 1.1.0",
"humansize",
"indexmap 1.9.3",
"log",
"mimalloc-rust",
"network-interface",
"nix 0.27.1",
@@ -4561,8 +4560,6 @@ dependencies = [
"cfg-if",
"defmt",
"heapless 0.8.0",
"libc",
"log",
"managed",
]