# 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"
rust-version = "1.71"
name = "dfu-libusb"
version = "0.6.2"
authors = ["Cecile Tonglet <cecile.tonglet@cecton.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Implementation of DFU using libusb and dfu-core"
homepage = "https://github.com/dfu-rs/dfu-libusb"
documentation = "https://docs.rs/dfu-libusb"
readme = "README.md"
keywords = [
    "dfu",
    "libusb",
    "firmware",
    "usb",
    "embedded",
]
categories = [
    "embedded",
    "hardware-support",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dfu-rs/dfu-libusb"

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

[[example]]
name = "describe"
path = "examples/describe.rs"

[[example]]
name = "download"
path = "examples/download.rs"

[dependencies.dfu-core]
version = "0.11"
features = ["std"]

[dependencies.rusb]
version = "0.9"

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.clap]
version = "4.6.1"
features = ["derive"]

[dev-dependencies.indicatif]
version = "0.18.4"

[dev-dependencies.simplelog]
version = "0.12"
