An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

crates.io "attribute" keyword

View the packages on the crates.io package registry that are tagged with the "attribute" keyword.

random_struct_layout 0.3.2
The custom attributes to randomize struct members layout
5 versions - Latest release: over 2 years ago - 6.24 thousand downloads total - 2 stars on GitHub - 1 maintainer
disclose 0.9.1
An attribute macro to set default visibilities on container elements.
1 version - Latest release: over 2 years ago - 1 dependent package - 2.81 thousand downloads total - 1 maintainer
retrieve 1.1.2 💰
#[{pub_}mod_{pub_}use(a,b,c,...)] => {pub }mod a; {pub }use a::*; and also b,c,...
6 versions - Latest release: over 3 years ago - 3 dependent packages - 1 dependent repositories - 12.5 thousand downloads total - 2 stars on GitHub - 1 maintainer
Top 3.0% on crates.io
pin-project 1.1.10 💰
A crate for safe and ergonomic pin-projection.
86 versions - Latest release: 10 months ago - 924 dependent packages - 27,615 dependent repositories - 318 million downloads total - 606 stars on GitHub - 1 maintainer
Top 6.6% on crates.io
macro_rules_attribute 0.2.2
Use declarative macros in attribute or derive position
19 versions - Latest release: 7 months ago - 39 dependent packages - 553 dependent repositories - 16.3 million downloads total - 142 stars on GitHub - 1 maintainer
yare-macro 3.0.0 💰
Attribute macro crate for the Yare parameterized tests library.
4 versions - Latest release: almost 2 years ago - 1 dependent package - 4 dependent repositories - 348 thousand downloads total - 24 stars on GitHub - 1 maintainer
vararg 0.1.1
vararg macro for creating variadic functions
2 versions - Latest release: over 4 years ago - 3.4 thousand downloads total - 2 stars on GitHub - 1 maintainer
fully_pub 0.1.4
Macro that makes multiple items or fields public at once
5 versions - Latest release: over 2 years ago - 1 dependent repositories - 7.25 thousand downloads total - 1 stars on GitHub - 1 maintainer
sif_macro 0.1.0 💰
Part of Sif: attribute macro for parameterized tests
1 version - Latest release: over 5 years ago - 1 dependent package - 1 dependent repositories - 2.98 thousand downloads total - 0 stars on GitHub - 1 maintainer
outer_attribute 0.1.1
A library providiving `OuterAttribute` that implements `syn::parse::Parse` trait.
2 versions - Latest release: about 4 years ago - 1 dependent package - 1 dependent repositories - 3.47 thousand downloads total - 0 stars on GitHub - 1 maintainer
vectorize_struct 0.1.3
vectorize_struct adds an procedural macro attribute that makes it possible to iterate over Trait ...
4 versions - Latest release: over 7 years ago - 6.07 thousand downloads total - 0 stars on gitlab.com - 1 maintainer
Top 7.9% on crates.io
macro-attr 0.2.0
This crate provides the `macro_attr!` macro that enables the use of custom, macro-based attribute...
1 version - Latest release: about 9 years ago - 22 dependent packages - 29 dependent repositories - 125 thousand downloads total - 113 stars on GitHub - 1 maintainer
subdef 0.1.2
Expressive attribute macro to define nested structures
3 versions - Latest release: 3 months ago - 639 downloads total - 1 maintainer
field-visibility 0.1.0
Attribute to specify the visibility of all fields in a Rust struct
1 version - Latest release: over 1 year ago - 1.23 thousand downloads total - 0 stars on GitHub - 1 maintainer
prefixes-f 0.1.0
Attribute-like macro for creating formatted `String`s easily. Part of the 'prefixes' suite.
1 version - Latest release: over 1 year ago - 1 dependent package - 1.75 thousand downloads total - 7 stars on GitHub - 1 maintainer
prefixes-os 0.1.0
Attribute-like macro for creating `OsStr`s easily. Part of the 'prefixes' suite.
1 version - Latest release: over 1 year ago - 1 dependent package - 1.71 thousand downloads total - 7 stars on GitHub - 1 maintainer
prefixes-uppercase-os 0.1.0
Attribute-like macro for creating `OsString`s easily. Part of the 'prefixes' suite.
1 version - Latest release: over 1 year ago - 1 dependent package - 1.7 thousand downloads total - 7 stars on GitHub - 1 maintainer
prefixes-p 0.1.0
Attribute-like macro for creating `Path`s easily. Part of the 'prefixes' suite.
1 version - Latest release: over 1 year ago - 1 dependent package - 1.67 thousand downloads total - 7 stars on GitHub - 1 maintainer
prefixes-s 0.1.0
Attribute-like macro for creating `Duration`s easily. Part of the 'prefixes' suite.
1 version - Latest release: over 1 year ago - 1 dependent package - 1.7 thousand downloads total - 7 stars on GitHub - 1 maintainer
prefixes-uppercase-p 0.1.0
Attribute-like macro for creating `PathBuf`s easily. Part of the 'prefixes' suite.
1 version - Latest release: over 1 year ago - 1 dependent package - 1.73 thousand downloads total - 7 stars on GitHub - 1 maintainer
prefixes-re 0.1.0
Attribute-like macro for creating `Regex`s easily. Part of the 'prefixes' suite.
1 version - Latest release: over 1 year ago - 1 dependent package - 1.67 thousand downloads total - 6 stars on GitHub - 1 maintainer
prefixes 0.1.0
Attribute-like macros imitating literal prefixes, e.g. #[f]"Hello, {world}"
1 version - Latest release: over 1 year ago - 1.47 thousand downloads total - 7 stars on GitHub - 1 maintainer
prefixes-ms 0.1.0
Attribute-like macro for creating `Duration`s easily. Part of the 'prefixes' suite.
1 version - Latest release: over 1 year ago - 1 dependent package - 1.7 thousand downloads total - 6 stars on GitHub - 1 maintainer
prefixes-uppercase-re 0.1.0
Attribute-like macro for creating `Regex` easily. Part of the 'prefixes' suite.
1 version - Latest release: over 1 year ago - 1 dependent package - 1.73 thousand downloads total - 6 stars on GitHub - 1 maintainer
throttle_my_fn 0.2.6
Throttle your functions
8 versions - Latest release: over 3 years ago - 1 dependent package - 11.3 thousand downloads total - 12 stars on GitHub - 1 maintainer
fast_new_type 0.1.7
A proc_macro attribute to implement common traits for a custom type wrapping other.
8 versions - Latest release: almost 6 years ago - 1 dependent package - 12.2 thousand downloads total - 1 maintainer
coverage-helper 0.2.4 💰
Helper for <https://github.com/taiki-e/cargo-llvm-cov/issues/123>. (deprecated)
7 versions - Latest release: 12 months ago - 12 dependent packages - 8 dependent repositories - 229 thousand downloads total - 11 stars on GitHub - 1 maintainer
Top 9.1% on crates.io
ockam_node_attribute 0.27.0 💰
Ockam node attribute proc_macro.
35 versions - Latest release: about 4 years ago - 1 dependent package - 6 dependent repositories - 46.6 thousand downloads total - 4,582 stars on GitHub - 3 maintainers
ockam_message_derive 0.1.0 💰
Ockam Message trait [derive] macro.
1 version - Latest release: about 4 years ago - 7 dependent packages - 1 dependent repositories - 1.89 thousand downloads total - 4,573 stars on GitHub - 3 maintainers
ockam_node_test_attribute 0.5.0 💰
Ockam node attribute proc_macros.
5 versions - Latest release: about 4 years ago - 4 dependent packages - 1 dependent repositories - 6.37 thousand downloads total - 4,560 stars on GitHub - 3 maintainers
synattra 0.2.1
A Syn Attribute Parser Toolkit
4 versions - Latest release: over 5 years ago - 2 dependent packages - 8 dependent repositories - 3.6 million downloads total - 14 stars on GitHub - 1 maintainer
qualifiers 0.1.0
Conditionally add qualifiers to item definitions
1 version - Latest release: 6 months ago - 442 downloads total - 1 maintainer
structmeta-derive 0.3.0
derive macro for structmeta crate.
9 versions - Latest release: almost 2 years ago - 1 dependent package - 251 dependent repositories - 14.8 million downloads total - 11 stars on GitHub - 1 maintainer
enum_parse 0.1.0
Procedural macro generating boilerplate code for parsing enum variants
1 version - Latest release: over 2 years ago - 1.53 thousand downloads total - 0 stars on GitHub - 1 maintainer
dynamize 0.3.5
trait objects with variable associated types
8 versions - Latest release: about 4 years ago - 1 dependent package - 10.7 thousand downloads total - 1 maintainer
fixed-size 1.0.0
Attribute macro to replace variable length types with fixed length types in struct definitions. U...
1 version - Latest release: about 2 years ago - 1.49 thousand downloads total - 0 stars on GitHub - 1 maintainer
mass-cfg-attr 0.2.0
A way to mass toggle cfg-attr on attributes
2 versions - Latest release: almost 3 years ago - 2.85 thousand downloads total - 2 stars on GitHub - 1 maintainer
yui_derive 0.1.6
Internal derive and proc macro for Yui
7 versions - Latest release: over 5 years ago - 1 dependent package - 10.4 thousand downloads total - 11 stars on GitHub - 1 maintainer
gut 0.8.0
Geometry utilities: storing, manipulating and processing geometries
26 versions - Latest release: about 4 years ago - 2 dependent packages - 4 dependent repositories - 37.3 thousand downloads total - 3 stars on gitlab.com - 1 maintainer
macro_rules_attr 0.1.3
Use declarative macros as proc_macro attributes. (`#[apply]` your `macro_rules!`)
4 versions - Latest release: 9 months ago - 9.13 thousand downloads total - 2 stars on GitHub - 1 maintainer
optfield-lite 0.1.0
A macro to generate a new struct with fields wrapped in Option.
1 version - Latest release: 9 months ago - 710 downloads total - 2 stars on GitHub - 1 maintainer
auto-error-into 0.1.1
Macro to automatically convert the Err variant of a Result to the Ok variant.
2 versions - Latest release: almost 3 years ago - 2.94 thousand downloads total - 0 stars on GitHub - 1 maintainer
attrsets 0.1.2
Proc macro for defining multiple variants of a struct/enum with different attribute annotations e...
3 versions - Latest release: over 3 years ago - 6.74 thousand downloads total - 0 stars on codeberg.org - 1 maintainer
apply_attr 0.2.4
A syntax extension providing higher-order attributes to Rust.
6 versions - Latest release: about 8 years ago - 11.9 thousand downloads total - 17 stars on GitHub - 1 maintainer
gba_test_macros 0.4.0
#[test] attribute for writing tests to be run on the Game Boy Advance.
5 versions - Latest release: 6 months ago - 6.23 thousand downloads total - 5 stars on GitHub - 1 maintainer
blanket 0.4.0
A simple macro to derive blanket implementations for your traits.
9 versions - Latest release: almost 2 years ago - 7 dependent packages - 21 dependent repositories - 777 thousand downloads total - 25 stars on GitHub - 1 maintainer
stringify-attr 1.0.0
Attribute macros for stringifying
1 version - Latest release: almost 6 years ago - 2.42 thousand downloads total - 1 stars on GitHub - 1 maintainer
attribute-derive 0.10.5
Clap like parsing for attributes in proc-macros
23 versions - Latest release: 3 months ago - 15 dependent packages - 171 dependent repositories - 15.7 million downloads total - 16 stars on GitHub - 1 maintainer
memmap3-macros 0.1.0
Procedural macros for memmap3
1 version - Latest release: 3 months ago - 401 downloads total - 1 maintainer
token-value-map 0.1.6
A token-value map with interpolation of values: what you need for DCCs
4 versions - Latest release: 18 days ago - 137 downloads total - 1 maintainer
easy-ext 1.0.2 💰
A lightweight attribute macro for easily writing extension trait pattern.
22 versions - Latest release: over 1 year ago - 28 dependent packages - 383 dependent repositories - 2.6 million downloads total - 80 stars on GitHub - 1 maintainer
fluent-impl 0.2.0
A procedural macro that generates chaining methods from non-chaining ones in an impl block
5 versions - Latest release: about 7 years ago - 7.93 thousand downloads total - 15 stars on GitHub - 1 maintainer
structmeta 0.3.0
Parse Rust's attribute arguments by defining a struct.
9 versions - Latest release: almost 2 years ago - 23 dependent packages - 256 dependent repositories - 14.6 million downloads total - 11 stars on GitHub - 1 maintainer
apply_pub 0.0.2
A Rust syntax extension for applying the `pub` visibility modifer to many items at once.
1 version - Latest release: about 11 years ago - 3.45 thousand downloads total - 2 stars on GitHub - 1 maintainer
function-wrapper 0.1.8
Rust attribute macro library that makes it easy to wrap functions in code that runs before and / ...
9 versions - Latest release: 11 months ago - 9.25 thousand downloads total - 1 maintainer
attr_alias 0.1.4 💰
Reduce attribute repetition with aliases
5 versions - Latest release: 7 months ago - 76.7 thousand downloads total - 0 stars on GitHub - 1 maintainer
arc_wrapper 0.1.6
A attribute macro to generate a wrapper for a struct.
7 versions - Latest release: over 1 year ago - 7.74 thousand downloads total - 0 stars on GitHub - 1 maintainer
repr-discriminant-derive 2.0.0
Derive macro to generate a method to access the discriminant of an enum variant with a repr(T) at...
10 versions - Latest release: about 2 months ago - 297 downloads total - 0 stars on GitHub - 1 maintainer
warcmutex 1.0.2
A crate in Rust that provides an attribute macro for mods, structs and impls. Rewrite code using ...
3 versions - Latest release: over 2 years ago - 3.8 thousand downloads total - 0 stars on GitHub - 1 maintainer
abort-if 0.1.2 💰
Very handy attribute to abort a function at compile-time if something goes wrong
3 versions - Latest release: about 3 years ago - 4.85 thousand downloads total - 2 stars on GitHub - 1 maintainer
repr-discriminant 3.0.1
Trait to retrieve the discriminant of an enum variant with a repr(T) at runtime
12 versions - Latest release: about 2 months ago - 2.07 thousand downloads total - 0 stars on GitHub - 1 maintainer
log-attributes 0.1.0
A set of function log attributes, that make logging function in- and outputs a charm.
1 version - Latest release: about 4 years ago - 1.89 thousand downloads total - 0 stars on GitHub - 1 maintainer
must_be_empty 0.1.1
Makes sure that an specific function is empty. With no statements
2 versions - Latest release: about 3 years ago - 2.72 thousand downloads total - 2 stars on GitHub - 1 maintainer
safe_attr 1.0.0
An attribute #[safe] to mark functions, allowing the ommission of unsafe
1 version - Latest release: over 4 years ago - 1.62 thousand downloads total - 0 stars on GitHub - 1 maintainer
field-projection 0.2.0
Field projection experiment
2 versions - Latest release: about 3 years ago - 2.75 thousand downloads total - 3 stars on GitHub - 1 maintainer
gut-derive 0.5.0
Derive macros for (gut)[https://crates.io/crates/gut]
2 versions - Latest release: over 5 years ago - 1 dependent package - 3.86 thousand downloads total - 3 stars on gitlab.com - 1 maintainer
oofs_derive 0.2.3
Error handling library that generates and injects context for you.
13 versions - Latest release: about 3 years ago - 1 dependent package - 16.2 thousand downloads total - 2 stars on GitHub - 1 maintainer
derive-attribute 0.1.2
A set of macros to automatically deserialize standard attributes
3 versions - Latest release: over 2 years ago - 4.06 thousand downloads total - 2 stars on GitHub - 1 maintainer
trl 1.2.2
This library provides auto generation of some common methods based on Rust macros
5 versions - Latest release: 4 months ago - 2.18 thousand downloads total - 0 stars on GitHub - 1 maintainer
Top 8.6% on crates.io
auto_enums_core 0.7.12 💰
An internal crate to support auto_enums - do not use directly
48 versions - Latest release: about 5 years ago - 1 dependent package - 131 dependent repositories - 3.83 million downloads total - 347 stars on GitHub - 1 maintainer
macro-attr-2018 3.0.1
This crate provides the `macro_attr!` macro that enables the use of custom, macro-based attribute...
16 versions - Latest release: over 1 year ago - 11 dependent packages - 7 dependent repositories - 119 thousand downloads total - 1 stars on GitHub - 1 maintainer
tyenum_attribute 0.5.0
Attribute macro for type enums.
1 version - Latest release: over 6 years ago - 1 dependent package - 2.58 thousand downloads total - 0 stars on gitlab.com - 1 maintainer
cachelito-async-macros 0.14.0
Async procedural macros for cachelito - automatic async caching attributes
7 versions - Latest release: 28 days ago - 174 downloads total - 0 stars on GitHub - 1 maintainer
cachelito-macros 0.14.0
Procedural macros for cachelito - automatic caching attributes
11 versions - Latest release: 28 days ago - 278 downloads total - 1 maintainer
warcrwlock 3.0.1
A crate in Rust that provides an attribute macro for structs and traits. Rewrite code using under...
24 versions - Latest release: 3 months ago - 25.5 thousand downloads total - 0 stars on GitHub - 1 maintainer
auto-error-into-macro 0.1.1
Macro to automatically convert the Err variant of a Result to the Ok variant. Requires auto-error...
2 versions - Latest release: almost 3 years ago - 1 dependent package - 3.3 thousand downloads total - 0 stars on GitHub - 1 maintainer
small_ctor 0.1.2 💰
A minimal, dependency free version of the ctor crate
3 versions - Latest release: over 1 year ago - 3.03 million downloads total - 17 stars on GitHub - 1 maintainer
yui_internal 0.1.5
Internal functions, struct for derive in Yui
6 versions - Latest release: over 5 years ago - 2 dependent packages - 9.72 thousand downloads total - 11 stars on GitHub - 1 maintainer
add-syntax 0.1.0
Attribute macros that prepend or append arbitrary syntax. Useful with `cfg_attr`.
1 version - Latest release: about 3 years ago - 2 dependent packages - 2.62 thousand downloads total - 0 stars on GitHub - 1 maintainer
Top 5.9% on crates.io
auto_enums 0.8.7 💰
A library for to allow multiple return types by automatically generated enum.
56 versions - Latest release: 12 months ago - 17 dependent packages - 188 dependent repositories - 9.71 million downloads total - 347 stars on GitHub - 1 maintainer
parameterized-macro 3.0.0 💰
Attribute macro crate for parameterized tests.
10 versions - Latest release: 2 months ago - 1 dependent package - 15 dependent repositories - 1.91 million downloads total - 25 stars on GitHub - 1 maintainer
attr-parser-fn 0.3.4
parse attribute procedual macros in functional way
5 versions - Latest release: over 1 year ago - 6.2 thousand downloads total - 0 stars on GitHub - 1 maintainer
mux_attrs 0.1.0
Attribute multiplexing
1 version - Latest release: 7 months ago - 490 downloads total - 0 stars on GitHub - 1 maintainer
structype_derive 3.0.0
A derive macro crate that lets you view an allowed type's fields and will let you over-ride it.
3 versions - Latest release: almost 5 years ago - 4.05 thousand downloads total - 1 stars on GitHub - 1 maintainer
attribution-macros 0.5.0
The macros used by the attribution crate
6 versions - Latest release: over 5 years ago - 1 dependent package - 1 dependent repositories - 10.2 thousand downloads total - 4 stars on GitHub - 1 maintainer
attribution 0.5.0
A declarative custom attribute parsing framework
7 versions - Latest release: over 5 years ago - 10.7 thousand downloads total - 4 stars on GitHub - 1 maintainer
Top 4.5% on crates.io
pin-project-internal 1.1.10 💰
Implementation detail of the `pin-project` crate.
68 versions - Latest release: 10 months ago - 3 dependent packages - 27,101 dependent repositories - 303 million downloads total - 606 stars on GitHub - 1 maintainer
dylink_macro 0.10.0
Run-time dynamic linker loader attribute
12 versions - Latest release: almost 2 years ago - 1 dependent package - 16 thousand downloads total - 2 stars on GitHub - 1 maintainer
db-key-macro 0.2.0
Attribute macro to generate fixed-length key-value database keys
3 versions - Latest release: about 1 year ago - 2.69 thousand downloads total - 0 stars on GitHub - 1 maintainer
Top 8.3% on crates.io
const_fn 0.4.11 💰
A lightweight attribute for easy generation of const functions with conditional compilations.
24 versions - Latest release: about 1 year ago - 15 dependent packages - 8,277 dependent repositories - 50.4 million downloads total - 28 stars on GitHub - 1 maintainer
Top 8.5% on crates.io
auto_enums_derive 0.7.12 💰
An internal crate to support auto_enums - do not use directly
48 versions - Latest release: about 5 years ago - 1 dependent package - 171 dependent repositories - 3.77 million downloads total - 347 stars on GitHub - 1 maintainer
make_public 0.1.0
A procedural macro to make struct fields public
1 version - Latest release: 11 months ago - 824 downloads total - 0 stars on GitHub - 1 maintainer
attr-bounds 0.1.0
An attribute macro to apply bounds to items.
1 version - Latest release: over 1 year ago - 1.77 thousand downloads total - 0 stars on GitHub - 1 maintainer
meshx-derive 0.1.0
Derive macros for [meshx](https://crates.io/crates/meshx)
1 version - Latest release: about 4 years ago - 1 dependent package - 1 dependent repositories - 77.4 thousand downloads total - 21 stars on GitHub - 1 maintainer
pin-init 0.2.0 💰
Safe pinned-initialization in Rust
3 versions - Latest release: about 4 years ago - 5 dependent packages - 26 thousand downloads total - 6 stars on GitHub - 2 maintainers
aloe-xml 0.1.1 removed
Aloe-XML is a crate for parsing and manipulating XML documents in Rust. It provides a comprehensi...
2 versions - Latest release: 9 months ago - 3.76 thousand downloads total - 12 stars on GitHub - 1 maintainer
attrio 0.1.0 removed
A tiny library for easily generating macros that annotate items with given attributes.
1 version - Latest release: 9 months ago - 0 downloads total - 2 stars on GitHub - 1 maintainer