# 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 = "fitimage"
version = "0.1.2"
authors = ["周睿 <zrufo747@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library for creating U-Boot compatible FIT images"
readme = "README.md"
keywords = [
    "u-boot",
    "boot",
    "fit-image",
    "embedded",
]
categories = [
    "embedded",
    "development-tools",
    "os",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/drivercraft/ostool"
resolver = "3"

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.byteorder]
version = "1.4"

[dependencies.crc]
version = "3.0"

[dependencies.device_tree]
version = "1.1"

[dependencies.flate2]
version = "1.0"
features = ["zlib"]

[dependencies.hex]
version = "0.4"

[dependencies.md5]
version = "0.8"

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

[dependencies.sha1]
version = "0.10"

[dependencies.thiserror]
version = "2.0"

[dependencies.vm-fdt]
version = "0.3"

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