Skip to content

Commit 24c672b

Browse files
authored
Prepare first release 1.0.0 (#11)
1 parent d119973 commit 24c672b

File tree

5 files changed

+23
-20
lines changed

5 files changed

+23
-20
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
# Node cache changelog
44

55
## [Unreleased]
6+
7+
## [1.0.0] - 2025-01-09
68
- First stable release of `huff-neo`
9+
- Compiler binary is now `hnc` instead of `huffc`
710
- Update all dependencies to the latest version
811
- Restructure to a modern crate structure
912
- Replace `ethers` with `alloy`

Cargo.lock

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ edition = "2021"
99
license = "MIT OR Apache-2.0"
1010
readme = "README.md"
1111
repository = "https://github.com/cakevm/huff-neo"
12-
version = "0.0.4"
12+
version = "1.0.0"
1313

1414
[workspace.dependencies]
1515
huff-neo-codegen = { path = "crates/codegen" }

bin/hnc/src/arguments.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use yansi::Paint;
77

88
/// The Huff CLI Args
99
#[derive(Parser, Debug, Clone)]
10-
#[clap(name = "hnc", version, about, long_about = None)]
10+
#[clap(name = "hnc", about, long_about = None)]
1111
pub struct HuffArgs {
1212
/// The contract(s) to compile.
1313
pub path: Option<String>,
@@ -85,7 +85,7 @@ pub struct HuffArgs {
8585
pub test: Option<TestCommands>,
8686

8787
/// Print version
88-
#[arg(long)]
88+
#[arg(short = 'V', long = "version")]
8989
pub version_long: bool,
9090
}
9191

bin/hnc/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ fn main() {
4040

4141
if cli.version_long {
4242
let git_clean = if build::GIT_CLEAN { "" } else { "-dirty" };
43-
println!("hnc {} ({}{})", build::PKG_VERSION, build::SHORT_COMMIT, git_clean);
43+
println!("hnc {} (rev: {}{})", build::PKG_VERSION, build::SHORT_COMMIT, git_clean);
4444
return;
4545
}
4646

0 commit comments

Comments
 (0)