| 1 |
[package] |
| 2 |
name = "stable_deref_trait" |
| 3 |
version = "1.2.1" |
| 4 |
authors = ["Robert Grosse <[email protected]>"] |
| 5 |
license = "MIT OR Apache-2.0" |
| 6 |
readme = "README.md" |
| 7 |
repository = "https://github.com/storyyeller/stable_deref_trait" |
| 8 |
documentation = "https://docs.rs/stable_deref_trait/1.2.1/stable_deref_trait" |
| 9 |
categories = ["memory-management", "no-std"] |
| 10 |
description = """ |
| 11 |
An unsafe marker trait for types like Box and Rc that dereference to a stable address even when moved, and hence can be used with libraries such as owning_ref and rental. |
| 12 |
""" |
| 13 |
|
| 14 |
[features] |
| 15 |
default = ["std"] |
| 16 |
std = ["alloc"] |
| 17 |
alloc = [] |