multivers-runner 0.2.0

Library to create a portable binary that embeds multiple versions of an executable each using a different CPU feature set
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"
name = "multivers-runner"
version = "0.2.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library to create a portable binary that embeds multiple versions of an executable each using a different CPU feature set"
readme = "README.md"
keywords = [
    "performance",
    "optimization",
    "cargo",
    "cpu",
    "multivers",
]
categories = ["hardware-support"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ronnychevalier/cargo-multivers"
resolver = "2"

[features]
debug = [
    "dep:env_logger",
    "dep:log",
]

[lib]
name = "multivers_runner"
path = "src/lib.rs"

[dependencies.bzip2]
version = "0.6"
features = ["static"]

[dependencies.cfg-if]
version = "1"

[dependencies.env_logger]
version = "0.11"
optional = true

[dependencies.log]
version = "0.4"
optional = true

[dependencies.proc-exit]
version = "2"

[dependencies.qbsdiff]
version = "1.4"

[build-dependencies.bzip2]
version = "0.6"
features = ["static"]

[build-dependencies.proc-exit]
version = "2"

[build-dependencies.qbsdiff]
version = "1.4"

[build-dependencies.quote]
version = "1.0.29"
default-features = false

[build-dependencies.serde]
version = "1.0.185"
features = ["derive"]

[build-dependencies.serde_json]
version = "1"

[target.'cfg(not(target_os = "linux"))'.dependencies.tempfile]
version = "3.5"

[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"

[target.'cfg(target_os = "linux")'.dependencies.rustix]
version = "1"
features = ["fs"]
default-features = false

[lints.clippy]
as_ptr_cast_mut = "warn"
cargo = "warn"
cast_lossless = "warn"
dbg_macro = "warn"
expect_used = "warn"
indexing_slicing = "warn"
lint_groups_priority = "allow"
panic = "warn"
panic_in_result_fn = "warn"
todo = "warn"
trailing_empty_array = "warn"
unimplemented = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unwrap_used = "warn"
use_debug = "warn"

[lints.rust]
improper_ctypes = "warn"
improper_ctypes_definitions = "warn"
missing_docs = "warn"
non_ascii_idents = "warn"
rust_2018_idioms = "warn"
rust_2024_compatibility = "warn"
single_use_lifetimes = "warn"
trivial_numeric_casts = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage)"]