obs-macros 0.2.1

Procedural macros for the obs SDK: #[derive(Event)], emit!, scope!, instrument.
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.95"
name = "obs-macros"
version = "0.2.1"
authors = ["obs contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros for the obs SDK: #[derive(Event)], emit!, scope!, instrument."
homepage = "https://github.com/tyrchen/obs"
documentation = "https://docs.rs/"
readme = false
keywords = [
    "observability",
    "obs",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/tyrchen/obs"

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

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

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

[dependencies.blake3]
version = "1.8"
default-features = false

[dependencies.heck]
version = "0.5"

[dependencies.obs-build]
version = "0.2.1"

[dependencies.obs-proto]
version = "0.2.1"

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

[dependencies.quote]
version = "1.0"

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

[dev-dependencies.buffa]
version = "0.5"
features = ["std"]
default-features = false

[dev-dependencies.obs-core]
version = "0.2.1"

[dev-dependencies.obs-proto]
version = "0.2.1"

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

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

[lints.clippy]
expect_used = "warn"
indexing_slicing = "warn"
panic = "warn"
unwrap_used = "warn"

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe_code = "forbid"

[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1