From 92e5330c5167b5c9ebe8651a80c8cce1c96f9adb Mon Sep 17 00:00:00 2001 From: Keysat Date: Wed, 17 Jun 2026 15:24:55 -0500 Subject: [PATCH] Fix README crate name, version, and validate example --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 23b0758..3ed8f23 100644 --- a/README.md +++ b/README.md @@ -12,12 +12,14 @@ Rust client for [`Keysat`](https://github.com/keysat-xyz/keysat) — a Bitcoin-n ```toml [dependencies] -licensing-client = "0.1" +keysat-licensing-client = "0.3" # Or, with the online features: -licensing-client = { version = "0.1", features = ["online"] } +keysat-licensing-client = { version = "0.3", features = ["online"] } ``` +Requires Rust 1.75+. + ## 5-line offline check ```rust @@ -38,7 +40,7 @@ use licensing_client::online::Client; let client = Client::new("https://license.example.com")?; let result = client - .validate(&key_from_user, Some("my-product"), Some(&machine_fingerprint)) + .validate(&key_from_user, Some("my-product"), Some(machine_fingerprint.as_str())) .await?; if !result.ok { eprintln!("rejected: {:?}", result.reason);