Bump version

This commit is contained in:
wtfsck 2024-01-20 15:36:25 +01:00
parent b16736ae6b
commit 601c40570d
14 changed files with 41 additions and 41 deletions

View File

@ -1,4 +1,4 @@
# iced [![crates.io](https://img.shields.io/crates/v/iced-x86.svg)](https://crates.io/crates/iced-x86) [![NuGet](https://img.shields.io/nuget/v/iced.svg)](https://www.nuget.org/packages/iced/) [![maven](https://img.shields.io/maven-central/v/io.github.icedland.iced/iced-x86)](https://central.sonatype.com/artifact/io.github.icedland.iced/iced-x86/1.20.0) [![pypi](https://img.shields.io/pypi/v/iced-x86.svg)](https://pypi.org/project/iced-x86/) [![GitHub builds](https://github.com/icedland/iced/workflows/GitHub%20CI/badge.svg)](https://github.com/icedland/iced/actions) [![codecov](https://codecov.io/gh/icedland/iced/branch/master/graph/badge.svg)](https://codecov.io/gh/icedland/iced)
# iced [![crates.io](https://img.shields.io/crates/v/iced-x86.svg)](https://crates.io/crates/iced-x86) [![NuGet](https://img.shields.io/nuget/v/iced.svg)](https://www.nuget.org/packages/iced/) [![maven](https://img.shields.io/maven-central/v/io.github.icedland.iced/iced-x86)](https://central.sonatype.com/artifact/io.github.icedland.iced/iced-x86/1.21.0) [![pypi](https://img.shields.io/pypi/v/iced-x86.svg)](https://pypi.org/project/iced-x86/) [![GitHub builds](https://github.com/icedland/iced/workflows/GitHub%20CI/badge.svg)](https://github.com/icedland/iced/actions) [![codecov](https://codecov.io/gh/icedland/iced/branch/master/graph/badge.svg)](https://codecov.io/gh/icedland/iced)
<img align="right" width="160px" height="160px" src="logo.png">

View File

@ -1,7 +1,7 @@
import sys
import json
iced_version = "1.20.0"
iced_version = "1.21.0"
if len(sys.argv) != 3:
raise ValueError(f"usage {sys.argv[0]} npm_package_json test_package_json")

View File

@ -2,7 +2,7 @@
<PropertyGroup>
<Copyright>Copyright (C) 2018-present iced project and contributors</Copyright>
<Version>1.20.0</Version>
<Version>1.21.0</Version>
<Authors>iced project and contributors &lt;https://github.com/icedland&gt;</Authors>
<InformationalVersion>$(Version)</InformationalVersion>

View File

@ -1,4 +1,4 @@
# iced [![maven](https://img.shields.io/maven-central/v/io.github.icedland.iced/iced-x86)](https://central.sonatype.com/artifact/io.github.icedland.iced/iced-x86/1.20.0) [![GitHub builds](https://github.com/icedland/iced/workflows/GitHub%20CI/badge.svg)](https://github.com/icedland/iced/actions)
# iced [![maven](https://img.shields.io/maven-central/v/io.github.icedland.iced/iced-x86)](https://central.sonatype.com/artifact/io.github.icedland.iced/iced-x86/1.21.0) [![GitHub builds](https://github.com/icedland/iced/workflows/GitHub%20CI/badge.svg)](https://github.com/icedland/iced/actions)
iced is a blazing fast and correct x86 (16/32/64-bit) instruction decoder, disassembler and assembler written in Java.

View File

@ -6,7 +6,7 @@
<groupId>io.github.icedland.iced</groupId>
<artifactId>iced-x86</artifactId>
<version>1.20.0</version>
<version>1.21.0</version>
<name>iced-x86</name>
<description>x86/x64 disassembler, encoder, assembler written in Java</description>

View File

@ -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.20.1000"
version = "1.21.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"

View File

@ -1,6 +1,6 @@
[package]
name = "iced-x86-lua"
version = "1.20.0"
version = "1.21.0"
edition = "2021"
publish = false
rust-version = "1.57.0"
@ -25,7 +25,7 @@ libc = "0.2"
[dependencies.iced-x86]
# The version must match the one we expect, it should not be the latest version on crates.io
version = "=1.20.0"
version = "=1.21.0"
default-features = false
features = ["std", "decoder", "mvex", "encoder", "block_encoder", "op_code_info", "instr_info", "gas", "intel", "masm", "nasm"]
# To use ../iced-x86 source code, add this to your $HOME/.cargo/config.toml

View File

@ -1,4 +1,4 @@
local modver = "1.20.0"
local modver = "1.21.0"
local specrev = "-1"
local libname = "iced_x86"
@ -6,7 +6,7 @@ package = "iced_x86"
version = modver .. specrev
source = {
url = "git+https://git@github.com/icedland/iced.git",
tag = "v1.20.0",
tag = "v1.21.0",
}
description = {
summary = "x86/x64 disassembler, assembler and instruction decoder",

View File

@ -1,6 +1,6 @@
[package]
name = "iced-x86-py"
version = "1.20.0"
version = "1.21.0"
edition = "2021"
publish = false
rust-version = "1.57.0"
@ -19,7 +19,7 @@ features = ["macros", "extension-module", "abi3-py38"]
[dependencies.iced-x86]
# If building from sdist, it should use the exact same version as the sdist.
version = "=1.20.0"
version = "=1.21.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"]

View File

