# 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 = "2021"
name = "il2cpp-bridge-rs"
version = "0.1.3"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust library for Unity IL2CPP runtime introspection — resolve classes, invoke methods, and interact with the IL2CPP VM at runtime"
readme = "README.md"
keywords = [
    "il2cpp",
    "unity",
    "gamedev",
    "game-modding",
    "reverse-engineering",
]
categories = [
    "external-ffi-bindings",
    "game-engines",
]
license = "MIT"
repository = "https://github.com/Batchhh/il2cpp-bridge-rs"

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

[dependencies.dashmap]
version = "6"

[dependencies.glam]
version = "0.32.1"

[dependencies.log]
version = "0.4"

[dependencies.once_cell]
version = "1"

[dependencies.rustc-hash]
version = "2"

[dependencies.thiserror]
version = "2"

[dependencies.zip]
version = "8.2.0"

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.mach2]
version = "0.6.0"

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.oslog]
version = "0.2"

[target.'cfg(not(any(target_os = "macos", target_os = "ios")))'.dependencies.env_logger]
version = "0.11"
features = ["auto-color"]
default-features = false

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

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

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

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
overflow-checks = false
strip = "debuginfo"
