From 9aa3b62de02a63aa6a0d49efa7c484aa550cef56 Mon Sep 17 00:00:00 2001
From: Awiteb
Date: Fri, 8 Aug 2025 15:21:35 +0000
Subject: [PATCH] chore: Bump the version to `v0.4.0`
Signed-off-by: Awiteb
---
CHANGELOG.md | 3 ++-
Cargo.lock | 2 +-
Cargo.toml | 58 ++++++++++++++++++++++++++++++++++++----------------
3 files changed, 43 insertions(+), 20 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b4d6bac..85a06ae 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-## Unreleased
+## [0.4.0] - 2025-08-08
### Added
@@ -126,6 +126,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Initialize the project - by Awiteb
+[0.4.0]: https://git.4rs.nl/awiteb/n34.git/tag/?h=v0.4.0
[0.3.0]: https://git.4rs.nl/awiteb/n34.git/tag/?h=v0.3.0
[0.2.0]: https://git.4rs.nl/awiteb/n34.git/tag/?h=v0.2.0
[0.1.0]: https://git.4rs.nl/awiteb/n34.git/tag/?h=v0.1.0
diff --git a/Cargo.lock b/Cargo.lock
index db85029..7aec836 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1231,7 +1231,7 @@ dependencies = [
[[package]]
name = "n34"
-version = "0.3.0"
+version = "0.4.0"
dependencies = [
"chrono",
"clap",
diff --git a/Cargo.toml b/Cargo.toml
index dc6c8f1..e0f7b96 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "n34"
description = "A CLI to interact with NIP-34 and other stuff related to code in Nostr"
-version = "0.3.0"
+version = "0.4.0"
edition = "2024"
license = "GPL-3.0-or-later"
authors = ["Awiteb "]
@@ -14,23 +14,6 @@ categories = ["command-line-utilities"]
rust-version = "1.88.0"
[dependencies]
-clap-verbosity-flag = { version = "3.0.3", default-features = false, features = [
- "tracing",
-] }
-reqwest = { version = "0.12.22", default-features = false, features = [
- "http2",
- "json",
- "rustls-tls",
-] }
-
-clap = { version = "4.5.42", features = ["derive"] }
-nostr = { version = "0.43.0", default-features = false, features = ["std"] }
-nostr-connect = { version = "0.43.0", default-features = false }
-nostr-keyring = { version = "0.43.0", default-features = false }
-nostr-sdk = { version = "0.43.0", default-features = false }
-serde = { version = "1.0.219", features = ["derive"] }
-tokio = { version = "1.47.1", features = ["macros", "rt-multi-thread"] }
-
chrono = "0.4.41"
convert_case = "0.8.0"
dirs = "6.0.0"
@@ -45,6 +28,45 @@ toml = "0.9.4"
tracing = "0.1.41"
tracing-subscriber = "0.3.19"
+ [dependencies.clap]
+ features = ["derive"]
+ version = "4.5.42"
+
+ [dependencies.clap-verbosity-flag]
+ default-features = false
+ features = ["tracing"]
+ version = "3.0.3"
+
+ [dependencies.nostr]
+ default-features = false
+ features = ["std"]
+ version = "0.43.0"
+
+ [dependencies.nostr-connect]
+ default-features = false
+ version = "0.43.0"
+
+ [dependencies.nostr-keyring]
+ default-features = false
+ version = "0.43.0"
+
+ [dependencies.nostr-sdk]
+ default-features = false
+ version = "0.43.0"
+
+ [dependencies.reqwest]
+ default-features = false
+ features = ["http2", "json", "rustls-tls"]
+ version = "0.12.22"
+
+ [dependencies.serde]
+ features = ["derive"]
+ version = "1.0.219"
+
+ [dependencies.tokio]
+ features = ["macros", "rt-multi-thread"]
+ version = "1.47.1"
+
[profile.release]
lto = "fat"
opt-level = 3