Cargo Features
loro-internal has no features set by default.
[dependencies]
loro-internal = { version = "1.1.0", features = ["wasm", "test_utils", "counter", "jsonpath"] }
- wasm = js-sys, wasm-bindgen
-
"wasm" will use utf-16 index by default when using text related stuff; But it'll use utf-8 encoding internally.
Enables wasm of loro-common
Affects
change::get_sys_timestamp
,value::wasm
… - test_utils = arbitrary, tabled
-
whether to use list slice instead of raw str in text container
Affects
loro-internal::fuzz
… - counter
-
whether enable the counter container
Enables counter of loro-common
Affects
handler::counter
… - jsonpath
-
Affects
loro-internal::jsonpath
…
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.
- tabled test_utils?
-
Enables tabled ^0.10.0
- wasm-bindgen wasm?
-
Enables wasm-bindgen =0.2.92
- js-sys wasm?
- arbitrary test_utils?