Cargo Features

product-os-store has no features set by default.

[dependencies]
product-os-store = { version = "0.0.26", features = ["key_value_store", "redis_key_value_store", "file_key_value_store", "queue_store", "redis_queue_store", "file_queue_store", "relational_store", "postgres_relational_store", "sqlite_relational_store", "sql_relational_store", "event_store", "tickv"] }
default

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

Enables product-os-configuration, std of no-std-compat

key_value_store = lazy_static

Affects product-os-store::ProductOSKeyValueStorage, product-os-store::ProductOSKeyValueStore

redis_key_value_store = redis
memory_key_value_store file_key_value_store = redb

Enables regex

queue_store = lazy_static

Affects product-os-store::ProductOSQueueStorageType, product-os-store::ProductOSQueueStorage, product-os-store::ProductOSQueueStore

redis_queue_store = redis
memory_queue_store file_queue_store = redb
relational_store sql_relational_store? = async-trait, chrono, hex, lazy_static, regex, uuid

Affects product-os-store::ProductOSKeyValueStorageType, product-os-store::ProductOSRelationalStorageType, product-os-store::ProductOSRelationalStorage, product-os-store::ProductOSRelationalStore, postgres_relational_store::ProductOSPostgresRelationalStore, sqlite_relational_store::ProductOSSqliteRelationalStore

postgres_relational_store = sql_relational_store

Enables postgres of sqlx ^0.6.2

Affects relational_store::RelationalTransaction

sqlite_relational_store = sql_relational_store

Enables sqlite of sqlx ^0.6.2

Affects relational_store::RelationalTransaction, sqlite_relational_store::ProductOSSqliteRelationalStore

sql_relational_store postgres_relational_store? sqlite_relational_store? = chrono, futures, hex, regex, relational_store, sqlx, uuid

Enables regex

Affects postgres_relational_store::ProductOSPostgresRelationalStore

document_store event_store = lazy_static

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.

redis redis_key_value_store? redis_queue_store?

Enables redis ^0.21.4

redb file_key_value_store? file_queue_store? memory_key_value_store? memory_queue_store?

Enables redb ^1.4.0

tickv implicit feature
sqlx postgres_relational_store? sql_relational_store? sqlite_relational_store?

Enables sqlx ^0.6.2

regex file_key_value_store? memory_key_value_store? relational_store? sql_relational_store?
chrono relational_store? sql_relational_store?
uuid relational_store? sql_relational_store?
futures sql_relational_store?
lazy_static document_store? event_store? key_value_store? queue_store? relational_store?
async-trait relational_store?
hex relational_store? sql_relational_store?