113 lines
2.2 KiB
TOML
113 lines
2.2 KiB
TOML
# 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.0"
|
|
name = "nostr-relay-pool"
|
|
version = "0.44.3"
|
|
authors = [
|
|
"Yuki Kishimoto <yukikishimoto@protonmail.com>",
|
|
"Rust Nostr Developers",
|
|
]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Nostr Relay Pool"
|
|
homepage = "https://github.com/rust-nostr/nostr"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"nostr",
|
|
"relay",
|
|
"pool",
|
|
]
|
|
license = "MIT"
|
|
repository = "https://github.com/rust-nostr/nostr.git"
|
|
|
|
[features]
|
|
default = []
|
|
tor = ["async-wsocket/tor"]
|
|
|
|
[lib]
|
|
name = "nostr_relay_pool"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "pool"
|
|
path = "examples/pool.rs"
|
|
|
|
[dependencies.async-utility]
|
|
version = "0.3"
|
|
|
|
[dependencies.async-wsocket]
|
|
version = "0.13"
|
|
features = ["socks"]
|
|
|
|
[dependencies.atomic-destructor]
|
|
version = "0.3"
|
|
default-features = false
|
|
|
|
[dependencies.hex]
|
|
version = "0.4"
|
|
features = ["std"]
|
|
default-features = false
|
|
|
|
[dependencies.lru]
|
|
version = "0.16"
|
|
default-features = false
|
|
|
|
[dependencies.negentropy]
|
|
version = "0.5"
|
|
features = ["std"]
|
|
default-features = false
|
|
|
|
[dependencies.nostr]
|
|
version = "0.44"
|
|
features = ["std"]
|
|
default-features = false
|
|
|
|
[dependencies.nostr-database]
|
|
version = "0.44"
|
|
default-features = false
|
|
|
|
[dependencies.tokio]
|
|
version = ">=1.37"
|
|
features = [
|
|
"macros",
|
|
"sync",
|
|
]
|
|
default-features = false
|
|
|
|
[dependencies.tracing]
|
|
version = "0.1"
|
|
default-features = false
|
|
|
|
[dev-dependencies.nostr-relay-builder]
|
|
version = "0.44"
|
|
default-features = false
|
|
|
|
[dev-dependencies.tokio]
|
|
version = ">=1.37"
|
|
features = ["rt-multi-thread"]
|
|
default-features = false
|
|
|
|
[dev-dependencies.tracing-subscriber]
|
|
version = "0.3"
|
|
features = ["env-filter"]
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
priority = 0
|
|
check-cfg = ["cfg(bench)"]
|