Cargo Features

rustpython-stdlib has no features set by default.

[dependencies]
rustpython-stdlib = { version = "0.3.1", features = ["threading", "zlib", "bz2", "ssl", "ssl-vendor"] }
threading

Enables threading of rustpython-common and rustpython-vm

zlib = libz-sys

Enables zlib of flate2

bz2 = bzip2
ssl ssl-vendor? = foreign-types-shared, openssl, openssl-sys
ssl-vendor = openssl-probe, ssl

Enables vendored of openssl

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.

libz-sys zlib?
bzip2 bz2?
foreign-types-shared not wasm32 ssl?

Enables foreign-types-shared ^0.1.1

openssl-probe not wasm32 ssl-vendor?
openssl-sys not wasm32 ssl?
openssl not wasm32 ssl? ssl-vendor?