# 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 = "hala-net" version = "0.1.2" description = "Hala network framework" documentation = "https://docs.rs/hala-net" license = "MIT" repository = "https://github.com/HalaOS/quictun.git" [[bench]] name = "udp_bench" harness = false [[bench]] name = "tcp_bench" harness = false [dependencies.bytes] version = "^1.5" [dependencies.future-mediator] version = "^0.1" [dependencies.futures] version = "^0.3.29" features = [ "executor", "thread-pool", ] [dependencies.hala-io-driver] version = "^0.1" [dependencies.hala-io-util] version = "^0.1" [dependencies.log] version = "^0.4" [dependencies.mio] version = "^0.8.9" features = [ "os-poll", "net", ] [dependencies.quiche] version = "^0.20.0" optional = true [dependencies.rand] version = "^0.8" features = ["getrandom"] optional = true [dependencies.ring] version = "0.17.6" features = ["std"] optional = true [dependencies.thiserror] version = "^1.0.50" [dev-dependencies.divan] version = "^0.1" [dev-dependencies.hala-io-test] version = "^0.1" [dev-dependencies.pretty_env_logger] version = "^0.5" [dev-dependencies.rand] version = "^0.8" features = ["getrandom"] [features] default = ["quice"] quice = [ "quiche", "rand", "ring", ]