# 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 = "2024"
name = "nostr-pubsub"
version = "0.1.1"
authors = ["Nostr Pubsub contributors"]
build = false
exclude = ["Cargo.lock"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Neutral Nostr event and source routing primitives"
documentation = "https://docs.rs/nostr-pubsub"
readme = "README.md"
license = "MIT"
resolver = "2"

[lib]
name = "nostr_pubsub"
path = "src/lib.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.nostr]
version = "0.44.3"
features = ["nip44"]

[dependencies.thiserror]
version = "2"

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"
