-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (51 loc) · 1.86 KB
/
Copy pathCargo.toml
File metadata and controls
55 lines (51 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[package]
name = "nostrd"
version = "0.1.0-alpha.1"
edition = "2024"
description = "A daemon for hosting and operating Nostr services"
authors = ["Yuki Kishimoto <yukikishimoto@protonmail.com>"]
homepage = "https://github.com/nostrdevkit/nostrd"
repository = "https://github.com/nostrdevkit/nostrd.git"
license = "MIT"
readme = "README.md"
rust-version = "1.85.0"
keywords = ["nostr", "daemon", "cli"]
[dependencies]
clap = { version = "4.6.4", features = ["derive", "env"] }
hyper = { version = "1.9.0", features = ["http1", "server"] }
hyper-util = { version = "0.1.20", features = ["tokio"] }
nostr = "=0.45.0-alpha.6"
nostr-database = "=0.45.0-alpha.6"
nostr-lmdb = "=0.45.0-alpha.6"
nostr-sdk = { version = "=0.45.0-alpha.6", features = ["local-relay"] }
serde = { version = "1.0.228", features = ["derive"] }
thiserror = "2.0.18"
tokio = { version = "1.52.3", features = ["macros", "net", "rt-multi-thread", "signal"] }
tokio-util = { version = "0.7.18", features = ["rt"] }
toml = "0.9.5"
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.23", features = ["env-filter", "json"] }
tungstenite = { version = "0.28.0", default-features = false, features = ["handshake"] }
[dev-dependencies]
tempfile = "3.23.0"
[package.metadata.deb]
name = "nostrd"
maintainer = "Yuki Kishimoto <yukikishimoto@protonmail.com>"
copyright = "2026, Yuki Kishimoto"
license-file = ["LICENSE", "4"]
extended-description = """\
nostrd is a daemon for hosting and operating Nostr services. Its first service \
is a persistent Nostr relay backed by LMDB."""
section = "net"
priority = "optional"
maintainer-scripts = "packaging/debian"
assets = [
["target/release/nostrd", "usr/bin/", "755"],
["packaging/nostrd.toml", "etc/nostrd/nostrd.toml", "644"],
["packaging/nostrd.service", "lib/systemd/system/nostrd.service", "644"],
]
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true