libhotpatch 1.2.0

Shared library live code reloading and hot-patching
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.91"
name = "libhotpatch"
version = "1.2.0"
authors = ["Dasaav"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared library live code reloading and hot-patching"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Dasaav-dsv/libhotpatch"
resolver = "2"

[features]
checked = [
    "dep:rmp-serde",
    "libhotpatch-macros/checked",
]
default = ["checked"]

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

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

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

[dependencies.atomic-wait]
version = "1.1"

[dependencies.libhotpatch-macros]
version = "0.2.0"

[dependencies.libloading]
version = "0.9"

[dependencies.linkme]
version = "0.3"

[dependencies.log]
version = "0.4"
features = ["std"]

[dependencies.rmp-serde]
version = "1.3.0"
optional = true

[dependencies.tempfile]
version = "3.23"

[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_System_LibraryLoader",
    "Win32_System_Memory",
]

[profile.dev.package.xxhash-rust]
opt-level = 3