Cargo Features
[dependencies]
rings-core = { version = "0.7.0", default-features = false, features = ["experimental", "std", "dummy", "wasm", "browser_chrome_test"] }
- experimental = std
-
Feature "experimental" is used to mark an implementation as experimental, which means that:
It may not have been thoroughly tested.
The corresponding API may be deprecated or adjusted in the future. - default = std
-
The
std
feature is set by default wheneverrings-core
is added without
somewhere in the dependency tree.default-features = false - std default dummy? experimental? = sled, webrtc
-
Enables rings-derive, native-webrtc of rings-transport, serde and v4 of uuid ^0.8.2
- dummy = lazy_static, std, tokio
-
Enables dummy of rings-transport
- wasm browser_chrome_test? = js-sys, rexie, serde-wasm-bindgen, wasm-bindgen, wasm-bindgen-futures, web-sys
-
Enables wasm of rings-derive, web-sys-webrtc of rings-transport, serde, v4 and wasm-bindgen of uuid ^0.8.2
Affects
chord::VNodeStorage
,types::LiveDid
,measure::MeasureImpl
,storage::idb
,callback::SharedSwarmCallback
,tests::wasm
,utils::js_value
,utils::js_func
,utils::js_utils
… - browser_chrome_test = wasm
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.
- rings-derive std wasm?
- uuid std wasm?
-
Enables uuid ^0.8.2
- sled std
-
Enables sled
default and dummy
- webrtc std
-
Enables webrtc ^0.10.1
- lazy_static dummy?
-
Enables lazy_static
dummy
- tokio dummy?
- js-sys wasm?
-
Enables js-sys
wasm
- rexie wasm?
-
Enables rexie ^0.4.1
- serde-wasm-bindgen wasm?
- wasm-bindgen wasm?
- wasm-bindgen-futures wasm?
- web-sys wasm?