# 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 = "ostool"
version = "0.12.1"
authors = ["周睿 <zrufo747@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A tool for operating system development"
readme = "README.md"
keywords = [
    "os",
    "embedded",
    "qemu",
    "u-boot",
    "bootloader",
]
categories = [
    "command-line-utilities",
    "embedded",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/drivercraft/ostool"

[package.metadata.binstall]
bin-dir = "{ name }-{ version }-{ target }/{ bin }{ binary-ext }"
pkg-fmt = "tgz"
pkg-url = "{ repo }/releases/download/{ name }-v{ version }/{ name }-{ version }-{ target }.{ archive-format }"

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

[[bin]]
name = "cargo-osrun"
path = "src/bin/cargo-osrun.rs"

[[bin]]
name = "ostool"
path = "src/main.rs"

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

[dependencies.anyhow]
version = "1"
features = ["backtrace"]

[dependencies.async-trait]
version = "0.1"

[dependencies.byte-unit]
version = "5.1"

[dependencies.cargo_metadata]
version = "0.23"

[dependencies.chrono]
version = "0.4.44"
features = ["serde"]

[dependencies.clap]
version = "4"
features = [
    "derive",
    "derive",
]

[dependencies.colored]
version = "3"

[dependencies.crossterm]
version = "0.29"
features = ["event-stream"]

[dependencies.cursive]
version = "0.21"
features = [
    "crossterm-backend",
    "crossterm-backend",
]

[dependencies.env_logger]
version = "0.11"

[dependencies.fitimage]
version = "0.1"

[dependencies.futures]
version = "0.3"

[dependencies.indicatif]
version = "0.18"

[dependencies.jkconfig]
version = "0.2"
default-features = false

[dependencies.log]
version = "0.4"

[dependencies.lzma-rs]
version = "0.3"

[dependencies.network-interface]
version = "2"

[dependencies.object]
version = "0.39"

[dependencies.ratatui]
version = "0.30"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.13"
features = ["json"]

[dependencies.schemars]
version = "1.0.4"
features = [
    "derive",
    "derive",
]

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

[dependencies.serde_json]
version = "1"

[dependencies.serialport]
version = "4.6"

[dependencies.sha2]
version = "0.11"

[dependencies.tar]
version = "0.4"

[dependencies.tftpd]
version = "0.5"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "full",
    "full",
]

[dependencies.tokio-serial]
version = "5.4"

[dependencies.tokio-tungstenite]
version = "0.28"

[dependencies.tokio-util]
version = "0.7"
features = ["compat"]

[dependencies.toml]
version = "1.0"

[dependencies.uboot-shell]
version = "0.2"

[dependencies.ureq]
version = "3.0"

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