[package] name = "sans-io-runtime" version = "0.3.0" edition = "2021" description = "An opinionated SANS-IO runtime for SDN and media servers" repository = "https://github.com/8xFF/sans-io-runtime" license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] derive_more = { version = "1.0", features = ["full"] } heapless = "0.8" log = "0.4" parking_lot = "0.12" convert-enum = "0.1" num_enum = "0.7" polling = { version = "3.5", optional = true } socket2 = { version = "0.5", optional = true, features = ["all"] } tun = { version = "0.6", optional = true } [dev-dependencies] mockall = "0.13" env_logger = "0.11" tiny_http = "0.12" str0m = "0.6" signal-hook = "0.3.17" [features] default = ["poll-backend", "polling-backend", "udp"] tun-tap = ["tun"] udp = [] polling-backend = ["polling", "socket2"] poll-backend = ["socket2"]