# 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 = "brec_macros"
version = "0.3.0"
authors = ["d.astafyev@outlook.com"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Code generator for brec. Implements the block and payload macros."
homepage = "https://github.com/icsmw/brec"
readme = "README.md"
keywords = [
    "binary",
    "packet",
    "storage",
    "logging",
    "streaming",
]
categories = [
    "encoding",
    "data-structures",
    "filesystem",
    "development-tools",
    "parser-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/icsmw/brec.git"
resolver = "2"

[features]
generate_macro_test = []
locked_storage = []
observer = []
resilient = []

[lib]
name = "brec_macros"
path = "src/lib.rs"
proc-macro = true

[dependencies.brec_common]
version = "0.3.0"

[dependencies.crc32fast]
version = "1.4"

[dependencies.enum_ids]
version = "0.7"

[dependencies.lazy_static]
version = "1.5"

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

[dependencies.quote]
version = "1.0"

[dependencies.syn]
version = "2.0"
features = ["full"]

[dependencies.thiserror]
version = "2.0"

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

[dev-dependencies.proptest]
version = "1.4"

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

[dev-dependencies.uuid]
version = "1.22"
features = [
    "fast-rng",
    "macro-diagnostics",
    "v4",
]
