[go: up one dir, main page]

no-panic 0.1.32

Attribute macro to require that the compiler prove a function can't ever panic.
Documentation
[dependencies.proc-macro2]
version = "1.0.74"

[dependencies.quote]
version = "1.0.35"

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

[dev-dependencies.rustversion]
version = "1.0.13"

[dev-dependencies.scratch]
version = "1"

[dev-dependencies.trybuild]
features = ["diff"]
version = "1.0.81"

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

[package]
authors = ["David Tolnay <dtolnay@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["no-std", "no-std::no-alloc"]
description = "Attribute macro to require that the compiler prove a function can't ever panic."
documentation = "https://docs.rs/no-panic"
edition = "2021"
license = "MIT OR Apache-2.0"
name = "no-panic"
readme = "README.md"
repository = "https://github.com/dtolnay/no-panic"
rust-version = "1.56"
version = "0.1.32"

[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]
targets = ["x86_64-unknown-linux-gnu"]

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