# 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" rust-version = "1.75" name = "ruma-macros" version = "0.14.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Procedural macros used by the Ruma crates." homepage = "https://ruma.dev/" readme = "README.md" keywords = [ "matrix", "chat", "messaging", "ruma", ] categories = [ "api-bindings", "web-programming", ] license = "MIT" repository = "https://github.com/ruma/ruma" [lib] name = "ruma_macros" path = "src/lib.rs" proc-macro = true [dependencies.cfg-if] version = "1.0.0" [dependencies.once_cell] version = "1.13.0" [dependencies.proc-macro-crate] version = "3.1.0" [dependencies.proc-macro2] version = "1.0.24" [dependencies.quote] version = "1.0.8" [dependencies.ruma-identifiers-validation] version = "0.10.0" [dependencies.serde] version = "1.0.164" features = ["derive"] [dependencies.syn] version = "2.0.2" features = [ "extra-traits", "full", "visit", ] [dependencies.toml] version = "0.8.2" features = ["parse"] default-features = false [features] __internal_macro_expand = ["syn/visit-mut"] [lints.clippy] arc_with_non_send_sync = "allow" branches_sharing_code = "warn" cloned_instead_of_copied = "warn" dbg_macro = "warn" disallowed_types = "warn" empty_line_after_outer_attr = "warn" exhaustive_enums = "warn" exhaustive_structs = "warn" inefficient_to_string = "warn" macro_use_imports = "warn" map_flatten = "warn" missing_enforced_import_renames = "warn" mod_module_files = "warn" mut_mut = "warn" new_without_default = "allow" nonstandard_macro_braces = "warn" semicolon_if_nothing_returned = "warn" str_to_string = "warn" todo = "warn" unreadable_literal = "warn" unseparated_literal_suffix = "warn" wildcard_imports = "warn" [lints.rust] semicolon_in_expressions_from_macros = "warn" unreachable_pub = "warn" unused_import_braces = "warn" unused_qualifications = "warn" [lints.rust.rust_2018_idioms] level = "warn" priority = -1