# 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.70" name = "aquatic_ws" version = "0.9.0" authors = ["Joakim FrostegÄrd "] description = "High-performance open WebTorrent tracker" readme = "./README.md" keywords = [ "webtorrent", "websocket", "peer-to-peer", "torrent", "bittorrent", ] license = "Apache-2.0" repository = "https://github.com/greatest-ape/aquatic" [lib] name = "aquatic_ws" [[bin]] name = "aquatic_ws" [dependencies.anyhow] version = "1" [dependencies.aquatic_common] version = "0.9.0" features = ["rustls"] [dependencies.aquatic_peer_id] version = "0.9.0" [dependencies.aquatic_toml_config] version = "0.9.0" [dependencies.aquatic_ws_protocol] version = "0.9.0" [dependencies.arc-swap] version = "1" [dependencies.async-tungstenite] version = "0.25" [dependencies.cfg-if] version = "1" [dependencies.futures] version = "0.3" [dependencies.futures-lite] version = "1" [dependencies.futures-rustls] version = "0.26" [dependencies.glommio] version = "0.9" [dependencies.hashbrown] version = "0.14" features = ["serde"] [dependencies.httparse] version = "1" [dependencies.indexmap] version = "2" [dependencies.log] version = "0.4" [dependencies.metrics] version = "0.22" optional = true [dependencies.metrics-util] version = "0.16" optional = true [dependencies.mimalloc] version = "0.1" optional = true default-features = false [dependencies.privdrop] version = "0.5" [dependencies.rand] version = "0.8" features = ["small_rng"] [dependencies.rustls] version = "0.23" [dependencies.rustls-pemfile] version = "2" [dependencies.serde] version = "1" features = ["derive"] [dependencies.signal-hook] version = "0.3" [dependencies.slab] version = "0.4" [dependencies.slotmap] version = "1" [dependencies.socket2] version = "0.5" features = ["all"] [dependencies.tungstenite] version = "0.21" [dev-dependencies.quickcheck] version = "1" [dev-dependencies.quickcheck_macros] version = "1" [features] default = [ "prometheus", "mimalloc", ] metrics = [ "dep:metrics", "dep:metrics-util", ] mimalloc = ["dep:mimalloc"] prometheus = [ "metrics", "aquatic_common/prometheus", ]