From 4d67517756a1129ee4ae097dc0871b9ebc958254 Mon Sep 17 00:00:00 2001 From: wtfsck Date: Thu, 3 Feb 2022 21:02:49 +0100 Subject: [PATCH] Bump version --- build/npm-fix-json.py | 2 +- src/csharp/Directory.Build.props | 2 +- src/rust/iced-x86-js/Cargo.toml | 2 +- src/rust/iced-x86-py/Cargo.toml | 4 +-- src/rust/iced-x86-py/docs/conf.py | 2 +- src/rust/iced-x86-py/setup.py | 2 +- src/rust/iced-x86/Cargo.toml | 2 +- src/rust/iced-x86/README.md | 48 +++++++++++++++---------------- src/rust/iced-x86/src/code_asm.rs | 4 +-- 9 files changed, 34 insertions(+), 34 deletions(-) diff --git a/build/npm-fix-json.py b/build/npm-fix-json.py index 95ffe9800..db15085ef 100644 --- a/build/npm-fix-json.py +++ b/build/npm-fix-json.py @@ -1,7 +1,7 @@ import sys import json -iced_version = "1.15.0" +iced_version = "1.16.0" if len(sys.argv) != 3: raise ValueError(f"usage {sys.argv[0]} npm_package_json test_package_json") diff --git a/src/csharp/Directory.Build.props b/src/csharp/Directory.Build.props index 917c8ec6c..e06a4113e 100644 --- a/src/csharp/Directory.Build.props +++ b/src/csharp/Directory.Build.props @@ -2,7 +2,7 @@ Copyright (C) 2018-present iced project and contributors - 1.15.0 + 1.16.0 iced project and contributors <https://github.com/icedland> $(Version) diff --git a/src/rust/iced-x86-js/Cargo.toml b/src/rust/iced-x86-js/Cargo.toml index e7513d7c3..8f5738950 100644 --- a/src/rust/iced-x86-js/Cargo.toml +++ b/src/rust/iced-x86-js/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "iced-x86" # The version number can't be the same as iced-x86's version number or cargo build will fail -version = "1.15.1000" +version = "1.16.1000" license = "MIT" description = "iced-x86 is a blazing fast and correct x86/x64 disassembler, assembler and instruction decoder written in Rust and compiled to WebAssembly" homepage = "https://github.com/icedland/iced" diff --git a/src/rust/iced-x86-py/Cargo.toml b/src/rust/iced-x86-py/Cargo.toml index 8f2383c7b..120f22c8b 100644 --- a/src/rust/iced-x86-py/Cargo.toml +++ b/src/rust/iced-x86-py/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iced-x86-py" -version = "1.15.0" +version = "1.16.0" edition = "2018" publish = false @@ -19,7 +19,7 @@ features = ["macros", "extension-module", "abi3-py37"] [dependencies.iced-x86] # If building from sdist, it should use the exact same version as the sdist. -version = "=1.15.0" +version = "=1.16.0" features = ["serde", "mvex"] # To use ../iced-x86 source code, add this to your $HOME/.cargo/config.toml # paths = ["/abs/path/to/iced/src/rust/iced-x86"] diff --git a/src/rust/iced-x86-py/docs/conf.py b/src/rust/iced-x86-py/docs/conf.py index cfb0979ed..168867b75 100644 --- a/src/rust/iced-x86-py/docs/conf.py +++ b/src/rust/iced-x86-py/docs/conf.py @@ -23,7 +23,7 @@ copyright = "Copyright (C) 2018-present iced project and contributors" author = "iced project and contributors " # The full version, including alpha/beta/rc tags -release = "1.15.0" +release = "1.16.0" # -- General configuration --------------------------------------------------- diff --git a/src/rust/iced-x86-py/setup.py b/src/rust/iced-x86-py/setup.py index 9eafa5fe3..c7a292ad3 100644 --- a/src/rust/iced-x86-py/setup.py +++ b/src/rust/iced-x86-py/setup.py @@ -24,7 +24,7 @@ setup( name="iced-x86", - version="1.15.0", + version="1.16.0", license="MIT", author_email="wtfsck@protonmail.com", author="wtfsck", diff --git a/src/rust/iced-x86/Cargo.toml b/src/rust/iced-x86/Cargo.toml index bac03e6f1..c1bcbe193 100644 --- a/src/rust/iced-x86/Cargo.toml +++ b/src/rust/iced-x86/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iced-x86" -version = "1.15.0" +version = "1.16.0" edition = "2018" license = "MIT" description = "iced-x86 is a blazing fast and correct x86/x64 disassembler, assembler and instruction decoder written in Rust" diff --git a/src/rust/iced-x86/README.md b/src/rust/iced-x86/README.md index 096ae037d..7ead83da1 100644 --- a/src/rust/iced-x86/README.md +++ b/src/rust/iced-x86/README.md @@ -26,14 +26,14 @@ Add this to your `Cargo.toml`: ```toml [dependencies] -iced-x86 = "1.15.0" +iced-x86 = "1.16.0" ``` Or to customize which features to use: ```toml [dependencies.iced-x86] -version = "1.15.0" +version = "1.16.0" default-features = false # See below for all features features = ["std", "decoder", "masm"] @@ -60,10 +60,10 @@ You can enable/disable these in your `Cargo.toml` file. - `mvex`: Enables `MVEX` instructions (Knights Corner). You must also pass in `DecoderOptions::KNC` to the [`Decoder`] constructor. - `exhaustive_enums`: Enables exhaustive enums, i.e., no enum has the `#[non_exhaustive]` attribute -[`BlockEncoder`]: https://docs.rs/iced-x86/1.15.0/iced_x86/struct.BlockEncoder.html -[`CodeAssembler`]: https://docs.rs/iced-x86/1.15.0/iced_x86/code_asm/struct.CodeAssembler.html -[`Instruction`]: https://docs.rs/iced-x86/1.15.0/iced_x86/struct.Instruction.html -[`OpCodeInfo`]: https://docs.rs/iced-x86/1.15.0/iced_x86/struct.OpCodeInfo.html +[`BlockEncoder`]: https://docs.rs/iced-x86/1.16.0/iced_x86/struct.BlockEncoder.html +[`CodeAssembler`]: https://docs.rs/iced-x86/1.16.0/iced_x86/code_asm/struct.CodeAssembler.html +[`Instruction`]: https://docs.rs/iced-x86/1.16.0/iced_x86/struct.Instruction.html +[`OpCodeInfo`]: https://docs.rs/iced-x86/1.16.0/iced_x86/struct.OpCodeInfo.html ## How-tos @@ -83,14 +83,14 @@ You can enable/disable these in your `Cargo.toml` file. This example uses a [`Decoder`] and one of the [`Formatter`]s to decode and format the code, eg. [`GasFormatter`], [`IntelFormatter`], [`MasmFormatter`], [`NasmFormatter`], [`SpecializedFormatter`] (or [`FastFormatter`]). -[`Decoder`]: https://docs.rs/iced-x86/1.15.0/iced_x86/struct.Decoder.html -[`Formatter`]: https://docs.rs/iced-x86/1.15.0/iced_x86/trait.Formatter.html -[`GasFormatter`]: https://docs.rs/iced-x86/1.15.0/iced_x86/struct.GasFormatter.html -[`IntelFormatter`]: https://docs.rs/iced-x86/1.15.0/iced_x86/struct.IntelFormatter.html -[`MasmFormatter`]: https://docs.rs/iced-x86/1.15.0/iced_x86/struct.MasmFormatter.html -[`NasmFormatter`]: https://docs.rs/iced-x86/1.15.0/iced_x86/struct.NasmFormatter.html -[`SpecializedFormatter`]: https://docs.rs/iced-x86/1.15.0/iced_x86/struct.SpecializedFormatter.html -[`FastFormatter`]: https://docs.rs/iced-x86/1.15.0/iced_x86/type.FastFormatter.html +[`Decoder`]: https://docs.rs/iced-x86/1.16.0/iced_x86/struct.Decoder.html +[`Formatter`]: https://docs.rs/iced-x86/1.16.0/iced_x86/trait.Formatter.html +[`GasFormatter`]: https://docs.rs/iced-x86/1.16.0/iced_x86/struct.GasFormatter.html +[`IntelFormatter`]: https://docs.rs/iced-x86/1.16.0/iced_x86/struct.IntelFormatter.html +[`MasmFormatter`]: https://docs.rs/iced-x86/1.16.0/iced_x86/struct.MasmFormatter.html +[`NasmFormatter`]: https://docs.rs/iced-x86/1.16.0/iced_x86/struct.NasmFormatter.html +[`SpecializedFormatter`]: https://docs.rs/iced-x86/1.16.0/iced_x86/struct.SpecializedFormatter.html +[`FastFormatter`]: https://docs.rs/iced-x86/1.16.0/iced_x86/type.FastFormatter.html ```rust use iced_x86::{Decoder, DecoderOptions, Formatter, Instruction, NasmFormatter}; @@ -182,7 +182,7 @@ This requires the `code_asm` feature to use (not enabled by default). Add it to ```toml [dependencies.iced-x86] -version = "1.15.0" +version = "1.16.0" features = ["code_asm"] ``` @@ -271,8 +271,8 @@ pub(crate) fn how_to_use_code_assembler() -> Result<(), IcedError> { Creates a custom [`SymbolResolver`] that is called by a [`Formatter`]. -[`SymbolResolver`]: https://docs.rs/iced-x86/1.15.0/iced_x86/trait.SymbolResolver.html -[`Formatter`]: https://docs.rs/iced-x86/1.15.0/iced_x86/trait.Formatter.html +[`SymbolResolver`]: https://docs.rs/iced-x86/1.16.0/iced_x86/trait.SymbolResolver.html +[`Formatter`]: https://docs.rs/iced-x86/1.16.0/iced_x86/trait.Formatter.html ```rust use iced_x86::{ @@ -329,8 +329,8 @@ Creates a custom [`FormatterOutput`] that is called by a [`Formatter`]. This example will fail to compile unless you install the `colored` crate, see below. -[`FormatterOutput`]: https://docs.rs/iced-x86/1.15.0/iced_x86/trait.FormatterOutput.html -[`Formatter`]: https://docs.rs/iced-x86/1.15.0/iced_x86/trait.Formatter.html +[`FormatterOutput`]: https://docs.rs/iced-x86/1.16.0/iced_x86/trait.FormatterOutput.html +[`Formatter`]: https://docs.rs/iced-x86/1.16.0/iced_x86/trait.Formatter.html ```rust compile_fail // This example uses crate colored = "2.0.0" @@ -602,8 +602,8 @@ static EXAMPLE_CODE: &[u8] = &[ Shows how to get used registers/memory and other info. It uses [`Instruction`] methods and an [`InstructionInfoFactory`] to get this info. -[`Instruction`]: https://docs.rs/iced-x86/1.15.0/iced_x86/struct.Instruction.html -[`InstructionInfoFactory`]: https://docs.rs/iced-x86/1.15.0/iced_x86/struct.InstructionInfoFactory.html +[`Instruction`]: https://docs.rs/iced-x86/1.16.0/iced_x86/struct.Instruction.html +[`InstructionInfoFactory`]: https://docs.rs/iced-x86/1.16.0/iced_x86/struct.InstructionInfoFactory.html ```rust use iced_x86::{ @@ -1149,9 +1149,9 @@ This example shows how to create instructions without using it. This example uses a [`BlockEncoder`] to encode created [`Instruction`]s. -[`BlockEncoder`]: https://docs.rs/iced-x86/1.15.0/iced_x86/struct.BlockEncoder.html -[`CodeAssembler`]: https://docs.rs/iced-x86/1.15.0/iced_x86/code_asm/struct.CodeAssembler.html -[`Instruction`]: https://docs.rs/iced-x86/1.15.0/iced_x86/struct.Instruction.html +[`BlockEncoder`]: https://docs.rs/iced-x86/1.16.0/iced_x86/struct.BlockEncoder.html +[`CodeAssembler`]: https://docs.rs/iced-x86/1.16.0/iced_x86/code_asm/struct.CodeAssembler.html +[`Instruction`]: https://docs.rs/iced-x86/1.16.0/iced_x86/struct.Instruction.html ```rust use iced_x86::{ diff --git a/src/rust/iced-x86/src/code_asm.rs b/src/rust/iced-x86/src/code_asm.rs index f4eab3c03..e98fa0ac2 100644 --- a/src/rust/iced-x86/src/code_asm.rs +++ b/src/rust/iced-x86/src/code_asm.rs @@ -7,7 +7,7 @@ //! //! ```toml //! [dependencies.iced-x86] -//! version = "1.15.0" +//! version = "1.16.0" //! features = ["code_asm"] //! ``` //! @@ -57,7 +57,7 @@ impl CodeAssemblerOptions { /// /// ```toml /// [dependencies.iced-x86] -/// version = "1.15.0" +/// version = "1.16.0" /// features = ["code_asm"] /// ``` ///