Cargo Features
ast-grep-py has no features set by default.
[dependencies]
ast-grep-py = { version = "0.30.0", features = ["python"] }
uncomment default features when developing pyo3
- python = pyo3, pythonize
-
Enables extension-module of pyo3 ^0.22.0
pyo3:
Use this feature when building an extension module.
It tells the linker to keep the python symbols unresolved,
so that the module can also be used with statically linked python interpreters.
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 python?
-
Enables pyo3 ^0.22.0
- pythonize python?