esp-println 0.17.0

Provides `print!` and `println!` implementations for various Espressif devices
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"
rust-version = "1.88.0"
name = "esp-println"
version = "0.17.0"
build = "build.rs"
links = "esp-println"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Provides `print!` and `println!` implementations for various Espressif devices"
documentation = "https://docs.espressif.com/projects/rust/esp-println/latest/"
readme = "README.md"
keywords = [
    "defmt",
    "embedded",
    "esp32",
    "espressif",
    "logging",
]
categories = [
    "embedded",
    "hardware-support",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/esp-rs/esp-hal"

[package.metadata.espressif.doc-config]
features = [
    "auto",
    "defmt-espflash",
    "critical-section",
]

[[package.metadata.espressif.check-configs]]
features = ["auto"]

[[package.metadata.espressif.check-configs]]
features = ["jtag-serial"]
if = 'chip_has("soc_has_usb_device")'

[[package.metadata.espressif.check-configs]]
features = ["uart"]

[[package.metadata.espressif.check-configs]]
features = ["no-op"]

[[package.metadata.espressif.check-configs]]
features = [
    "auto",
    "log-04",
    "timestamp",
]

[[package.metadata.espressif.check-configs]]
features = [
    "auto",
    "defmt-espflash",
    "timestamp",
]

[[package.metadata.espressif.clippy-configs]]
features = [
    "auto",
    "log-04",
    "timestamp",
]

[[package.metadata.espressif.clippy-configs]]
features = [
    "auto",
    "defmt-espflash",
    "timestamp",
]

[package.metadata.docs.rs]
cargo-args = [
    "-Z",
    "build-std=core",
]
default-target = "riscv32imc-unknown-none-elf"
features = ["esp32c3"]

[features]
auto = ["dep:portable-atomic"]
colors = []
critical-section = ["dep:esp-sync"]
default = [
    "auto",
    "colors",
    "critical-section",
]
defmt-espflash = [
    "dep:defmt",
    "defmt?/encoding-rzcobs",
]
esp32 = [
    "esp-metadata-generated/esp32",
    "esp-sync?/esp32",
]
esp32c2 = [
    "esp-metadata-generated/esp32c2",
    "esp-sync?/esp32c2",
]
esp32c3 = [
    "esp-metadata-generated/esp32c3",
    "esp-sync?/esp32c3",
]
esp32c5 = [
    "esp-metadata-generated/esp32c5",
    "esp-sync?/esp32c5",
]
esp32c6 = [
    "esp-metadata-generated/esp32c6",
    "esp-sync?/esp32c6",
]
esp32c61 = [
    "esp-metadata-generated/esp32c61",
    "esp-sync?/esp32c61",
]
esp32h2 = [
    "esp-metadata-generated/esp32h2",
    "esp-sync?/esp32h2",
]
esp32s2 = [
    "esp-metadata-generated/esp32s2",
    "esp-sync?/esp32s2",
]
esp32s3 = [
    "esp-metadata-generated/esp32s3",
    "esp-sync?/esp32s3",
]
jtag-serial = ["dep:portable-atomic"]
log-04 = ["dep:log-04"]
no-op = []
timestamp = []
uart = []

[lib]
name = "esp_println"
path = "src/lib.rs"
test = false
bench = false

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

[dependencies.document-features]
version = "0.2"

[dependencies.esp-sync]
version = "0.2.1"
optional = true

[dependencies.log-04]
version = "0.4"
optional = true
package = "log"

[dependencies.portable-atomic]
version = "1.11"
optional = true
default-features = false

[build-dependencies.esp-metadata-generated]
version = "0.4.0"
features = ["build-script"]

[build-dependencies.log-04]
version = "0.4"
package = "log"

[lints.rust]
static_mut_refs = "allow"