1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO 2# 3# When uploading crates to the registry Cargo will automatically 4# "normalize" Cargo.toml files for maximal compatibility 5# with all versions of Cargo and also rewrite `path` dependencies 6# to registry (e.g., crates.io) dependencies. 7# 8# If you are reading this file be aware that the original Cargo.toml 9# will likely look very different (and much more reasonable). 10# See Cargo.toml.orig for the original contents. 11 12[package] 13edition = "2021" 14rust-version = "1.56" 15name = "no-panic" 16version = "0.1.35" 17authors = ["David Tolnay <dtolnay@gmail.com>"] 18build = "build.rs" 19autolib = false 20autobins = false 21autoexamples = false 22autotests = false 23autobenches = false 24description = "Attribute macro to require that the compiler prove a function can't ever panic." 25documentation = "https://docs.rs/no-panic" 26readme = "README.md" 27categories = [ 28 "no-std", 29 "no-std::no-alloc", 30] 31license = "MIT OR Apache-2.0" 32repository = "https://github.com/dtolnay/no-panic" 33 34[package.metadata.docs.rs] 35rustdoc-args = [ 36 "--generate-link-to-definition", 37 "--extern-html-root-url=core=https://doc.rust-lang.org", 38 "--extern-html-root-url=alloc=https://doc.rust-lang.org", 39 "--extern-html-root-url=std=https://doc.rust-lang.org", 40 "--extern-html-root-url=proc_macro=https://doc.rust-lang.org", 41] 42targets = ["x86_64-unknown-linux-gnu"] 43 44[lib] 45name = "no_panic" 46path = "src/lib.rs" 47proc-macro = true 48 49[[test]] 50name = "test" 51path = "tests/test.rs" 52 53[dependencies.proc-macro2] 54version = "1.0.74" 55 56[dependencies.quote] 57version = "1.0.35" 58 59[dependencies.syn] 60version = "2.0.46" 61features = ["full"] 62 63[dev-dependencies.rustversion] 64version = "1.0.13" 65 66[dev-dependencies.scratch] 67version = "1" 68 69[dev-dependencies.trybuild] 70version = "1.0.81" 71features = ["diff"] 72