Cargo Features
[dependencies]
rustpython-stdlib = { version = "0.4.0", default-features = false, features = ["compiler", "threading", "zlib", "bz2", "ssl", "ssl-vendor"] }
- default = compiler
-
The
compiler
feature is set by default wheneverrustpython-stdlib
is added without
somewhere in the dependency tree.default-features = false - compiler default
-
Enables compiler of rustpython-vm
- threading
-
Enables threading of rustpython-common and rustpython-vm
- zlib = libz-sys
- bz2 = bzip2
- ssl ssl-vendor? = foreign-types-shared, openssl, openssl-sys
- ssl-vendor = openssl-probe, ssl
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?
-
Enables foreign-types-shared ^0.1.1
- openssl-probe not wasm32 ssl-vendor?
- openssl-sys not wasm32 ssl?
- openssl not wasm32 ssl? ssl-vendor?