Cargo Features

[dependencies]
unicode-bidi = { version = "0.3.17", default-features = false, features = ["hardcoded-data", "std", "unstable", "flame_it", "bench_it", "with_serde", "smallvec"] }
default = hardcoded-data, std

Note: We don't actually use the std feature for anything other than making doctests work. But it may come in handy in the future.

hardcoded-data default

Include hardcoded Bidi data

Affects char_data::HardcodedBidiData, char_data::bidi_class, tables::bidi_class_table, unicode-bidi::get_base_direction, unicode-bidi::get_base_direction_full

std default
unstable

travis-cargo needs it

flame_it = flame, flamer
bench_it
with_serde = serde

DEPRECATED, please use serde feature, instead.

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.

flame flame_it?
flamer flame_it?

Enables flamer ^0.4

serde with_serde?
smallvec implicit feature

Enables smallvec

smallvec:

'Small vector' optimization: store up to a small number of items on the stack

Affects prepare::LevelRunVec, prepare::IsolatingRunSequenceVec