# 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 = "2021"
name = "swiftui-macros"
version = "0.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros for the swiftui crate"
readme = "README.md"
license = "GPL-3.0"
repository = "https://github.com/eugenehp/rswift"

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

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

[dependencies.quote]
version = "1"

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

[lints.clippy]
missing_transmute_annotations = "warn"
unnecessary_wraps = "warn"

[lints.rust]
unsafe_op_in_unsafe_fn = "warn"

[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = [
    'cfg(target_os, values("xros", "tvos", "watchos"))',
    'cfg(target_abi, values("sim"))',
]
