Cargo Features

stylo_to_shmem has no features set by default.

[dependencies]
stylo_to_shmem = { version = "0.1.0", features = ["servo", "gecko", "cssparser", "servo_arc", "smallbitvec", "smallvec", "string_cache", "thin-vec"] }
servo = cssparser, servo_arc, smallbitvec, smallvec, string_cache, thin-vec

Enables serde of cssparser

gecko = cssparser, servo_arc, smallbitvec, smallvec, thin-vec

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"

cssparser gecko? servo?

Enables cssparser

servo_arc gecko? servo?

Enables stylo_arc

smallbitvec gecko? servo?

Enables smallbitvec

smallvec gecko? servo?

Enables smallvec

string_cache servo?

Enables string_cache

thin-vec gecko? servo?

Enables thin-vec

stylo_to_shmem has 8 features without comments.