Cargo Features

[dependencies]
oxigraph = { version = "0.5.3", 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", "rdf-12"] }
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::decode_term

js = js-sys

Enables js of oxsdatatypes and wasm_js of getrandom

getrandom:

Optional backend: wasm_js
This flag enables the wasm_js backend and uses it by default on wasm32 where the target_os is unknown. The getrandom_backend cfg may override this.
WARNING: It is highly recommended to enable this feature only for binary crates and tests,
i.e. avoid unconditionally enabling it in library crates.

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
rdf-12

Enables rdf-12 of oxrdfio, sparql-12 of spareval

Affects numeric_encoder::EncodedTriple, numeric_encoder::Decoder.decode_triple

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?