Cargo Features

[dependencies]
oxigraph = { version = "0.4.0-alpha.6", default-features = false, features = ["rocksdb", "js", "http-client", "http-client-native-tls", "http-client-rustls-webpki", "http-client-rustls-native", "rocksdb-pkg-config", "rocksdb-debug"] }
default = rocksdb

The rocksdb feature is set by default whenever oxigraph is added without default-features = false somewhere in the dependency tree.

rocksdb default = oxrocksdb-sys

Affects binary_encoder::LATEST_STORAGE_VERSION, storage::StorageBulkLoader, store::BulkLoader

js = js-sys

Enables js of getrandom and oxsdatatypes

getrandom:

Feature to enable JavaScript bindings on wasm*-unknown-unknown

http-client http-client-native-tls? http-client-rustls-native? http-client-rustls-webpki? = oxhttp
http-client-native-tls = http-client

Enables native-tls of oxhttp

http-client-rustls-webpki = http-client

Enables rustls-ring-webpki of oxhttp

http-client-rustls-native = http-client

Enables rustls-ring-native of oxhttp

rocksdb-pkg-config

Enables pkg-config of oxrocksdb-sys

rocksdb-debug

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.

js-sys wasm unknown js?
oxrocksdb-sys not wasm rocksdb rocksdb-pkg-config?
oxhttp not wasm http-client? http-client-native-tls? http-client-rustls-native? http-client-rustls-webpki?