-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathCargo.toml
More file actions
96 lines (89 loc) · 3.1 KB
/
Cargo.toml
File metadata and controls
96 lines (89 loc) · 3.1 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[package]
name = "mostro"
version = "0.15.6"
edition = "2021"
license = "MIT"
authors = ["Francisco Calderón <negrunch@grunch.dev>"]
description = "Lightning Network peer-to-peer nostr platform"
homepage = "https://mostro.network"
repository = "https://github.com/MostroP2P/mostro"
[[bin]]
name = "mostrod"
path = "src/main.rs"
[features]
default = []
startos = []
# cargo release configuration
[package.metadata.release]
# (Default: true) Set to false to prevent automatically running `cargo publish`.
publish = false
# (Default: true) Set to false to prevent automatically pushing commits and tags to the Git remote.
push = true
# (Default: true) Run `cargo test` before release? Highly recommended.
verify = true
# (Default: true) Create a Git tag for the release (e.g., v0.2.1)? You usually want this.
tag = true
# (Default: false) Sign the release commit with GPG?
sign-commit = true
# (Default: false) Sign the release tag with GPG?
sign-tag = true
# Use 'allow-branch' if you release from other branches. Check defaults if needed.
allow-branch = ["main"]
# Generate CHANGELOG.md before creating the release tag (only during actual release, not dry-run)
pre-release-hook = [
"sh",
"-c",
"cargo fmt --all && cargo clippy --all-targets --all-features -- -D warnings && if [ -n \"${GITHUB_TOKEN:-}\" ]; then GITHUB_TOKEN=\"$GITHUB_TOKEN\" git cliff --unreleased --github-repo MostroP2P/mostro -o CHANGELOG.md --tag {{version}}; else git cliff --unreleased -o CHANGELOG.md --tag {{version}}; fi && if [ \"$DRY_RUN\" != \"true\" ]; then git diff --quiet CHANGELOG.md || git add CHANGELOG.md && git commit -m \"Update CHANGELOG for version {{version}}\"; else echo \"DRY RUN: Skip git add and commit\"; fi",
]
[dependencies]
chrono = "0.4.35"
easy-hasher = "2.2.1"
lightning-invoice = { version = "0.33.1", features = ["std"] }
nostr-sdk = { version = "0.43.0", features = ["nip59"] }
serde = { version = "1.0.210" }
toml = "0.9.5"
serde_json = "1.0.128"
sqlx = { version = "0.6.2", features = [
"runtime-tokio-rustls",
"sqlite",
"macros",
"chrono",
"uuid",
"offline",
] }
sqlx-crud = { version = "0.4.0", features = ["runtime-tokio-rustls"] }
tokio = { version = "1.47.1", features = ["full"] }
fedimint-tonic-lnd = "0.3.0"
uuid = { version = "1.17.0", features = [
"v4",
"fast-rng",
"macro-diagnostics",
"serde",
] }
reqwest = { version = "0.12.1", default-features = false, features = [
"json",
"rustls-tls",
] }
mostro-core = { version = "0.6.57", features = ["sqlx"] }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
clap = { version = "4.5.45", features = ["derive"] }
lnurl-rs = { version = "0.9.0", default-features = false, features = ["ureq"] }
once_cell = "1.20.2"
bitcoin = "0.32.5"
rpassword = "7.3.1"
argon2 = "0.5"
secrecy = "0.10.0"
dirs = "6.0.0"
clearscreen = "4.0.1"
tonic = "0.14.2"
prost = "0.14.1"
tonic-prost = "0.14.1"
[dev-dependencies]
tokio = { version = "1.47.1", features = ["full", "test-util", "macros"] }
axum = "0.8.4"
tower-http = { version = "0.6.6", features = ["cors"] }
bech32 = "0.11.0"
serial_test = "3.2"
[build-dependencies]
tonic-prost-build = "0.14.1"