mirror of https://github.com/icedland/iced.git
Bump version (Rust)
This commit is contained in:
parent
43adf9f874
commit
af58fcc207
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "iced-x86"
|
||||
version = "1.0.0"# Update html_root_url in lib.rs and usage section in lib.rs/README and version numbers in README docs.rs links
|
||||
version = "1.0.1"# Update html_root_url in lib.rs and usage section in lib.rs/README and version numbers in README docs.rs links
|
||||
authors = ["0xd4d <de4dot@gmail.com>"]
|
||||
license = "MIT"
|
||||
description = "iced-x86 is an x86/x64 disassembler, assembler and instruction decoder written in Rust"
|
||||
|
|
|
@ -27,14 +27,14 @@ Add this to your `Cargo.toml`:
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
iced-x86 = "1.0.0"
|
||||
iced-x86 = "1.0.1"
|
||||
```
|
||||
|
||||
Or to customize which features to use:
|
||||
|
||||
```toml
|
||||
[dependencies.iced-x86]
|
||||
version = "1.0.0"
|
||||
version = "1.0.1"
|
||||
default-features = false
|
||||
# See below for all features
|
||||
features = ["std", "decoder", "masm"]
|
||||
|
@ -77,12 +77,12 @@ 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`].
|
||||
|
||||
[`Decoder`]: https://docs.rs/iced-x86/1.0.0/iced_x86/struct.Decoder.html
|
||||
[`Formatter`]: https://docs.rs/iced-x86/1.0.0/iced_x86/trait.Formatter.html
|
||||
[`GasFormatter`]: https://docs.rs/iced-x86/1.0.0/iced_x86/struct.GasFormatter.html
|
||||
[`IntelFormatter`]: https://docs.rs/iced-x86/1.0.0/iced_x86/struct.IntelFormatter.html
|
||||
[`MasmFormatter`]: https://docs.rs/iced-x86/1.0.0/iced_x86/struct.MasmFormatter.html
|
||||
[`NasmFormatter`]: https://docs.rs/iced-x86/1.0.0/iced_x86/struct.NasmFormatter.html
|
||||
[`Decoder`]: https://docs.rs/iced-x86/1.0.1/iced_x86/struct.Decoder.html
|
||||
[`Formatter`]: https://docs.rs/iced-x86/1.0.1/iced_x86/trait.Formatter.html
|
||||
[`GasFormatter`]: https://docs.rs/iced-x86/1.0.1/iced_x86/struct.GasFormatter.html
|
||||
[`IntelFormatter`]: https://docs.rs/iced-x86/1.0.1/iced_x86/struct.IntelFormatter.html
|
||||
[`MasmFormatter`]: https://docs.rs/iced-x86/1.0.1/iced_x86/struct.MasmFormatter.html
|
||||
[`NasmFormatter`]: https://docs.rs/iced-x86/1.0.1/iced_x86/struct.NasmFormatter.html
|
||||
|
||||
```rust
|
||||
use iced_x86::{Decoder, DecoderOptions, Formatter, Instruction, NasmFormatter};
|
||||
|
@ -167,8 +167,8 @@ static EXAMPLE_CODE: &[u8] = &[
|
|||
|
||||
This example uses a [`BlockEncoder`] to encode created [`Instruction`]s. This example needs the `db` feature because it creates `db` "instructions".
|
||||
|
||||
[`BlockEncoder`]: https://docs.rs/iced-x86/1.0.0/iced_x86/struct.BlockEncoder.html
|
||||
[`Instruction`]: https://docs.rs/iced-x86/1.0.0/iced_x86/struct.Instruction.html
|
||||
[`BlockEncoder`]: https://docs.rs/iced-x86/1.0.1/iced_x86/struct.BlockEncoder.html
|
||||
[`Instruction`]: https://docs.rs/iced-x86/1.0.1/iced_x86/struct.Instruction.html
|
||||
|
||||
```rust
|
||||
use iced_x86::{
|
||||
|
@ -299,8 +299,8 @@ Output:
|
|||
|
||||
Creates a custom [`SymbolResolver`] that is called by a [`Formatter`].
|
||||
|
||||
[`SymbolResolver`]: https://docs.rs/iced-x86/1.0.0/iced_x86/trait.SymbolResolver.html
|
||||
[`Formatter`]: https://docs.rs/iced-x86/1.0.0/iced_x86/trait.Formatter.html
|
||||
[`SymbolResolver`]: https://docs.rs/iced-x86/1.0.1/iced_x86/trait.SymbolResolver.html
|
||||
[`Formatter`]: https://docs.rs/iced-x86/1.0.1/iced_x86/trait.Formatter.html
|
||||
|
||||
```rust
|
||||
use iced_x86::{
|
||||
|
@ -356,8 +356,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.0.0/iced_x86/trait.FormatterOutput.html
|
||||
[`Formatter`]: https://docs.rs/iced-x86/1.0.0/iced_x86/trait.Formatter.html
|
||||
[`FormatterOutput`]: https://docs.rs/iced-x86/1.0.1/iced_x86/trait.FormatterOutput.html
|
||||
[`Formatter`]: https://docs.rs/iced-x86/1.0.1/iced_x86/trait.Formatter.html
|
||||
|
||||
```rust compile_fail
|
||||
// This example uses crate colored = "1.9.2"
|
||||
|
@ -622,8 +622,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.0.0/iced_x86/struct.Instruction.html
|
||||
[`InstructionInfoFactory`]: https://docs.rs/iced-x86/1.0.0/iced_x86/struct.InstructionInfoFactory.html
|
||||
[`Instruction`]: https://docs.rs/iced-x86/1.0.1/iced_x86/struct.Instruction.html
|
||||
[`InstructionInfoFactory`]: https://docs.rs/iced-x86/1.0.1/iced_x86/struct.InstructionInfoFactory.html
|
||||
|
||||
```rust
|
||||
use iced_x86::{
|
||||
|
|
|
@ -50,14 +50,14 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
//!
|
||||
//! ```toml
|
||||
//! [dependencies]
|
||||
//! iced-x86 = "1.0.0"
|
||||
//! iced-x86 = "1.0.1"
|
||||
//! ```
|
||||
//!
|
||||
//! Or to customize which features to use:
|
||||
//!
|
||||
//! ```toml
|
||||
//! [dependencies.iced-x86]
|
||||
//! version = "1.0.0"
|
||||
//! version = "1.0.1"
|
||||
//! default-features = false
|
||||
//! # See below for all features
|
||||
//! features = ["std", "decoder", "masm"]
|
||||
|
@ -1063,7 +1063,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
//! Bumping the minimum supported version of `rustc` is considered a minor breaking change. The minor version of iced-x86 will be incremented.
|
||||
|
||||
#![doc(html_logo_url = "https://raw.githubusercontent.com/0xd4d/iced/master/logo.png")]
|
||||
#![doc(html_root_url = "https://docs.rs/iced-x86/1.0.0")]
|
||||
#![doc(html_root_url = "https://docs.rs/iced-x86/1.0.1")]
|
||||
#![allow(unknown_lints)]
|
||||
#![allow(bare_trait_objects)] // Not supported if < 1.27.0
|
||||
#![warn(absolute_paths_not_starting_with_crate)]
|
||||
|
|
Loading…
Reference in New Issue