# 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_common" version = "0.9.0" authors = ["Joakim FrostegÄrd "] description = "aquatic BitTorrent tracker common code" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/greatest-ape/aquatic" [lib] name = "aquatic_common" [dependencies.ahash] version = "0.8" [dependencies.anyhow] version = "1" [dependencies.aquatic_toml_config] version = "0.9.0" [dependencies.arc-swap] version = "1" [dependencies.duplicate] version = "1" [dependencies.git-testament] version = "0.2" [dependencies.hashbrown] version = "0.14" [dependencies.hex] version = "0.4" [dependencies.hwloc] version = "0.5" optional = true [dependencies.indexmap] version = "2" [dependencies.libc] version = "0.2" [dependencies.log] version = "0.4" [dependencies.metrics] version = "0.22" optional = true [dependencies.metrics-exporter-prometheus] version = "0.14" features = ["http-listener"] optional = true default-features = false [dependencies.metrics-util] version = "0.16" optional = true [dependencies.privdrop] version = "0.5" [dependencies.rand] version = "0.8" features = ["small_rng"] [dependencies.rustls] version = "0.23" optional = true [dependencies.rustls-pemfile] version = "2" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.simplelog] version = "0.12" [dependencies.tokio] version = "1" features = [ "rt", "net", "time", ] optional = true [dependencies.toml] version = "0.5" [features] cpu-pinning = ["dep:hwloc"] prometheus = [ "dep:metrics", "dep:metrics-util", "dep:metrics-exporter-prometheus", "dep:tokio", ] rustls = [ "dep:rustls", "rustls-pemfile", ]