Cargo Features

[dependencies]
storage_data = { version = "1.0.0", default-features = false, features = ["std", "default_storage_local", "default_storage_session", "derive", "default_serde_json", "use_serde_json", "default_serde_bincode", "use_serde_bincode", "default_serde_yaml", "use_serde_yaml", "default_serde_ron", "use_serde_ron", "default_serde_cbor", "use_serde_cbor"] }
default = default_serde_json, default_storage_local, derive

These default features are set whenever storage_data is added without default-features = false somewhere in the dependency tree.

std

Enables std of once_cell

once_cell:

Enables once_cell::sync module.

default_storage_local default

Enables default_storage_local of derive_web_storage

Affects storage_data::DEFAULT_STORAGE_KIND

default_storage_session

Enables default_storage_session of derive_web_storage

Affects storage_data::DEFAULT_STORAGE_KIND

derive default

Enables derive_web_storage

default_serde_json default = use_serde_json
use_serde_json default_serde_json

Enables serde_json

default_serde_bincode = use_serde_bincode
use_serde_bincode default_serde_bincode?

Enables base64 and bincode ^1.3.3

default_serde_yaml = use_serde_yaml
use_serde_yaml default_serde_yaml?

Enables serde_yaml

default_serde_ron = use_serde_ron
use_serde_ron default_serde_ron?

Enables ron ^0.8.1

default_serde_cbor = use_serde_cbor
use_serde_cbor default_serde_cbor?

Enables base64 and ciborium