expand_any_lifetime

Crates.ioexpand_any_lifetime
lib.rsexpand_any_lifetime
version0.1.2
created_at2024-02-20 16:12:53.987988+00
updated_at2024-02-20 16:22:50.223435+00
descriptionexpand any lifetime to 'static with no unsafe rust
homepage
repository
max_upload_size
id1146572
size2,863
莯凛 (mokurin000)

documentation

README

续命

Note

DO NOT USE THIS IN ANY CODE YOU DON'T WANT MESS UP

Why?

You want to expand some lifetime without either call *::leak()

How?

An issue had opened for decades

In essence, it's because static checking of multi-level lifetimes itself is inherently complex

Credits

Also check examples in cve-rs,

to find 'what kind of memory vulnerabilities we could face with unconditional lifetime expand'?

Commit count: 0

cargo fmt