Cargo Features
stylo_malloc_size_of has no features set by default.
[dependencies]
stylo_malloc_size_of = { version = "0.1.1", features = ["servo", "gecko"] }
- servo = accountable-refcell, content-security-policy, crossbeam-channel, http, indexmap, keyboard-types, serde, serde_bytes, string_cache, url, uuid, xml5ever
- gecko
-
thin-vec:
Gecko specific features. These features cause thin-vec to have the same layout and behaviour as nsTArray, allowing it to be used in C++ FFI. Requires the empty header to be statically linked in with the symbol name "sEmptyTArrayHeader"
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.