Cargo Features
[dependencies]
rustpython = { version = "0.4.0", default-features = false, features = ["importlib", "encodings", "stdlib", "flame-it", "freeze-stdlib", "jit", "threading", "zlib", "bz2", "ssl", "ssl-vendor"] }
- default = importlib, stdlib, threading, zlib
-
These default features are set whenever
rustpython
is added without
somewhere in the dependency tree.default-features = false - importlib default
-
Enables importlib of rustpython-vm
- encodings stdlib
-
Enables encodings of rustpython-vm
- stdlib default bz2? freeze-stdlib? zlib = encodings, rustpython-pylib, rustpython-stdlib
-
Affects
interpreter::init_stdlib
… - flame-it = flame, flamescope
-
Enables flame-it of rustpython-vm
- freeze-stdlib = stdlib
-
Enables freeze-stdlib of optional rustpython-pylib and rustpython-vm
- jit
-
Enables jit of rustpython-vm
- threading default
-
Enables threading of rustpython-stdlib and rustpython-vm
- zlib default = stdlib
-
Enables zlib of rustpython-stdlib
- bz2 = stdlib
-
Enables bz2 of rustpython-stdlib
- ssl ssl-vendor?
-
Enables ssl of rustpython-stdlib
- ssl-vendor = ssl
-
Enables ssl-vendor of rustpython-stdlib
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.