# 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.67.1" name = "stratum-server" version = "5.7.5" authors = ["Sean Kilgarriff sean@urkel.com"] description = "The server code for the Rust Stratum implementation" license = "Apache-2.0 OR MIT" repository = "https://github.com/OpenPoolProject/stratum" [package.metadata.release] pre-release-commit-message = "chore(server): release {{ version }}" sign-commit = false tag = false [[bench]] name = "default" harness = false [dependencies.async-trait] version = "0.1.74" [dependencies.axum] version = "0.7.4" optional = true [dependencies.bit-set] version = "0.5.3" [dependencies.bytes] version = "1.5.0" [dependencies.dashmap] version = "5.5.3" [dependencies.extended-primitives] version = "0.3.8" [dependencies.futures] version = "0.3.29" [dependencies.hyper] version = "1.1.0" optional = true [dependencies.parking_lot] version = "0.12" [dependencies.rlimit] version = "0.10.1" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0.113" [dependencies.thiserror] version = "1.0.50" [dependencies.tokio] version = "1.35.1" features = ["full"] [dependencies.tokio-stream] version = "0.1.14" features = ["net"] [dependencies.tokio-util] version = "0.7.10" features = ["time"] [dependencies.tower-http] version = "0.5.1" features = ["cors"] optional = true [dependencies.tracing] version = "0.1.40" [dependencies.uuid] version = "1.7.0" features = [ "serde", "v4", "fast-rng", "macro-diagnostics", ] [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.criterion] version = "0.5" features = ["async_tokio"] [dev-dependencies.dhat] version = "0.3.2" [dev-dependencies.jemallocator] version = "0.5.4" [dev-dependencies.tokio] version = "1" features = ["test-util"] [dev-dependencies.tokio-test] version = "0.4.3" [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [features] api = [ "axum", "hyper", "tower-http", ] btcagent = [] default = [ "tcp", "api", "v1", ] dhat-heap = [] tcp = [] upstream = [] v1 = [] v2 = []