diff --git a/CHANGELOG.md b/CHANGELOG.md index bc10f1e..5d342a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## [Unreleased] +## [0.7.0] - 2021-09-21 + ### Changed - Breaking: `Arb.get_active/1` expects a keyword list with the `:port` @@ -24,27 +26,7 @@ Arb.reset(port: port) ``` -## [0.7.0-rc.2] - 2021-03-19 - -### Changed - -- Clean up NIF implementation - -### Fixed - -- Run on dirty IO scheduler - -## [0.7.0-rc.1] - 2021-03-19 - -### Fixed - -- Fix return value of activate/2 and reset/1 - -## [0.7.0-rc.0] - 2021-03-19 - -### Changed - -- Upgrade rustler to 0.22.0-rc.0 +- Upgrade rustler to 0.22.0 - Bump abacom-relay-board (arb) to 0.5.1 ## [0.6.0] - 2019-12-20 @@ -119,10 +101,8 @@ ## [0.1.0] - 2018-03-31 -[unreleased]: https://github.com/adriankumpf/arb-ex/compare/v0.7.0-rc.2...HEAD -[0.7.0-rc.1]: https://github.com/adriankumpf/arb-ex/compare/v0.7.0-rc.1...v0.7.0-rc.2 -[0.7.0-rc.1]: https://github.com/adriankumpf/arb-ex/compare/v0.7.0-rc.0...v0.7.0-rc.1 -[0.7.0-rc.0]: https://github.com/adriankumpf/arb-ex/compare/v0.6.0...v0.7.0-rc.0 +[unreleased]: https://github.com/adriankumpf/arb-ex/compare/v0.7.0...HEAD +[0.7.0]: https://github.com/adriankumpf/arb-ex/compare/v0.6.0...v0.7.0 [0.6.0]: https://github.com/adriankumpf/arb-ex/compare/v0.5.0...v0.6.0 [0.5.0]: https://github.com/adriankumpf/arb-ex/compare/v0.4.1...v0.5.0 [0.4.1]: https://github.com/adriankumpf/arb-ex/compare/v0.4.0...v0.4.1 diff --git a/README.md b/README.md index 2fb700e..1124df4 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Add `:arb` to your list of dependencies: ```elixir def deps do [ - {:arb, "~> 0.6"} + {:arb, "~> 0.7"} ] end ``` diff --git a/mix.exs b/mix.exs index 97eea5c..d1b61cf 100644 --- a/mix.exs +++ b/mix.exs @@ -4,11 +4,10 @@ defmodule Arb.MixProject do def project do [ app: :arb, - version: "0.7.0-rc.2", + version: "0.7.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, - compilers: [:rustler] ++ Mix.compilers(), - rustler_crates: rustler_crates(), + compilers: Mix.compilers(), deps: deps(), description: description(), package: package(), @@ -17,18 +16,9 @@ defmodule Arb.MixProject do ] end - defp rustler_crates do - [ - io: [ - path: "native/arb", - mode: if(Mix.env() == :prod, do: :release, else: :debug) - ] - ] - end - defp deps do [ - {:rustler, "~> 0.22-rc.0"}, + {:rustler, "~> 0.22"}, {:nimble_options, "~> 0.3"}, {:ex_doc, "~> 0.16", only: :dev, runtime: false} ] diff --git a/mix.lock b/mix.lock index 509f534..8b39929 100644 --- a/mix.lock +++ b/mix.lock @@ -1,11 +1,11 @@ %{ - "earmark_parser": {:hex, :earmark_parser, "1.4.13", "0c98163e7d04a15feb62000e1a891489feb29f3d10cb57d4f845c405852bbef8", [:mix], [], "hexpm", "d602c26af3a0af43d2f2645613f65841657ad6efc9f0e361c3b6c06b578214ba"}, - "ex_doc": {:hex, :ex_doc, "0.24.2", "e4c26603830c1a2286dae45f4412a4d1980e1e89dc779fcd0181ed1d5a05c8d9", [:mix], [{:earmark_parser, "~> 1.4.0", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1", [hex: :makeup_erlang, repo: "hexpm", optional: false]}], "hexpm", "e134e1d9e821b8d9e4244687fb2ace58d479b67b282de5158333b0d57c6fb7da"}, + "earmark_parser": {:hex, :earmark_parser, "1.4.15", "b29e8e729f4aa4a00436580dcc2c9c5c51890613457c193cc8525c388ccb2f06", [:mix], [], "hexpm", "044523d6438ea19c1b8ec877ec221b008661d3c27e3b848f4c879f500421ca5c"}, + "ex_doc": {:hex, :ex_doc, "0.25.3", "3edf6a0d70a39d2eafde030b8895501b1c93692effcbd21347296c18e47618ce", [:mix], [{:earmark_parser, "~> 1.4.0", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1", [hex: :makeup_erlang, repo: "hexpm", optional: false]}], "hexpm", "9ebebc2169ec732a38e9e779fd0418c9189b3ca93f4a676c961be6c1527913f5"}, "makeup": {:hex, :makeup, "1.0.5", "d5a830bc42c9800ce07dd97fa94669dfb93d3bf5fcf6ea7a0c67b2e0e4a7f26c", [:mix], [{:nimble_parsec, "~> 0.5 or ~> 1.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "cfa158c02d3f5c0c665d0af11512fed3fba0144cf1aadee0f2ce17747fba2ca9"}, "makeup_elixir": {:hex, :makeup_elixir, "0.15.1", "b5888c880d17d1cc3e598f05cdb5b5a91b7b17ac4eaf5f297cb697663a1094dd", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.1", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "db68c173234b07ab2a07f645a5acdc117b9f99d69ebf521821d89690ae6c6ec8"}, "makeup_erlang": {:hex, :makeup_erlang, "0.1.1", "3fcb7f09eb9d98dc4d208f49cc955a34218fc41ff6b84df7c75b3e6e533cc65f", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "174d0809e98a4ef0b3309256cbf97101c6ec01c4ab0b23e926a9e17df2077cbb"}, - "nimble_options": {:hex, :nimble_options, "0.3.5", "a4f6820cdcb4ee444afd78635f323e58e8a5ddf2fbbe9b9d283a99f972034bae", [:mix], [], "hexpm", "f5507cc90033a8d12769522009c80aa9164af6bab245dbd4ad421d008455f1e1"}, + "nimble_options": {:hex, :nimble_options, "0.3.7", "1e52dd7673d36138b1a5dede183b5d86dff175dc46d104a8e98e396b85b04670", [:mix], [], "hexpm", "2086907e6665c6b6579be54ef5001928df5231f355f71ed258f80a55e9f63633"}, "nimble_parsec": {:hex, :nimble_parsec, "1.1.0", "3a6fca1550363552e54c216debb6a9e95bd8d32348938e13de5eda962c0d7f89", [:mix], [], "hexpm", "08eb32d66b706e913ff748f11694b17981c0b04a33ef470e33e11b3d3ac8f54b"}, - "rustler": {:hex, :rustler, "0.22.0-rc.0", "d8a3d72862874d6c5a5c6421617911e8a2822a310b6e6d3ceb16803c2651350f", [:mix], [{:toml, "~> 0.5.2", [hex: :toml, repo: "hexpm", optional: false]}], "hexpm", "0548ae8fd203bbd3c5ba689e60d827a1991e12cde599fb4c03d4cf56b00a3352"}, + "rustler": {:hex, :rustler, "0.22.0", "e2930f9d6933e910f87526bb0a7f904e32b62a7e838a3ca4a884ee7fdfb957ed", [:mix], [{:toml, "~> 0.5.2", [hex: :toml, repo: "hexpm", optional: false]}], "hexpm", "01f5989dd511ebec09be481e07d3c59773d5373c5061e09d3ebc3ef61811b49d"}, "toml": {:hex, :toml, "0.5.2", "e471388a8726d1ce51a6b32f864b8228a1eb8edc907a0edf2bb50eab9321b526", [:mix], [], "hexpm", "f1e3dabef71fb510d015fad18c0e05e7c57281001141504c6b69d94e99750a07"}, } diff --git a/native/arb/Cargo.lock b/native/arb/Cargo.lock index 149bc96..afe67f7 100644 --- a/native/arb/Cargo.lock +++ b/native/arb/Cargo.lock @@ -1,5 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "arb" version = "0.1.0" @@ -20,15 +22,15 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.67" +version = "1.0.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3c69b077ad434294d3ce9f1f6143a2a4b89a8a2d54ef813d85003a4fd1137fd" +checksum = "d26a6ce4b6a484fa3edb70f7efa6fc430fd2b87285fe8b84304fd0936faa0dc0" [[package]] name = "heck" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cbf45460356b7deeb5e3415b5563308c0a9b057c85e12b06ad551f98d0a6ac" +checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" dependencies = [ "unicode-segmentation", ] @@ -41,9 +43,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.93" +version = "0.2.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9385f66bf6105b241aa65a61cb923ef20efc665cb9f9bb50ac2f0c4b7f378d41" +checksum = "a2a5ac8f984bfcf3a823267e5fde638acc3325f6496633a5da6bb6eb2171e103" [[package]] name = "libusb1-sys" @@ -65,9 +67,9 @@ checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c" [[package]] name = "proc-macro2" -version = "1.0.26" +version = "1.0.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a152013215dca273577e18d2bf00fa862b89b24169fb78c4c95aeb07992c9cec" +checksum = "b9f5105d4fdaab20335ca9565e106a5d9b82b6219b5ba735731124ac6711d23d" dependencies = [ "unicode-xid", ] @@ -83,9 +85,9 @@ dependencies = [ [[package]] name = "rusb" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12f3264859095257507e4c011ab420ff9b2d9cc3349c6c08a1d3a019260bb437" +checksum = "d9a5084628cc5be77b1c750b3e5ee0cc519d2f2491b3f06b78b3aac3328b00ad" dependencies = [ "libc", "libusb1-sys", @@ -93,9 +95,9 @@ dependencies = [ [[package]] name = "rustler" -version = "0.22.0-rc.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6627953c4983f7808f569d4df17d7de55893ed1e1a85ca4ef5ab95569b83832e" +checksum = "b787d3b2a80007f41cd4c0c310cdeb3936192768159585f65ecc7e96faf97fc3" dependencies = [ "lazy_static", "rustler_codegen", @@ -104,9 +106,9 @@ dependencies = [ [[package]] name = "rustler_codegen" -version = "0.22.0-rc.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b10e7791e788906c4394c980022210fbbeb75e75f7d9166b7bd0169e194ed4d" +checksum = "b5a1f867002b6f0130f47abf215cac4405646db6f5d7b009b21c890980490aa4" dependencies = [ "heck", "proc-macro2", @@ -116,18 +118,18 @@ dependencies = [ [[package]] name = "rustler_sys" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb96034ff33723615fd19223d58c987c1f6476342e83557a6e467ef95f83bda" +checksum = "1cb382fde4f421c51555919e9920b058c0286f6bf59e53d02eb4d281eae6758b" dependencies = [ "unreachable", ] [[package]] name = "syn" -version = "1.0.70" +version = "1.0.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9505f307c872bab8eb46f77ae357c8eba1fdacead58ee5a850116b1d7f82883" +checksum = "c6f107db402c2c2055242dbf4d2af0e69197202e9faacbef9571bbe47f5a1b84" dependencies = [ "proc-macro2", "quote", @@ -136,18 +138,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.24" +version = "1.0.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0f4a65597094d4483ddaed134f409b2cb7c1beccf25201a9f73c719254fa98e" +checksum = "602eca064b2d83369e2b2f34b09c70b605402801927c65c11071ac911d299b88" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.24" +version = "1.0.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7765189610d8241a44529806d6fd1f2e0a08734313a35d5b3a556f92b381f3c0" +checksum = "bad553cc2c78e8de258400763a647e80e6d1b31ee237275d756f6836d204494c" dependencies = [ "proc-macro2", "quote", @@ -156,15 +158,15 @@ dependencies = [ [[package]] name = "unicode-segmentation" -version = "1.7.1" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb0d2e7be6ae3a5fa87eed5fb451aff96f2573d2694942e40543ae0bbe19c796" +checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b" [[package]] name = "unicode-xid" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564" +checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" [[package]] name = "unreachable" @@ -177,9 +179,9 @@ dependencies = [ [[package]] name = "vcpkg" -version = "0.2.12" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbdbff6266a24120518560b5dc983096efb98462e51d0d68169895b237be3e5d" +checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" [[package]] name = "void" diff --git a/native/arb/Cargo.toml b/native/arb/Cargo.toml index 24ae57e..1fe1681 100644 --- a/native/arb/Cargo.toml +++ b/native/arb/Cargo.toml @@ -10,6 +10,6 @@ path = "src/lib.rs" crate-type = ["dylib"] [dependencies] -rustler = "0.22.0-rc.0" -rustler_codegen = "0.22.0-rc.0" +rustler = "0.22.0" +rustler_codegen = "0.22.0" arb = { git = "https://github.com/adriankumpf/abacom-relay-board", tag = 'v0.5.1' }