[package]
edition = "2024"
rust-version = "1.95"
name = "lifetime-extender"
version = "0.1.2"
authors = ["Neutron3529 <qweytr_1@163.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "This crate is published for a severe bug that allow user write safe code to extend the lifetime of any object, which is unacceptable since such behavior may easily leads to UAF, double free and many UB. This crate should NOT used in the real life, since it relies on a BUG, not a feature."
readme = false
license-file = "LICENSE"
[features]
i-can-do-whatever-the-fxxk-i-want = [
"test-fake-static-borrow",
"test-fake-static-borrow-mut",
]
test-borrow = []
test-borrow-mut = []
test-fake-static-borrow = []
test-fake-static-borrow-mut = []
[lib]
name = "lifetime_extender"
path = "src/lib.rs"