Crates.io | rigetti-pyo3 |
lib.rs | rigetti-pyo3 |
version | |
source | src |
created_at | 2022-12-20 21:10:49.606263 |
updated_at | 2024-12-04 00:29:23.048921 |
description | Utilities for creating a Python wrapper for a Rust library. |
homepage | |
repository | https://github.com/rigetti/rigetti-pyo3 |
max_upload_size | |
id | 742590 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
This crate defines a set of macros for creating PyO3 bindings to an existing Rust crate.
That is, given Rust library crate foo
, these macros can be used inside a crate foo-python
to create Python bindings. This is not intended for creating a standalone Python library using Rust.
See the docs for more.
If you want to use PyO3's abi3
feature, you must disable this library's time
feature (which is enabled by default). This library provides an abi3
feature you can enable in order to explicitly request pyo3/abi3
, which will give a clearer error message in that case.
Rigetti PyO3 is licensed under the Apache License 2.0.