Cargo Features

[dependencies]
netsblox-vm = { version = "0.4.4", 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 ^0.11 and tokio-tungstenite ^0.20.1

reqwest:

Enables native-tls specific functionality not available by default.

native-tls-vendored

Enables native-tls-vendored of reqwest ^0.11 and tokio-tungstenite ^0.20.1

rustls-tls-native-roots

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

rustls-tls-webpki-roots

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

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?

Enables reqwest ^0.11

tokio-tungstenite native-tls native-tls-vendored? rustls-tls-native-roots? rustls-tls-webpki-roots? std-system?

Enables tokio-tungstenite ^0.20.1

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

Enables clap

cli deps

crossterm cli
actix-web cli
actix-cors cli

Enables actix-cors ^0.6.4

serde cli

Enables serde

misc deps