# 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.60"
name = "byteorder-embedded-io"
version = "0.1.1"
authors = ["Zach Heylmun <zach@heylmun.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Extension of byteorder with embedded-io Read/Write trait support for no_std environments."
homepage = "https://github.com/zheylmun/byteorder-embedded-io"
readme = "README.md"
keywords = [
    "byte",
    "endian",
    "big-endian",
    "little-endian",
    "embedded",
]
categories = [
    "encoding",
    "parsing",
    "no-std",
    "embedded",
]
license = "Unlicense OR MIT"
repository = "https://github.com/zheylmun/byteorder-embedded-io"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
embedded-io = ["dep:embedded-io"]
embedded-io-async = [
    "dep:embedded-io-async",
    "embedded-io",
]
std = ["byteorder/std"]

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

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

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

[dependencies.byteorder]
version = "1"
default-features = false

[dependencies.embedded-io]
version = "0.7"
optional = true
default-features = false

[dependencies.embedded-io-async]
version = "0.7"
optional = true
default-features = false

[dev-dependencies.embedded-io-adapters]
version = "0.7"
features = [
    "std",
    "tokio-1",
]

[dev-dependencies.quickcheck]
version = "0.9.2"
default-features = false

[dev-dependencies.rand]
version = "0.7"

[dev-dependencies.tokio]
version = "1"
features = [
    "io-util",
    "macros",
    "rt",
]
