9fa97ebb5c
Test and build / test_floonet-rs (push) Has been cancelled
nostr-rs-relay + a default-deny admission pipeline (kinds 0,3,5,13,1059, 10002,10050,27235 only), NIP-42 auth, neutral NIP-11, a built-in name authority (paid names via GoblinPay), and a config-toggled co-located mixnet exit supervisor. Single binary + installer + hardened systemd, or Docker Compose. Relay core untouched (additive admission + authority).
21 lines
532 B
Rust
21 lines
532 B
Rust
use clap::Parser;
|
|
|
|
#[derive(Parser)]
|
|
#[command(about = "A nostr relay written in Rust", author = env!("CARGO_PKG_AUTHORS"), version = env!("CARGO_PKG_VERSION"))]
|
|
pub struct CLIArgs {
|
|
#[arg(
|
|
short,
|
|
long,
|
|
help = "Use the <directory> as the location of the database",
|
|
required = false
|
|
)]
|
|
pub db: Option<String>,
|
|
#[arg(
|
|
short,
|
|
long,
|
|
help = "Use the <file name> as the location of the config file",
|
|
required = false
|
|
)]
|
|
pub config: Option<String>,
|
|
}
|