Cargo Features

[dependencies]
gluon = { version = "0.18.2", default-features = false, features = ["async", "random", "serialization", "web", "nightly", "test_nightly", "docs_rs", "test", "regex"] }
default = async, random, regex

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

async default web? = tokio
random default = rand, rand_xorshift

Affects std_lib::random

serialization docs_rs? test? = serde, serde_derive_state, serde_state

Enables serialization of gluon_vm

GLUON

Affects gluon::ThreadExt.compile_to_bytecode, gluon::ThreadExt.load_bytecode

web test? = async, http, hyper, native-tls, pin-project-lite, tokio-native-tls, tokio-stream, tower-service

Enables net of tokio

nightly test_nightly? = compiletest_rs

Enables nightly of gluon_base

GLUON

test_nightly = nightly, test
docs_rs = serialization
test test_nightly? = http, little-skeptic, serialization, web

Enables test of gluon_vm

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.

pin-project-lite web?
serde serialization?

Affects compiler_pipeline::Precompiled, compiler_pipeline::compile_to

serde_state serialization?
serde_derive_state serialization?
tokio async web?
tokio-stream web?
regex default

Enables regex

Binding crates

Affects std_lib::regex

tower-service web?

Enables tower-service

web

http test? web?

Enables http ^0.2.9

Affects std_lib::http

hyper web?

Enables hyper ^0.14.27

native-tls web?
tokio-native-tls web?
compiletest_rs nightly?

Enables compiletest_rs ^0.7.1

Crates used in testing

little-skeptic build test?
rand not wasm32 random
rand_xorshift not wasm32 random