Cargo Features
[dependencies]
stdpython = { version = "1.0.8", default-features = false, features = ["nostd", "std"] }
- default = std
-
The
stdfeature is set by default wheneverstdpythonis added withoutsomewhere in the dependency tree.default-features = false - nostd = hashbrown, heapless
- std default = libc, pyo3
-
Affects
stdpython::print,stdpython::print_args,stdpython::input,stdpython::open,stdpython::PyFile,glob::glob,glob::rglob,glob::iglob,stdlib::sys,stdlib::os,stdlib::subprocess,stdlib::sysconfig,stdlib::venv,stdlib::random,stdlib::datetime,stdlib::pathlib,stdlib::tempfile,stdlib::glob,pathlib::FileStats.modified,pathlib::FileStats.accessed…
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.
- pyo3 std
-
Enables pyo3 ^0.25
- hashbrown nostd?
-
Enables hashbrown ^0.15
nostd-compatible dependencies
- heapless nostd?
-
Enables heapless ^0.8
- libc std
-
Enables libc
For Unix system calls