rmk-macro 0.8.0

Proc-macro crate of RMK
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 = "rmk-macro"
version = "0.8.0"
authors = ["Haobo Gu <haobogu@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Proc-macro crate of RMK"
homepage = "https://github.com/rmk-rs/rmk"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/rmk-rs/rmk"
resolver = "2"

[features]
_simulator = [
    "dep:toml",
    "dep:serde",
    "dep:serde_json",
]
dfu_nrf = []
dfu_rp = []
dfu_split = []
watchdog = []

[lib]
name = "rmk_macro"
path = "src/lib.rs"
doctest = false
proc-macro = true

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

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

[dependencies.cargo_toml]
version = "1"

[dependencies.darling]
version = "0.24"

[dependencies.proc-macro2]
version = "1.0"

[dependencies.quote]
version = "1.0"

[dependencies.rmk-config]
version = "=0.8.0"

[dependencies.rmk-types]
version = "=0.4.0"
features = ["_codegen"]

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.strsim]
version = "0.11"

[dependencies.strum]
version = "0.28"
features = ["derive"]
default-features = false

[dependencies.syn]
version = "3.0"
features = [
    "full",
    "extra-traits",
]

[dependencies.toml]
version = "1"
optional = true

[dev-dependencies.macrotest]
version = "1.0"

[dev-dependencies.trybuild]
version = "1.0"