Cargo Features

[dependencies]
opa = { version = "0.9.0", default-features = false, features = ["bundle", "http", "wasmtime-cranelift", "wasmtime-aot", "build"] }
default = build, bundle, wasmtime-aot, wasmtime-cranelift

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

bundle default wasmtime-aot

Enables flate2 and tar

Affects opa::bundle

http

Enables reqwest ^0.11.8, url, and uuid

Affects opa::http

wasmtime-cranelift default

Enables cranelift of wasmtime ^3.0.0

wasmtime:

An on-by-default feature enabling runtime compilation of WebAssembly modules with the Cranelift compiler. Cranelift is the default compilation backend of Wasmtime. If disabled then WebAssembly modules can only be created from precompiled WebAssembly modules.

Affects opa::wasm

wasmtime-aot default = bundle

Enables wasmtime ^3.0.0

Affects opa::wasm

build default

Enables tempfile, walkdir, and which ^4.2.4

Affects opa::build