From d99cca481af0eb0ab4c45c485bf9f1811bbeff09 Mon Sep 17 00:00:00 2001 From: Ben Haney Date: Fri, 16 Jun 2023 09:47:15 -0500 Subject: [PATCH] Prepare release --- CHANGELOG.md | 5 ++++- README.md | 2 +- mix.exs | 2 +- native/jsonrs/Cargo.lock | 34 +--------------------------------- native/jsonrs/Cargo.toml | 4 ++-- 5 files changed, 9 insertions(+), 38 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf63ee1..135a186 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ 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.3.1] - 2023-06-16 ### Changed - Bump `rustler` to 0.28 to support OTP 26 @@ -58,7 +60,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release -[Unreleased]: https://github.com/benhaney/Jsonrs/compare/v0.3.0...HEAD +[Unreleased]: https://github.com/benhaney/Jsonrs/compare/v0.3.1...HEAD +[0.3.1]: https://github.com/benhaney/Jsonrs/compare/v0.3.0...v0.3.1 [0.3.0]: https://github.com/benhaney/Jsonrs/compare/v0.2.1...v0.3.0 [0.2.1]: https://github.com/benhaney/Jsonrs/compare/v0.2.0...v0.2.1 [0.2.0]: https://github.com/benhaney/Jsonrs/compare/v0.1.6...v0.2.0 diff --git a/README.md b/README.md index 0edde9e..8309643 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Add Jsonrs as a dependency in your `mix.exs` file. ```elixir def deps do - [{:jsonrs, "~> 0.3.0"}] + [{:jsonrs, "~> 0.3.1"}] end ``` diff --git a/mix.exs b/mix.exs index 59e5d9b..e62cbb7 100644 --- a/mix.exs +++ b/mix.exs @@ -36,7 +36,7 @@ defmodule Jsonrs.MixProject do defp rustler_crates do [ - jsonrs: [path: "native/jsonrs", mode: if(Mix.env() == :prod, do: :release, else: :debug)] + jsonrs: [path: "native/jsonrs"] ] end diff --git a/native/jsonrs/Cargo.lock b/native/jsonrs/Cargo.lock index dfdf7cc..70ea353 100644 --- a/native/jsonrs/Cargo.lock +++ b/native/jsonrs/Cargo.lock @@ -17,27 +17,12 @@ dependencies = [ "memchr", ] -[[package]] -name = "cc" -version = "1.0.79" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" - [[package]] name = "cfg-if" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" -[[package]] -name = "cmake" -version = "0.1.50" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a31c789563b815f77f4250caee12365734369f942439b7defd71e18a48197130" -dependencies = [ - "cc", -] - [[package]] name = "crc32fast" version = "1.3.2" @@ -54,7 +39,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743" dependencies = [ "crc32fast", - "libz-ng-sys", "miniz_oxide", ] @@ -72,7 +56,7 @@ checksum = "501266b7edd0174f8530248f87f99c88fbe60ca4ef3dd486835b8d8d53136f7f" [[package]] name = "jsonrs" -version = "0.3.0" +version = "0.3.1" dependencies = [ "flate2", "lazy_static", @@ -89,22 +73,6 @@ version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" -[[package]] -name = "libc" -version = "0.2.146" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b" - -[[package]] -name = "libz-ng-sys" -version = "1.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2468756f34903b582fe7154dc1ffdebd89d0562c4a43b53c621bb0f1b1043ccb" -dependencies = [ - "cmake", - "libc", -] - [[package]] name = "memchr" version = "2.5.0" diff --git a/native/jsonrs/Cargo.toml b/native/jsonrs/Cargo.toml index 3414e96..2deba22 100644 --- a/native/jsonrs/Cargo.toml +++ b/native/jsonrs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jsonrs" -version = "0.3.0" +version = "0.3.1" authors = [] edition = "2018" @@ -10,7 +10,7 @@ path = "src/lib.rs" crate-type = ["dylib"] [dependencies] -flate2 = { version = "1.0", features = ["zlib-ng"], default-features = false } +flate2 = "1.0" rustler = "0.28.0" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0"