[package]
name = "gnostr-query"
version = "0.0.11"
authors = ["gnostr-org <admin@gnostr.org>"]
description = "gnostr-query: retrieve nostr events."
repository = "https://github.com/gnostr-org/gnostr-query.git"
homepage = "https://github.com/gnostr-org/gnostr-query"
documentation = "https://github.com/gnostr-org/gnostr-query"
edition = "2021"
license = "MIT"
categories = ["command-line-utilities"]
keywords = ["terminal", "input", "event", "cli"]

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

[[bin]]
name = "gnostr_query"
path = "src/main.rs"

[dependencies]
clap = { version = "4", features = ["derive"] }
futures = "0.3"
gnostr-crawler = { version = "0.0.14", path = "../crawler" }
log = "0.4.27"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1", features = ["full"] }
tokio-tungstenite = { version = "0.13.0", features = ["tls"] }
url = "2.2"

# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
