bb-flasher-sd 2.0.0

A library to flash OS images to SD Card
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"
name = "bb-flasher-sd"
version = "2.0.0"
authors = ["Ayush Singh <ayush@beagleboard.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library to flash OS images to SD Card"
readme = "README.md"
keywords = [
    "flasher",
    "beagle",
    "sd-card",
]
categories = [
    "development-tools",
    "embedded",
    "filesystem",
    "os",
]
license = "MIT"
repository = "https://openbeagle.org/ayush1325/bb-imager-rs"
resolver = "2"

[features]
macos_authopen = [
    "dep:security-framework",
    "dep:nix",
]
udev = ["dep:udisks2"]

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

[dependencies.anyhow]
version = "1.0"

[dependencies.bb-bmap-parser]
version = "0.1"

[dependencies.bb-drivelist]
version = "1.0"

[dependencies.fatfs]
version = "0.3"

[dependencies.fscommon]
version = "0.1"

[dependencies.gpt]
version = "4.1"

[dependencies.mbrman]
version = "0.6"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.50"
features = [
    "rt-multi-thread",
    "fs",
]
default-features = false

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

[dependencies.tracing]
version = "0.1"

[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"

[target.'cfg(target_os = "linux")'.dependencies.tokio]
version = "1.50"
features = [
    "rt-multi-thread",
    "process",
]
default-features = false

[target.'cfg(target_os = "linux")'.dependencies.udisks2]
version = "0.3"
optional = true

[target.'cfg(target_os = "macos")'.dependencies.nix]
version = "0.31"
features = [
    "socket",
    "uio",
]
optional = true

[target.'cfg(target_os = "macos")'.dependencies.security-framework]
version = "3.7"
optional = true

[target."cfg(windows)".dependencies.tokio]
version = "1.50"
features = [
    "rt-multi-thread",
    "process",
    "io-util",
]
default-features = false

[target."cfg(windows)".dependencies.windows]
version = "0.62"
features = [
    "Win32",
    "Win32_Storage",
    "Win32_Storage_FileSystem",
    "Win32_Security",
    "Win32_System",
    "Win32_System_IO",
    "Win32_System_Ioctl",
]