v0.0.25 - Renamed project self-identity from n_signer to signer (get_info RPC name, Cargo.toml description, lib.rs docs)
This commit is contained in:
Generated
+1
-1
@@ -2207,7 +2207,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "signer"
|
||||
version = "0.0.23"
|
||||
version = "0.0.24"
|
||||
dependencies = [
|
||||
"base64",
|
||||
"chacha20poly1305",
|
||||
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
[package]
|
||||
name = "signer"
|
||||
version = "0.0.24"
|
||||
version = "0.0.25"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
description = "Attended Nostr signing daemon — Rust port of n_signer"
|
||||
description = "Attended Nostr signing daemon — Rust port of the C signer"
|
||||
|
||||
[[bin]]
|
||||
name = "signer"
|
||||
|
||||
+2
-2
@@ -594,7 +594,7 @@ fn handle_otp_verb(id: &str, method: &str, _params: &[Value]) -> String {
|
||||
|
||||
fn handle_get_info(id: &str) -> String {
|
||||
let info = json!({
|
||||
"name": "n_signer",
|
||||
"name": "signer",
|
||||
"implementation": "host",
|
||||
"version": crate::VERSION,
|
||||
"api": "json-rpc-2.0",
|
||||
@@ -756,7 +756,7 @@ mod tests {
|
||||
let req = r#"{"id":"1","method":"get_info","params":[]}"#;
|
||||
let resp = handle_request(&mut ctx, req);
|
||||
assert!(resp.contains("\"result\""));
|
||||
assert!(resp.contains("n_signer"));
|
||||
assert!(resp.contains("signer"));
|
||||
assert!(resp.contains("json-rpc-2.0"));
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
//! # signer — Attended Nostr signing daemon
|
||||
//!
|
||||
//! Rust port of the C-based `n_signer`. Holds signing key material in
|
||||
//! Rust port of the C-based `signer`. Holds signing key material in
|
||||
//! locked memory and signs on request via a JSON-RPC 2.0 API over
|
||||
//! multiple transports (Unix socket, TCP, HTTP, stdio, qrexec).
|
||||
//!
|
||||
@@ -31,4 +31,4 @@ pub mod error;
|
||||
pub use error::SignerError;
|
||||
|
||||
/// Version string (matches C NSIGNER_VERSION).
|
||||
pub const VERSION: &str = "v0.0.24";
|
||||
pub const VERSION: &str = "v0.0.25";
|
||||
|
||||
Reference in New Issue
Block a user