7a44aa1070
Python 3.6 and older are not supported by the current PyO3 version, so the removed interpreter version check was a no-op. `pyo3_build_config::get()` attempts to read a config file from disk when PyO3 is cross-compiling, which is probably bad for rust-analyzer and other IDEs that attempt to sandbox the proc macro code.
28 lines
878 B
TOML
28 lines
878 B
TOML
[package]
|
|
name = "pyo3-macros-backend"
|
|
version = "0.16.2"
|
|
description = "Code generation for PyO3 package"
|
|
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
|
|
keywords = ["pyo3", "python", "cpython", "ffi"]
|
|
homepage = "https://github.com/pyo3/pyo3"
|
|
repository = "https://github.com/pyo3/pyo3"
|
|
categories = ["api-bindings", "development-tools::ffi"]
|
|
license = "Apache-2.0"
|
|
edition = "2018"
|
|
|
|
# Note: we use default-features = false for proc-macro related crates
|
|
# not to depend on proc-macro itself.
|
|
# See https://github.com/PyO3/pyo3/pull/810 for more.
|
|
[dependencies]
|
|
quote = { version = "1", default-features = false }
|
|
proc-macro2 = { version = "1", default-features = false }
|
|
|
|
[dependencies.syn]
|
|
version = "1.0.56"
|
|
default-features = false
|
|
features = ["derive", "parsing", "printing", "clone-impls", "full", "extra-traits"]
|
|
|
|
[features]
|
|
pyproto = []
|
|
abi3 = []
|