innodb-utils 2.0.0

InnoDB file analysis toolkit
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 = "2021"
name = "innodb-utils"
version = "2.0.0"
build = "build.rs"
exclude = [
    ".env",
    ".DS_Store",
    "Dockerfile",
    "IdbHelpers/",
    "*.ibd",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "InnoDB file analysis toolkit"
homepage = "https://github.com/ringo380/idb-utils"
readme = "README.md"
keywords = [
    "innodb",
    "mysql",
    "database",
    "ibd",
    "forensics",
]
categories = [
    "command-line-utilities",
    "database",
]
license = "MIT"
repository = "https://github.com/ringo380/idb-utils"

[package.metadata.docs.rs]
all-features = true

[features]
cli = [
    "dep:clap",
    "dep:colored",
    "dep:indicatif",
    "dep:ctrlc",
    "dep:chrono",
    "dep:rand",
]
default = ["cli"]
mysql = [
    "dep:mysql_async",
    "dep:tokio",
    "cli",
]

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

[[bin]]
name = "inno"
path = "src/main.rs"
required-features = ["cli"]

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

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

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

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

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

[dependencies.aes]
version = "0.8"

[dependencies.byteorder]
version = "1"

[dependencies.cbc]
version = "0.1"

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

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.colored]
version = "2"
optional = true

[dependencies.crc32c]
version = "0.6"

[dependencies.ctrlc]
version = "3"
optional = true

[dependencies.ecb]
version = "0.1"

[dependencies.flate2]
version = "1"

[dependencies.indicatif]
version = "0.18"
optional = true

[dependencies.lz4_flex]
version = "0.11"

[dependencies.mysql_async]
version = "0.36"
optional = true

[dependencies.rand]
version = "0.9"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
]
optional = true

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

[build-dependencies.clap]
version = "4"
features = ["derive"]

[build-dependencies.clap_mangen]
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
strip = true