From c9ccd4dd0e23a37813c5ebc7f665c69f77946899 Mon Sep 17 00:00:00 2001 From: Yuki Kishimoto Date: Fri, 7 Jun 2024 11:03:47 -0400 Subject: [PATCH] Bump to `v0.32.0` Signed-off-by: Yuki Kishimoto --- Cargo.lock | 24 +++++++++---------- Cargo.toml | 24 +++++++++---------- .../bindings-android/lib/build.gradle.kts | 2 +- bindings/nostr-ffi/bindings-python/setup.py | 4 ++-- bindings/nostr-js/package.json | 2 +- .../bindings-android/lib/build.gradle.kts | 2 +- .../nostr-sdk-ffi/bindings-python/setup.py | 4 ++-- bindings/nostr-sdk-js/package.json | 2 +- crates/nostr-database/Cargo.toml | 2 +- crates/nostr-indexeddb/Cargo.toml | 2 +- crates/nostr-ndb/Cargo.toml | 2 +- crates/nostr-relay-pool/Cargo.toml | 2 +- crates/nostr-rocksdb/Cargo.toml | 2 +- crates/nostr-sdk/Cargo.toml | 2 +- crates/nostr-sdk/README.md | 6 ----- crates/nostr-signer/Cargo.toml | 2 +- crates/nostr-sqlite/Cargo.toml | 2 +- crates/nostr-webln/Cargo.toml | 2 +- crates/nostr-zapper/Cargo.toml | 2 +- crates/nostr/Cargo.toml | 2 +- crates/nostr/README.md | 5 ---- crates/nwc/Cargo.toml | 2 +- 22 files changed, 44 insertions(+), 55 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f1ac94d3c..f7c70931e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1605,7 +1605,7 @@ dependencies = [ [[package]] name = "nostr" -version = "0.31.1" +version = "0.32.0" dependencies = [ "aes", "base64", @@ -1654,7 +1654,7 @@ dependencies = [ [[package]] name = "nostr-database" -version = "0.31.0" +version = "0.32.0" dependencies = [ "async-trait", "flatbuffers", @@ -1676,7 +1676,7 @@ dependencies = [ [[package]] name = "nostr-indexeddb" -version = "0.31.0" +version = "0.32.0" dependencies = [ "async-trait", "indexed_db_futures", @@ -1702,7 +1702,7 @@ dependencies = [ [[package]] name = "nostr-ndb" -version = "0.31.0" +version = "0.32.0" dependencies = [ "async-trait", "nostr", @@ -1726,7 +1726,7 @@ dependencies = [ [[package]] name = "nostr-relay-pool" -version = "0.31.0" +version = "0.32.0" dependencies = [ "async-utility", "async-wsocket", @@ -1741,7 +1741,7 @@ dependencies = [ [[package]] name = "nostr-rocksdb" -version = "0.31.0" +version = "0.32.0" dependencies = [ "async-trait", "jobserver", @@ -1756,7 +1756,7 @@ dependencies = [ [[package]] name = "nostr-sdk" -version = "0.31.0" +version = "0.32.0" dependencies = [ "async-utility", "atomic-destructor", @@ -1807,7 +1807,7 @@ dependencies = [ [[package]] name = "nostr-signer" -version = "0.31.0" +version = "0.32.0" dependencies = [ "async-utility", "dialoguer", @@ -1821,7 +1821,7 @@ dependencies = [ [[package]] name = "nostr-sqlite" -version = "0.31.0" +version = "0.32.0" dependencies = [ "async-trait", "nostr", @@ -1835,7 +1835,7 @@ dependencies = [ [[package]] name = "nostr-webln" -version = "0.31.0" +version = "0.32.0" dependencies = [ "nostr-zapper", "webln", @@ -1843,7 +1843,7 @@ dependencies = [ [[package]] name = "nostr-zapper" -version = "0.31.0" +version = "0.32.0" dependencies = [ "async-trait", "nostr", @@ -1887,7 +1887,7 @@ dependencies = [ [[package]] name = "nwc" -version = "0.31.0" +version = "0.32.0" dependencies = [ "async-utility", "nostr", diff --git a/Cargo.toml b/Cargo.toml index 70a44955c..dfd9c6a4c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,18 +25,18 @@ async-trait = "0.1" async-utility = "0.2" atomic-destructor = { version = "0.2", default-features = false } js-sys = "0.3" -nostr = { version = "0.31", path = "./crates/nostr", default-features = false } -nostr-database = { version = "0.31", path = "./crates/nostr-database", default-features = false } -nostr-indexeddb = { version = "0.31", path = "./crates/nostr-indexeddb", default-features = false } -nostr-ndb = { version = "0.31", path = "./crates/nostr-ndb", default-features = false } -nostr-relay-pool = { version = "0.31", path = "./crates/nostr-relay-pool", default-features = false } -nostr-rocksdb = { version = "0.31", path = "./crates/nostr-rocksdb", default-features = false } -nostr-sdk = { version = "0.31", path = "./crates/nostr-sdk", default-features = false } -nostr-signer = { version = "0.31", path = "./crates/nostr-signer", default-features = false } -nostr-sqlite = { version = "0.31", path = "./crates/nostr-sqlite", default-features = false } -nostr-webln = { version = "0.31", path = "./crates/nostr-webln", default-features = false } -nostr-zapper = { version = "0.31", path = "./crates/nostr-zapper", default-features = false } -nwc = { version = "0.31", path = "./crates/nwc", default-features = false } +nostr = { version = "0.32", path = "./crates/nostr", default-features = false } +nostr-database = { version = "0.32", path = "./crates/nostr-database", default-features = false } +nostr-indexeddb = { version = "0.32", path = "./crates/nostr-indexeddb", default-features = false } +nostr-ndb = { version = "0.32", path = "./crates/nostr-ndb", default-features = false } +nostr-relay-pool = { version = "0.32", path = "./crates/nostr-relay-pool", default-features = false } +nostr-rocksdb = { version = "0.32", path = "./crates/nostr-rocksdb", default-features = false } +nostr-sdk = { version = "0.32", path = "./crates/nostr-sdk", default-features = false } +nostr-signer = { version = "0.32", path = "./crates/nostr-signer", default-features = false } +nostr-sqlite = { version = "0.32", path = "./crates/nostr-sqlite", default-features = false } +nostr-webln = { version = "0.32", path = "./crates/nostr-webln", default-features = false } +nostr-zapper = { version = "0.32", path = "./crates/nostr-zapper", default-features = false } +nwc = { version = "0.32", path = "./crates/nwc", default-features = false } once_cell = { version = "1.19", default-features = false } serde_json = { version = "1.0", default-features = false } thiserror = "1.0" diff --git a/bindings/nostr-ffi/bindings-android/lib/build.gradle.kts b/bindings/nostr-ffi/bindings-android/lib/build.gradle.kts index 7f97eabcf..d5d78b95a 100644 --- a/bindings/nostr-ffi/bindings-android/lib/build.gradle.kts +++ b/bindings/nostr-ffi/bindings-android/lib/build.gradle.kts @@ -54,7 +54,7 @@ mavenPublishing { signAllPublications() - coordinates("org.rust-nostr", "nostr", "0.12.0") + coordinates("org.rust-nostr", "nostr", "0.32.0") pom { name.set("nostr") diff --git a/bindings/nostr-ffi/bindings-python/setup.py b/bindings/nostr-ffi/bindings-python/setup.py index 0af02f207..b6fa30864 100644 --- a/bindings/nostr-ffi/bindings-python/setup.py +++ b/bindings/nostr-ffi/bindings-python/setup.py @@ -8,11 +8,11 @@ setup( name='nostr-protocol', - version='0.12.0', + version='0.32.0', description="Nostr protocol implementation", long_description=long_description, long_description_content_type='text/markdown', - include_package_data = True, + include_package_data=True, zip_safe=False, packages=['nostr_protocol'], package_dir={'nostr_protocol': './src/nostr'}, diff --git a/bindings/nostr-js/package.json b/bindings/nostr-js/package.json index 684cdce5e..4386b2a07 100644 --- a/bindings/nostr-js/package.json +++ b/bindings/nostr-js/package.json @@ -1,6 +1,6 @@ { "name": "@rust-nostr/nostr", - "version": "0.14.0", + "version": "0.32.0", "description": "Nostr protocol implementation", "keywords": [ "nostr", diff --git a/bindings/nostr-sdk-ffi/bindings-android/lib/build.gradle.kts b/bindings/nostr-sdk-ffi/bindings-android/lib/build.gradle.kts index f36cdaf7b..675b76f82 100644 --- a/bindings/nostr-sdk-ffi/bindings-android/lib/build.gradle.kts +++ b/bindings/nostr-sdk-ffi/bindings-android/lib/build.gradle.kts @@ -54,7 +54,7 @@ mavenPublishing { signAllPublications() - coordinates("org.rust-nostr", "nostr-sdk", "0.12.0") + coordinates("org.rust-nostr", "nostr-sdk", "0.32.0") pom { name.set("nostr-sdk") diff --git a/bindings/nostr-sdk-ffi/bindings-python/setup.py b/bindings/nostr-sdk-ffi/bindings-python/setup.py index 15947ce08..be884ef77 100644 --- a/bindings/nostr-sdk-ffi/bindings-python/setup.py +++ b/bindings/nostr-sdk-ffi/bindings-python/setup.py @@ -8,11 +8,11 @@ setup( name='nostr-sdk', - version='0.12.0', + version='0.32.0', description="High level Nostr client library.", long_description=long_description, long_description_content_type='text/markdown', - include_package_data = True, + include_package_data=True, zip_safe=False, packages=['nostr_sdk'], package_dir={'nostr_sdk': './src/nostr-sdk'}, diff --git a/bindings/nostr-sdk-js/package.json b/bindings/nostr-sdk-js/package.json index 16fc271fe..77956c511 100644 --- a/bindings/nostr-sdk-js/package.json +++ b/bindings/nostr-sdk-js/package.json @@ -1,6 +1,6 @@ { "name": "@rust-nostr/nostr-sdk", - "version": "0.14.0", + "version": "0.32.0", "description": "High level Nostr client library.", "keywords": [ "nostr", diff --git a/crates/nostr-database/Cargo.toml b/crates/nostr-database/Cargo.toml index 61d5c17eb..f5bbfaf15 100644 --- a/crates/nostr-database/Cargo.toml +++ b/crates/nostr-database/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nostr-database" -version = "0.31.0" +version = "0.32.0" edition = "2021" description = "Database for Nostr apps" authors.workspace = true diff --git a/crates/nostr-indexeddb/Cargo.toml b/crates/nostr-indexeddb/Cargo.toml index 03ebee7aa..d94644ad5 100644 --- a/crates/nostr-indexeddb/Cargo.toml +++ b/crates/nostr-indexeddb/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nostr-indexeddb" -version = "0.31.0" +version = "0.32.0" edition = "2021" description = "Web's IndexedDB Storage backend for Nostr apps" authors.workspace = true diff --git a/crates/nostr-ndb/Cargo.toml b/crates/nostr-ndb/Cargo.toml index db3b98397..2cd2eea57 100644 --- a/crates/nostr-ndb/Cargo.toml +++ b/crates/nostr-ndb/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nostr-ndb" -version = "0.31.0" +version = "0.32.0" edition = "2021" description = "ndb (nostrdb) storage backend for Nostr apps" authors.workspace = true diff --git a/crates/nostr-relay-pool/Cargo.toml b/crates/nostr-relay-pool/Cargo.toml index 171e370b9..c18d8c67e 100644 --- a/crates/nostr-relay-pool/Cargo.toml +++ b/crates/nostr-relay-pool/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nostr-relay-pool" -version = "0.31.0" +version = "0.32.0" edition = "2021" description = "Nostr Relay Pool" authors.workspace = true diff --git a/crates/nostr-rocksdb/Cargo.toml b/crates/nostr-rocksdb/Cargo.toml index e5e799d9a..56658d511 100644 --- a/crates/nostr-rocksdb/Cargo.toml +++ b/crates/nostr-rocksdb/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nostr-rocksdb" -version = "0.31.0" +version = "0.32.0" edition = "2021" description = "RocksDB Storage backend for Nostr apps" authors.workspace = true diff --git a/crates/nostr-sdk/Cargo.toml b/crates/nostr-sdk/Cargo.toml index 902329ff4..d3862f6af 100644 --- a/crates/nostr-sdk/Cargo.toml +++ b/crates/nostr-sdk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nostr-sdk" -version = "0.31.0" +version = "0.32.0" edition = "2021" description = "High level Nostr client library." authors.workspace = true diff --git a/crates/nostr-sdk/README.md b/crates/nostr-sdk/README.md index 090ba9a1d..e901ac9c7 100644 --- a/crates/nostr-sdk/README.md +++ b/crates/nostr-sdk/README.md @@ -25,12 +25,6 @@ other lower-level crates. If you're attempting something more custom, you might ## Getting started -```toml -[dependencies] -nostr-sdk = "0.31" -tokio = { version = "1", features = ["full"] } -``` - ```rust,no_run use std::net::{Ipv4Addr, SocketAddr, SocketAddrV4}; use std::str::FromStr; diff --git a/crates/nostr-signer/Cargo.toml b/crates/nostr-signer/Cargo.toml index e1ceb1c75..00d8de30b 100644 --- a/crates/nostr-signer/Cargo.toml +++ b/crates/nostr-signer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nostr-signer" -version = "0.31.0" +version = "0.32.0" edition = "2021" description = "Signer for Nostr apps" authors.workspace = true diff --git a/crates/nostr-sqlite/Cargo.toml b/crates/nostr-sqlite/Cargo.toml index b1eda2bcc..c761eb90a 100644 --- a/crates/nostr-sqlite/Cargo.toml +++ b/crates/nostr-sqlite/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nostr-sqlite" -version = "0.31.0" +version = "0.32.0" edition = "2021" description = "SQLite Storage backend for Nostr apps" authors.workspace = true diff --git a/crates/nostr-webln/Cargo.toml b/crates/nostr-webln/Cargo.toml index 35c165318..077af9dca 100644 --- a/crates/nostr-webln/Cargo.toml +++ b/crates/nostr-webln/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nostr-webln" -version = "0.31.0" +version = "0.32.0" edition = "2021" description = "WebLN zapper backend for Nostr apps" authors.workspace = true diff --git a/crates/nostr-zapper/Cargo.toml b/crates/nostr-zapper/Cargo.toml index 2eacedfe7..d4067fd38 100644 --- a/crates/nostr-zapper/Cargo.toml +++ b/crates/nostr-zapper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nostr-zapper" -version = "0.31.0" +version = "0.32.0" edition = "2021" description = "Zapper abstraction for Nostr apps" authors.workspace = true diff --git a/crates/nostr/Cargo.toml b/crates/nostr/Cargo.toml index 9f2f56991..f6b6f8c48 100644 --- a/crates/nostr/Cargo.toml +++ b/crates/nostr/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nostr" -version = "0.31.1" +version = "0.32.0" edition = "2021" description = "Rust implementation of the Nostr protocol." authors.workspace = true diff --git a/crates/nostr/README.md b/crates/nostr/README.md index c6d06a131..8e8ccd329 100644 --- a/crates/nostr/README.md +++ b/crates/nostr/README.md @@ -21,11 +21,6 @@ You may be interested in: ## Getting started -```toml -[dependencies] -nostr = "0.31" -``` - ```rust,no_run use nostr::prelude::*; diff --git a/crates/nwc/Cargo.toml b/crates/nwc/Cargo.toml index be7e3fc50..e5ec02da6 100644 --- a/crates/nwc/Cargo.toml +++ b/crates/nwc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nwc" -version = "0.31.0" +version = "0.32.0" edition = "2021" description = "NWC client and zapper backend for Nostr apps" authors.workspace = true