x86-native 0.1.6

Cross-platform native x86 machine library with image, bootloader, and saved-state APIs
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "x86-native"
version = "0.1.6"
authors = ["x86 contributors"]
build = false
exclude = ["dist/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform native x86 machine library with image, bootloader, and saved-state APIs"
readme = "README.md"
keywords = [
    "x86",
    "emulator",
    "machine",
    "disk-image",
    "bootloader",
]
categories = [
    "emulators",
    "hardware-support",
]
license = "BSD-2-Clause OR MIT"
repository = "https://github.com/illussioon/x86"

[features]
default = [
    "remote",
    "zstd",
    "native-runtime",
]
native-runtime = ["dep:native-v86-core"]
remote = ["dep:ureq"]
zstd = ["dep:zstd"]

[lib]
name = "x86"
crate-type = [
    "rlib",
    "cdylib",
    "staticlib",
]
path = "src/lib.rs"

[[bin]]
name = "x86-console"
path = "src/bin/x86-console.rs"

[[example]]
name = "host"
path = "examples/host.rs"

[[test]]
name = "api"
path = "tests/api.rs"

[dependencies.hex]
version = "0.4"

[dependencies.native-v86-core]
version = "0.1.4"
features = ["native-interpreter"]
optional = true
package = "native-v86-core"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.ureq]
version = "2.9.7"
features = ["tls"]
optional = true
default-features = false

[dependencies.zstd]
version = "0.13"
optional = true

[dev-dependencies.tempfile]
version = "3"

[profile.release]
lto = "thin"
codegen-units = 1
panic = "abort"
strip = true