Cargo Features

[dependencies]
dyon = { version = "0.49.2", default-features = false, features = ["dynload", "debug_resolve", "http", "file", "threading", "stdio", "async", "rand"] }
default = debug_resolve, dynload, file, http, rand, stdio, threading

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

dynload default

Affects runtime::Runtime.module_resolver

debug_resolve default
http default = reqwest

Affects meta::load_text_file_from_url, meta::load_meta_url, meta::download_url_to_file

file default

Affects data::load_file, meta::load_meta_file

threading default

Affects ast::Go, ast::ForIn, ast::In, dyon::threading, dyon::Thread

stdio default
async = tokio

Affects runtime::Runtime.tokio_runtime

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.

tokio async?
rand not wasm wasm default

Enables rand ^0.6.1

reqwest not wasm http

Enables reqwest ^0.9.22