From db8b55a3fcbef34dd2e43c3cbcbfa734d1eed204 Mon Sep 17 00:00:00 2001 From: mejrs <> Date: Sun, 21 Aug 2022 17:51:11 +0200 Subject: [PATCH] pyproto is no longer enabled by default --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 13471c9c..dfe6db20 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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`].