Cargo Features

starchart-backends has no features set by default.

[dependencies]
starchart-backends = { version = "0.2.0", features = ["binary", "fs", "json", "memory", "toml", "yaml"] }
binary = fs, serde_bincode, serde_cbor

Affects binary::BinaryFormat, binary::BinaryTranscoder

fs binary? json? toml? yaml? = futures-util, tokio

Affects error::FsError, error::FsErrorType, fs::FsBackend, fs::Transcoder, starchart-backends::fs, testing::TEST_GUARD, testing::TestPath

json = fs, serde_json

Affects json::JsonTranscoder, fs::transcoders.TranscoderFormat

memory = dashmap, futures-util, serde-value

Affects starchart-backends::memory, memory::MemoryError, memory::MemoryErrorType, memory::MemoryBackend

toml = fs, serde_toml

Affects toml::TomlTranscoder, fs::transcoders.TranscoderFormat

yaml = fs, serde_yaml

Affects yaml::YamlTranscoder

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.

dashmap memory?

Enables dashmap ^5.1

serde-value memory?
serde_bincode binary?

Enables bincode

serde_cbor binary?
serde_json json?
serde_toml toml?

Enables toml ^0.5

serde_yaml yaml?

Enables serde_yaml ^0.8

tokio fs?
futures-util fs? memory?