# 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" name = "nostr-relay" version = "0.4.7" authors = ["Arron zhang "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A high-performance and scalable nostr relay library." homepage = "https://github.com/rnostr" readme = "README.md" keywords = [ "nostr", "nostr-relay", ] license = "MIT OR Apache-2.0" repository = "https://github.com/rnostr/rnostr.git" [lib] name = "nostr_relay" path = "src/lib.rs" [[example]] name = "demo" path = "examples/demo.rs" [dependencies.actix] version = "0.13.5" [dependencies.actix-cors] version = "0.7.0" [dependencies.actix-http] version = "3.9.0" [dependencies.actix-web] version = "4.9.0" [dependencies.actix-web-actors] version = "4.3.1" [dependencies.bytes] version = "1.7.1" [dependencies.bytestring] version = "1.3.1" [dependencies.config] version = "0.14.0" features = [ "toml", "json", ] default-features = false [dependencies.duration-str] version = "0.11.2" default-features = false [dependencies.hex] version = "0.4.3" [dependencies.metrics] version = "0.23.0" [dependencies.nostr-db] version = "0.4.5" [dependencies.notify] version = "6.1.1" [dependencies.num_cpus] version = "1.16.0" [dependencies.parking_lot] version = "0.12.3" [dependencies.serde] version = "1.0.209" features = ["derive"] [dependencies.serde_json] version = "1.0.127" [dependencies.thiserror] version = "1.0.63" [dependencies.tracing] version = "0.1.40" [dev-dependencies.actix-rt] version = "2.10.0" [dev-dependencies.actix-test] version = "0.1.5" [dev-dependencies.anyhow] version = "1.0.86" [dev-dependencies.futures-util] version = "0.3.30" [dev-dependencies.temp-env] version = "0.3.6" [dev-dependencies.tempfile] version = "3.12.0" [dev-dependencies.tracing-subscriber] version = "0.3.18" [features] search = ["nostr-db/search"]