upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/http/nip11.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/nip11.rs')
-rw-r--r--src/http/nip11.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/http/nip11.rs b/src/http/nip11.rs
index 593ef9a..901b676 100644
--- a/src/http/nip11.rs
+++ b/src/http/nip11.rs
@@ -62,8 +62,11 @@ impl RelayInformationDocument {
62 11, // NIP-11: Relay information document (this!) 62 11, // NIP-11: Relay information document (this!)
63 34, // NIP-34: Git repository announcements 63 34, // NIP-34: Git repository announcements
64 ], 64 ],
65 software: env!("CARGO_PKG_NAME").to_string(), 65 software: "https://gitworkshop.dev/danconwaydev.com/ngit-grasp".to_string(),
66 version: env!("CARGO_PKG_VERSION").to_string(), 66 version: match option_env!("GIT_COMMIT_SHORT") {
67 Some(commit) => format!("{}-{}", env!("CARGO_PKG_VERSION"), commit),
68 None => env!("CARGO_PKG_VERSION").to_string(),
69 },
67 70
68 // GRASP-01 Extensions 71 // GRASP-01 Extensions
69 supported_grasps: vec!["GRASP-01".to_string()], 72 supported_grasps: vec!["GRASP-01".to_string()],