# 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" rust-version = "1.64" name = "aquatic_udp" version = "0.9.0" authors = ["Joakim FrostegÄrd "] description = "High-performance open UDP BitTorrent tracker" readme = "./README.md" keywords = [ "udp", "server", "peer-to-peer", "torrent", "bittorrent", ] license = "Apache-2.0" repository = "https://github.com/greatest-ape/aquatic" [lib] name = "aquatic_udp" [[bin]] name = "aquatic_udp" [dependencies.anyhow] version = "1" [dependencies.aquatic_common] version = "0.9.0" [dependencies.aquatic_toml_config] version = "0.9.0" [dependencies.aquatic_udp_protocol] version = "0.9.0" [dependencies.arrayvec] version = "0.7" [dependencies.blake3] version = "1" [dependencies.cfg-if] version = "1" [dependencies.compact_str] version = "0.7" [dependencies.constant_time_eq] version = "0.3" [dependencies.crossbeam-channel] version = "0.5" [dependencies.crossbeam-utils] version = "0.8" [dependencies.getrandom] version = "0.2" [dependencies.hashbrown] version = "0.14" default-features = false [dependencies.hdrhistogram] version = "7" [dependencies.hex] version = "0.4" [dependencies.io-uring] version = "0.6" optional = true [dependencies.libc] version = "0.2" [dependencies.log] version = "0.4" [dependencies.metrics] version = "0.22" optional = true [dependencies.mimalloc] version = "0.1" optional = true default-features = false [dependencies.mio] version = "0.8" features = [ "net", "os-poll", ] [dependencies.num-format] version = "0.4" [dependencies.parking_lot] version = "0.12" [dependencies.rand] version = "0.8" features = ["small_rng"] [dependencies.serde] version = "1" features = ["derive"] [dependencies.signal-hook] version = "0.3" [dependencies.slab] version = "0.4" [dependencies.socket2] version = "0.5" features = ["all"] [dependencies.time] version = "0.3" features = ["formatting"] [dependencies.tinytemplate] version = "1" [dev-dependencies.quickcheck] version = "1" [dev-dependencies.quickcheck_macros] version = "1" [dev-dependencies.tempfile] version = "3" [features] default = [ "prometheus", "mimalloc", ] io-uring = ["dep:io-uring"] mimalloc = ["dep:mimalloc"] prometheus = [ "metrics", "aquatic_common/prometheus", ]