f6ed2bbae9
We keep the #[link] attributes in #[cfg_attr(windows)] so that we don't require a nightly Rust build on non-Windows platforms. This can be simplified once RFC 1717 is available in a stable rust version. This commit also increases the minimum Rust version to 1.13. |
||
---|---|---|
.. | ||
examples | ||
src | ||
.gitignore | ||
.travis.yml | ||
Cargo.toml | ||
LICENSE | ||
README.md | ||
build.rs |
README.md
rust-python27-sys
Rust FFI declarations for Python 2.7.
This cargo -sys package provides python27
declarations.
Licensed under the Python license (see LICENSE
).
For a safe high-level API, see rust-cpython.
Usage
python27-sys
is available on crates.io so you can use it like this (in your Cargo.toml
):
[dependencies.python27-sys]
version = "*"
In Rust, import the crate like this:
extern crate python27_sys as py;
Documentation for the python API is available on [https://docs.python.org/2/c-api/].