From 15007354ed5cf93cd56a0968e13280dba9d46792 Mon Sep 17 00:00:00 2001 From: Daniel Bigos Date: Mon, 28 Oct 2024 18:34:48 +0100 Subject: [PATCH] build: bump v0.1.1 (#382) Resolves #381 --- CHANGELOG.md | 4 ++-- Cargo.lock | 24 ++++++++++++------------ Cargo.toml | 2 +- README.md | 4 ++-- rust-toolchain.toml | 2 +- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fb0b9ac4..a3bfdb068 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,11 +19,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - -## [0.1.1] - 2024-10- +## [0.1.1] - 2024-10-28 ### Changed -- Mini alloc is now used by default via the stylus-sdk. This avoids conflicts with duplicate #[global_allocator] definitions. #373 +- Mini alloc is now used by default via the stylus-sdk. This avoids conflicts with duplicate `#[global_allocator]` definitions. #373 - Removed the panic handler from the library, making it easier for `std` and `no_std` projects to use the library. #373 ## [0.1.0] - 2024-10-17 diff --git a/Cargo.lock b/Cargo.lock index bf4604d98..3b42f8721 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "access-control-example" -version = "0.1.0" +version = "0.1.1" dependencies = [ "alloy", "alloy-primitives", @@ -793,7 +793,7 @@ checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "basic-example" -version = "0.1.0" +version = "0.1.1" dependencies = [ "alloy-primitives", "openzeppelin-stylus", @@ -814,7 +814,7 @@ dependencies = [ [[package]] name = "benches" -version = "0.1.0" +version = "0.1.1" dependencies = [ "alloy", "alloy-primitives", @@ -1254,7 +1254,7 @@ dependencies = [ [[package]] name = "cryptography-example" -version = "0.1.0" +version = "0.1.1" dependencies = [ "alloy", "alloy-primitives", @@ -1505,7 +1505,7 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "erc20-example" -version = "0.1.0" +version = "0.1.1" dependencies = [ "alloy", "alloy-primitives", @@ -1519,7 +1519,7 @@ dependencies = [ [[package]] name = "erc20-permit-example" -version = "0.1.0" +version = "0.1.1" dependencies = [ "alloy", "alloy-primitives", @@ -1533,7 +1533,7 @@ dependencies = [ [[package]] name = "erc721-consecutive-example" -version = "0.1.0" +version = "0.1.1" dependencies = [ "alloy", "alloy-primitives", @@ -1549,7 +1549,7 @@ dependencies = [ [[package]] name = "erc721-example" -version = "0.1.0" +version = "0.1.1" dependencies = [ "alloy", "alloy-primitives", @@ -1564,7 +1564,7 @@ dependencies = [ [[package]] name = "erc721-metadata-example" -version = "0.1.0" +version = "0.1.1" dependencies = [ "alloy", "alloy-primitives", @@ -2340,7 +2340,7 @@ dependencies = [ [[package]] name = "merkle-proofs-example" -version = "0.1.0" +version = "0.1.1" dependencies = [ "alloy-primitives", "alloy-sol-types", @@ -2552,7 +2552,7 @@ dependencies = [ [[package]] name = "openzeppelin-crypto" -version = "0.1.0" +version = "0.1.1" dependencies = [ "hex-literal", "rand", @@ -2561,7 +2561,7 @@ dependencies = [ [[package]] name = "openzeppelin-stylus" -version = "0.1.0" +version = "0.1.1" dependencies = [ "alloy-primitives", "alloy-sol-macro", diff --git a/Cargo.toml b/Cargo.toml index d05752eaa..d005661ad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,7 +50,7 @@ edition = "2021" license = "MIT" keywords = ["arbitrum", "ethereum", "stylus"] repository = "https://github.com/OpenZeppelin/rust-contracts-stylus" -version = "0.1.0" +version = "0.1.1" [workspace.lints.rust] missing_docs = "warn" diff --git a/README.md b/README.md index 021c974eb..80a796288 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ line to your `Cargo.toml` (We recommend pinning to a specific version): ```toml [dependencies] -openzeppelin-stylus = "0.1.0" +openzeppelin-stylus = "0.1.1" ``` Optionally, you can specify a git dependency if you want to have the latest @@ -35,7 +35,7 @@ openzeppelin-stylus = { git = "https://github.com/OpenZeppelin/rust-contracts-st ``` > [!NOTE] -> This library is designed to be `no_std`, which helps reduce wasm size. If you want your project to be `no_std` as well, ensure that your dependencies are not importing the standard library. +> This library is designed to be `no_std`, which helps reduce wasm size. If you want your project to be `no_std` as well, ensure that your dependencies are not importing the standard library. >You can achieve this by setting `default-features = false` for relevant dependencies in your `Cargo.toml`. For example: > > ```toml diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 4b3f44843..fb5141920 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -3,4 +3,4 @@ # the size limit (issue ). channel = "nightly-2024-09-05" components = ["rust-src"] -targets = ["wasm32-unknown-unknown"] \ No newline at end of file +targets = ["wasm32-unknown-unknown"]