ph-esp32-mac 0.1.1

no_std, no_alloc Rust implementation of the ESP32 Ethernet MAC (EMAC) driver
# 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"
rust-version = "1.92.0"
name = "ph-esp32-mac"
version = "0.1.1"
authors = ["Steven Giacomelli <steve@giacomelli.ca>"]
build = false
include = [
    "/Cargo.toml",
    "/README.md",
    "/LICENSE",
    "/CHANGELOG.md",
    "/docs/**",
    "/src/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "no_std, no_alloc Rust implementation of the ESP32 Ethernet MAC (EMAC) driver"
homepage = "https://github.com/photon-circus/ph-esp32-mac"
documentation = "https://docs.rs/ph-esp32-mac"
readme = "README.md"
keywords = [
    "esp32",
    "ethernet",
    "emac",
    "embedded",
    "no_std",
]
categories = [
    "embedded",
    "hardware-support",
    "no-std",
]
license = "Apache-2.0"
repository = "https://github.com/photon-circus/ph-esp32-mac"

[package.metadata.docs.rs]
default-target = "xtensa-esp32-none-elf"
features = [
    "smoltcp",
    "critical-section",
    "async",
    "embassy-net",
    "log",
    "defmt",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]
cargo-args = [
    "-Z",
    "build-std=core",
]

[features]
async = ["critical-section"]
critical-section = ["dep:critical-section"]
default = ["esp32"]
defmt = ["dep:defmt"]
embassy-net = [
    "dep:embassy-net-driver",
    "critical-section",
]
esp-hal = [
    "dep:esp-hal",
    "critical-section",
]
esp32 = []
esp32p4 = []
log = ["dep:log"]
smoltcp = ["dep:smoltcp"]

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

[dependencies.critical-section]
version = "1.2"
optional = true

[dependencies.defmt]
version = "0.3"
optional = true

[dependencies.embassy-net-driver]
version = "0.2"
optional = true

[dependencies.embedded-hal]
version = "1.0"

[dependencies.esp-hal]
version = "1.0"
optional = true
default-features = false

[dependencies.log]
version = "0.4"
optional = true
default-features = false

[dependencies.smoltcp]
version = "0.12"
features = [
    "medium-ethernet",
    "proto-ipv4",
    "socket-tcp",
]
optional = true
default-features = false

[dev-dependencies.critical-section]
version = "1.2"
features = ["std"]