Cargo Features

[dependencies]
easytier = { version = "1.2.3", default-features = false, features = ["full", "mips", "wireguard", "quic", "mimalloc", "aes-gcm", "tun", "websocket", "smoltcp", "socks5"] }
default = mimalloc, smoltcp, socks5, tun, websocket, wireguard

These default features are set whenever easytier is added without default-features = false somewhere in the dependency tree.

full = aes-gcm, mimalloc, quic, smoltcp, socks5, tun, websocket, wireguard
mips = aes-gcm, mimalloc, smoltcp, socks5, tun, wireguard
wireguard default full? mips?

Enables boringtun-easytier

for wireguard

and ring

for encryption

Affects encrypt::ring_aes_gcm, tunnel::wireguard, vpn_portal::wireguard

quic full?

Enables quinn, rcgen ^0.11.1, and rustls

Affects tunnel::quic, tunnel::insecure_tls

mimalloc default full? mips?

Enables mimalloc-rust

aes-gcm full? mips?

Enables aes-gcm

Affects encrypt::aes_gcm

tun default full? mips?

Enables tun-easytier

for tap device

Affects instance::virtual_nic

websocket default full?

Enables http, rcgen ^0.11.1, rustls, tokio-rustls, and tokio-websockets ^0.8

tokio-websockets:

for websocket

Affects tunnel::websocket, tunnel::insecure_tls

smoltcp default full? mips?

Enables parking_lot and smoltcp

Affects gateway::tokio_smoltcp

socks5 default full? mips?

Enables smoltcp

Affects gateway::fast_socks5, gateway::socks5