Heavy Elastic - almost-safe lifetime stretching abstractions, for the adventurous or morbidly curious soul

Ever needed to access an &'a T from a closure which has to be 'static?

Know that you could "loan" that &'a T for just the times that that closre will run?

If so, then the Elastic type is for you! Please use responsibly. no-std compatible. Requires nightly for features generic_associated_types. Do not use during a new moon. During a blood moon or solar eclipse, refrigerate any machines which contain the source code for this crate and keep them under lock and key.

Features

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.