Cargo Features

[dependencies]
netsblox-vm = { version = "0.4.5", default-features = false, features = ["std", "std-system", "cli", "native-tls", "native-tls-vendored", "rustls-tls-native-roots", "rustls-tls-webpki-roots"] }
default = cli, native-tls

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

std std-system?

Enables std of time

Affects netsblox-vm::std_util

std-system cli = async-channel, futures, getrandom, names, rand_chacha, reqwest, std, tokio, tokio-tungstenite, uuid

Affects netsblox-vm::std_system

cli default = actix-cors, actix-web, clap, crossterm, serde, std-system

Enables local-offset of time

Affects netsblox-vm::cli

Required by the nb binary

native-tls default

Enables native-tls of reqwest and tokio-tungstenite ^0.23

reqwest:

Enables native-tls specific functionality not available by default.

native-tls-vendored

Enables native-tls-vendored of reqwest and tokio-tungstenite ^0.23

rustls-tls-native-roots

Enables rustls-tls-native-roots of reqwest and tokio-tungstenite ^0.23

rustls-tls-webpki-roots

Enables rustls-tls-webpki-roots of reqwest and tokio-tungstenite ^0.23

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 std-system?

Enables tokio

std deps

futures std-system?
async-channel std-system?
reqwest native-tls native-tls-vendored? rustls-tls-native-roots? rustls-tls-webpki-roots? std-system?
tokio-tungstenite native-tls native-tls-vendored? rustls-tls-native-roots? rustls-tls-webpki-roots? std-system?

Enables tokio-tungstenite ^0.23

names std-system?
uuid std-system?
rand_chacha std-system?
getrandom std-system?
clap cli

Enables clap

cli deps

crossterm cli

Enables crossterm ^0.27.0

actix-web cli
actix-cors cli
serde cli

Enables serde

misc deps