Cargo Features

[dependencies]
steel-core = { version = "0.5.0", default-features = false, features = ["colors", "modules", "jit", "profiling", "web", "sqlite", "unsafe-internals", "anyhow", "dylibs", "blocking_requests", "markdown"] }
default = modules

The modules feature is set by default whenever steel-core is added without default-features = false somewhere in the dependency tree.

colors

Enables colored

Affects primitives::colors, primitives::STRING_COLORS_MODULE

modules default
jit

Enables cranelift ^0.84.0, cranelift-jit ^0.84.0, and cranelift-module ^0.84.0

cranelift:

Cranelift JIT

dynamic profiling
web

Enables reqwest ^0.11.14, tungstenite ^0.18.0, and url

Affects primitives::web, primitives::WEBSOCKETS_MODULE, primitives::REQUESTS_MODULE

sqlite

Enables rusqlite ^0.28.0

Embedded dependencies for various popular libraries

Affects primitives::sqlite, primitives::SQLITE_MODULE

unsafe-internals

Affects gc::unsafe_roots

anyhow

Enables anyhow

dylibs

Enables abi_stable and async-ffi ^0.4.1

abi_stable:

FFI for dylibs

Affects steel_vm::dylib, steel_vm::ffi

blocking_requests

Enables ureq

Affects primitives::blocking_requests, primitives::BLOCKING_REQUESTS_MODULE

markdown

Enables termimad ^0.21.0