@ -23,7 +23,7 @@ project = "iced-x86"
copyright = "Copyright (C) 2018-present iced project and contributors"
author = "iced project and contributors <https://github.com/icedland>"
# The full version, including alpha/beta/rc tags
release = "1.20.0"
release = "1.21.0"
# -- General configuration ---------------------------------------------------

View File

@ -24,7 +24,7 @@ py_limited_api = any(arg == "--py-limited-api" or arg.startswith("--py-limited-a
setup(
name="iced-x86",
version="1.20.0",
version="1.21.0",
license="MIT",
author_email="wtfsck@protonmail.com",
author="wtfsck",

View File

@ -1,6 +1,6 @@
[package]
name = "iced-x86"
version = "1.20.0"
version = "1.21.0"
edition = "2021"
license = "MIT"
description = "iced-x86 is a blazing fast and correct x86/x64 disassembler, assembler and instruction decoder written in Rust"

View File

@ -26,14 +26,14 @@ Add this to your `Cargo.toml`:
```toml
[dependencies]
iced-x86 = "1.20.0"
iced-x86 = "1.21.0"
```
Or to customize which features to use:
```toml
[dependencies.iced-x86]
version = "1.20.0"
version = "1.21.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.20.0/iced_x86/struct.BlockEncoder.html
[`CodeAssembler`]: https://docs.rs/iced-x86/1.20.0/iced_x86/code_asm/struct.CodeAssembler.html
[`Instruction`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.Instruction.html
[`OpCodeInfo`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.OpCodeInfo.html
[`BlockEncoder`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.BlockEncoder.html
[`CodeAssembler`]: https://docs.rs/iced-x86/1.21.0/iced_x86/code_asm/struct.CodeAssembler.html
[`Instruction`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.Instruction.html
[`OpCodeInfo`]: https://docs.rs/iced-x86/1.21.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<TraitOptions>`] (or [`FastFormatter`]).
[`Decoder`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.Decoder.html
[`Formatter`]: https://docs.rs/iced-x86/1.20.0/iced_x86/trait.Formatter.html
[`GasFormatter`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.GasFormatter.html
[`IntelFormatter`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.IntelFormatter.html
[`MasmFormatter`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.MasmFormatter.html
[`NasmFormatter`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.NasmFormatter.html
[`SpecializedFormatter<TraitOptions>`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.SpecializedFormatter.html
[`FastFormatter`]: https://docs.rs/iced-x86/1.20.0/iced_x86/type.FastFormatter.html
[`Decoder`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.Decoder.html
[`Formatter`]: https://docs.rs/iced-x86/1.21.0/iced_x86/trait.Formatter.html
[`GasFormatter`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.GasFormatter.html
[`IntelFormatter`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.IntelFormatter.html
[`MasmFormatter`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.MasmFormatter.html
[`NasmFormatter`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.NasmFormatter.html
[`SpecializedFormatter<TraitOptions>`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.SpecializedFormatter.html
[`FastFormatter`]: https://docs.rs/iced-x86/1.21.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.20.0"
version = "1.21.0"
features = ["code_asm"]
```
@ -274,8 +274,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.20.0/iced_x86/trait.SymbolResolver.html
[`Formatter`]: https://docs.rs/iced-x86/1.20.0/iced_x86/trait.Formatter.html
[`SymbolResolver`]: https://docs.rs/iced-x86/1.21.0/iced_x86/trait.SymbolResolver.html
[`Formatter`]: https://docs.rs/iced-x86/1.21.0/iced_x86/trait.Formatter.html
```rust
use iced_x86::{
@ -332,8 +332,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.20.0/iced_x86/trait.FormatterOutput.html
[`Formatter`]: https://docs.rs/iced-x86/1.20.0/iced_x86/trait.Formatter.html
[`FormatterOutput`]: https://docs.rs/iced-x86/1.21.0/iced_x86/trait.FormatterOutput.html
[`Formatter`]: https://docs.rs/iced-x86/1.21.0/iced_x86/trait.Formatter.html
```rust compile_fail
// This example uses crate colored = "2.0.0"
@ -605,8 +605,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.20.0/iced_x86/struct.Instruction.html
[`InstructionInfoFactory`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.InstructionInfoFactory.html
[`Instruction`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.Instruction.html
[`InstructionInfoFactory`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.InstructionInfoFactory.html
```rust
use iced_x86::{
@ -1152,9 +1152,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.20.0/iced_x86/struct.BlockEncoder.html
[`CodeAssembler`]: https://docs.rs/iced-x86/1.20.0/iced_x86/code_asm/struct.CodeAssembler.html
[`Instruction`]: https://docs.rs/iced-x86/1.20.0/iced_x86/struct.Instruction.html
[`BlockEncoder`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.BlockEncoder.html
[`CodeAssembler`]: https://docs.rs/iced-x86/1.21.0/iced_x86/code_asm/struct.CodeAssembler.html
[`Instruction`]: https://docs.rs/iced-x86/1.21.0/iced_x86/struct.Instruction.html
```rust
use iced_x86::{

View File

@ -7,7 +7,7 @@
//!
//! ```toml
//! [dependencies.iced-x86]
//! version = "1.20.0"
//! version = "1.21.0"
//! features = ["code_asm"]
//! ```
//!
@ -57,7 +57,7 @@ impl CodeAssemblerOptions {
///
/// ```toml
/// [dependencies.iced-x86]
/// version = "1.20.0"
/// version = "1.21.0"
/// features = ["code_asm"]
/// ```
///