# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "sans-io-runtime" version = "0.3.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An opinionated SANS-IO runtime for SDN and media servers" readme = "README.md" license = "MIT" repository = "https://github.com/8xFF/sans-io-runtime" [lib] name = "sans_io_runtime" path = "src/lib.rs" [[example]] name = "benchmark_ext" path = "examples/benchmark_ext.rs" [[example]] name = "multi_types" path = "examples/multi_types.rs" [[example]] name = "udp_echo_client" path = "examples/udp_echo_client.rs" [[example]] name = "udp_echo_server" path = "examples/udp_echo_server.rs" [[example]] name = "webrtc" path = "examples/webrtc.rs" [dependencies.convert-enum] version = "0.1" [dependencies.derive_more] version = "1.0" features = ["full"] [dependencies.heapless] version = "0.8" [dependencies.log] version = "0.4" [dependencies.num_enum] version = "0.7" [dependencies.parking_lot] version = "0.12" [dependencies.polling] version = "3.5" optional = true [dependencies.socket2] version = "0.5" features = ["all"] optional = true [dependencies.tun] version = "0.6" optional = true [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.mockall] version = "0.13" [dev-dependencies.signal-hook] version = "0.3.17" [dev-dependencies.str0m] version = "0.6" [dev-dependencies.tiny_http] version = "0.12" [features] default = [ "poll-backend", "polling-backend", "udp", ] poll-backend = ["socket2"] polling-backend = [ "polling", "socket2", ] tun-tap = ["tun"] udp = []