Rust FFI declarations for Python 2.7.
This cargo -sys package provides python27
declarations.
Licensed under the Python license (see LICENSE
).
python27-sys
is available on crates.io so you can use it like this (in your Cargo.toml
):
toml
[dependencies.python27-sys]
version = "*"
In Rust, import the crate like this:
rust
extern crate "python27-sys" as py;
Documentation for the python API is available on [https://docs.python.org/2/c-api/].