This wraps a bunch of the Python scaffolding behind a feature python so you can compile the binary without pyo3 at all. The default pip install . and maturin build commands use the python feature so there's no change necessary to README, I think.
Shrinks the binary from 38MB to 31MB on my machine.
This wraps a bunch of the Python scaffolding behind a feature
python
so you can compile the binary without pyo3 at all. The defaultpip install .
andmaturin build
commands use thepython
feature so there's no change necessary to README, I think.Shrinks the binary from
38MB
to31MB
on my machine.