Cargo Features

[dependencies]
tun2proxy = { version = "0.6.4", default-features = false, features = ["udpgw", "mimalloc"] }
default = udpgw

The udpgw feature is set by default whenever tun2proxy is added without default-features = false somewhere in the dependency tree.

udpgw default

Affects args::Args.udpgw_server, args::Args.udpgw_connections, args::Args.udpgw_keepalive, tun2proxy::udpgw

Required by the udpgw-server binary

Features from optional dependencies

mimalloc implicit feature

Enables mimalloc

mimalloc:

Performance and security oriented drop-in allocator