Cargo Features

stylo_malloc_size_of has no features set by default.

[dependencies]
stylo_malloc_size_of = { version = "0.2.0", features = ["gecko", "servo"] }
gecko

Enables gecko-ffi of thin-vec

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"

servo = string_cache

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.

string_cache servo?