#entity #macro #serde #attr #re-exports #issue

macro entity_noop_macros

提供实体重导出 no-op 宏的宏库

4 个版本

0.3.2 2021年4月24日
0.3.1 2021年4月24日
0.3.0 2021年4月23日
0.1.0 2021年1月3日

#attr 中排名第 21

Download history • Rust 包仓库 36/week @ 2024-04-01 • Rust 包仓库 8/week @ 2024-04-08 • Rust 包仓库 4/week @ 2024-04-15 • Rust 包仓库 14/week @ 2024-04-22 • Rust 包仓库 4/week @ 2024-04-29 • Rust 包仓库 12/week @ 2024-05-06 • Rust 包仓库 13/week @ 2024-05-13 • Rust 包仓库 15/week @ 2024-05-20 • Rust 包仓库 3/week @ 2024-05-27 • Rust 包仓库 9/week @ 2024-06-03 • Rust 包仓库 14/week @ 2024-06-10 • Rust 包仓库 7/week @ 2024-06-17 • Rust 包仓库 15/week @ 2024-06-24 • Rust 包仓库 18/week @ 2024-07-01 • Rust 包仓库 5/week @ 2024-07-08 • Rust 包仓库 17/week @ 2024-07-15 • Rust 包仓库

每月下载量 55
8 个crate中使用(通过 entity

MIT/Apache

3KB

entity_noop_macros

仅作为功能依赖的宏中的 no-op 使用。

一旦 https://github.com/rust-lang/rust/issues/64797 在稳定版中可用,即可删除。

#[cfg(feature = "typetag")]
pub use typetag::serde as typetag_serde;

#[cfg(not(feature = "typetag"))]
pub use entity_noop_macros::noop_attr as typetag_serde;

无运行时依赖