pyproto is no longer enabled by default

This commit is contained in:
mejrs 2022-08-21 17:51:11 +02:00
parent 819a28bdd4
commit db8b55a3fc

View file

@ -72,8 +72,6 @@
//! The following features are turned on by default:
//! - `macros`: Enables various macros, including all the attribute macros excluding the deprecated
//! `#[pyproto]` attribute.
//! - `pyproto`: Adds the deprecated `#[pyproto]` attribute macro. Likely to become optional and
//! then removed in the future.
//!
//! ## Optional feature flags
//!
@ -89,6 +87,8 @@
//! - `multiple-pymethods`: Enables the use of multiple [`#[pymethods]`](macro@crate::pymethods)
//! blocks per [`#[pyclass]`](macro@crate::pyclass). This adds a dependency on the [inventory]
//! crate, which is not supported on all platforms.
//! - `pyproto`: Enables the deprecated `#[pyproto]` attribute macro. This will be removed in a
//! future release.
//!
//! The following features enable interactions with other crates in the Rust ecosystem:
//! - [`anyhow`]: Enables a conversion from [anyhow]s [`Error`][anyhow_error] type to [`PyErr`].