crates.io "macro" keyword
View the packages on the crates.io package registry that are tagged with the "macro" keyword.
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
ergol 0.1.9
an async ORM for Rust12 versions - Latest release: 10 months ago - 1 dependent repositories - 16.1 thousand downloads total - 21 stars on GitHub - 1 maintainer
Top 3.5% on crates.io
10 versions - Latest release: over 6 years ago - 782 dependent packages - 10,251 dependent repositories - 90 million downloads total - 397 stars on GitHub - 1 maintainer
maplit 1.0.2
Collection βliteralβ macros for HashMap, HashSet, BTreeMap, and BTreeSet.10 versions - Latest release: over 6 years ago - 782 dependent packages - 10,251 dependent repositories - 90 million downloads total - 397 stars on GitHub - 1 maintainer
nitrite_derive 0.1.0
Derive macros for the nitrite crate1 version - Latest release: 21 days ago - 16 downloads total - 1 maintainer
safina-macros 0.1.3
Procedural macro for the `safina-async-test` package4 versions - Latest release: about 1 year ago - 4.51 thousand downloads total - 2 stars on gitlab.com - 1 maintainer
cargo_meta_proc 0.1.4
Generate Rust data from the Cargo manifest5 versions - Latest release: over 6 years ago - 1 dependent package - 8.68 thousand downloads total - 0 stars on gitlab.com - 1 maintainer
useful_macro 0.2.29
Collections of useful macros67 versions - Latest release: over 3 years ago - 10 dependent packages - 1 dependent repositories - 79.3 thousand downloads total - 1 stars on gitlab.com - 2 maintainers
ruled-router 0.0.7
A high-performance router library with derive macro support for Rust7 versions - Latest release: about 1 month ago - 1.37 thousand downloads total - 0 stars on GitHub - 1 maintainer
tide-jsx-impl 0.3.0
The macros needed for `render`5 versions - Latest release: over 3 years ago - 1 dependent package - 1 dependent repositories - 8.03 thousand downloads total - 7 stars on GitHub - 1 maintainer
filterstruct 0.1.0
A simple macro for creating struct instances with ergonomic syntax, useful for filters.1 version - Latest release: 2 months ago - 67 downloads total - 1 maintainer
hyperide-macro 0.0.4 π°
Builds strings from embedded HTML in Rust4 versions - Latest release: over 2 years ago - 1 dependent package - 5.39 thousand downloads total - 11 stars on GitHub - 1 maintainer
bevy_btml 0.1.0
A macro to create Bevy entity-component hierarchies using an HTML-like syntax.1 version - Latest release: about 8 hours ago - 0 downloads total
Top 0.7% on crates.io
32 versions - Latest release: about 1 month ago - 46 dependent packages - 26,922 dependent repositories - 367 million downloads total - 5,004 stars on GitHub - 1 maintainer
tracing-attributes 0.1.31 π°
Procedural macro attributes for automatically instrumenting functions.32 versions - Latest release: about 1 month ago - 46 dependent packages - 26,922 dependent repositories - 367 million downloads total - 5,004 stars on GitHub - 1 maintainer
rustleaf-macros-internal 0.1.0
Internal procedural macros for the RustLeaf language interpreter1 version - Latest release: 5 months ago - 487 downloads total - 0 stars on GitHub - 1 maintainer
enum_companion_derive 0.1.4
A procedural macro for generating companion enums for structs.3 versions - Latest release: 3 months ago - 812 downloads total - 0 stars on GitHub - 1 maintainer
macron-inputln 0.1.1
Reads user input line from the console1 version - Latest release: 8 months ago - 942 downloads total - 0 stars on GitHub - 1 maintainer
ternary-rs 1.0.0
A Rust library for emulating the ternary operator from C/C++ (among other languages)1 version - Latest release: almost 5 years ago - 1 dependent repositories - 8.47 thousand downloads total - 0 stars on gitlab.com - 1 maintainer
facet-macros 0.42.0 π°
Derive macro for the Facet trait - proc macro powered by unsynn for compile-time type introspection32 versions - Latest release: about 13 hours ago - 73.7 thousand downloads total - 2,081 stars on GitHub - 1 maintainer
domainstack-derive 1.0.0
Derive macros for domainstack: #[derive(Validate)] for domain-driven validation1 version - Latest release: about 13 hours ago - 0 downloads total
spacetimedsl_derive 0.15.0
Macros to extend SpacetimeDSL. You shouldn't depend on this directly and instead use the spacetim...31 versions - Latest release: about 1 month ago - 11.9 thousand downloads total - 21 stars on GitHub - 1 maintainer
awmpde 0.7.1
awmpde used for deriving multipart request for actix web 311 versions - Latest release: almost 4 years ago - 1 dependent repositories - 16.7 thousand downloads total - 3 stars on GitHub - 1 maintainer
Top 7.0% on crates.io
28 versions - Latest release: about 1 month ago - 5 dependent packages - 11 dependent repositories - 292 thousand downloads total - 4 maintainers
caret 0.8.1
Macros for declaring non-exhaustive C-style enumerations, with named members28 versions - Latest release: about 1 month ago - 5 dependent packages - 11 dependent repositories - 292 thousand downloads total - 4 maintainers
Top 6.3% on crates.io
12 versions - Latest release: almost 10 years ago - 28 dependent packages - 609 dependent repositories - 1.12 million downloads total - 116 stars on GitHub - 1 maintainer
mopa 0.2.2
My Own Personal Any: get your own Any with additional functionality12 versions - Latest release: almost 10 years ago - 28 dependent packages - 609 dependent repositories - 1.12 million downloads total - 116 stars on GitHub - 1 maintainer
ini 1.3.0 π°
A simple macro built on top of configparser to load and parse ini files. You can use this to writ...14 versions - Latest release: over 5 years ago - 11 dependent packages - 6 dependent repositories - 872 thousand downloads total - 9 stars on GitHub - 1 maintainer
Top 1.6% on crates.io
15 versions - Latest release: over 1 year ago - 13 dependent packages - 1,335 dependent repositories - 12.8 million downloads total - 8,411 stars on GitHub - 2 maintainers
actix_derive 0.6.2
Derive macros for `actix` actors15 versions - Latest release: over 1 year ago - 13 dependent packages - 1,335 dependent repositories - 12.8 million downloads total - 8,411 stars on GitHub - 2 maintainers
Top 1.7% on crates.io
38 versions - Latest release: over 1 year ago - 11,027 dependent packages - 103,112 dependent repositories - 564 million downloads total - 1,927 stars on GitHub - 1 maintainer
lazy_static 1.5.0
A macro for declaring lazily evaluated statics in Rust.38 versions - Latest release: over 1 year ago - 11,027 dependent packages - 103,112 dependent repositories - 564 million downloads total - 1,927 stars on GitHub - 1 maintainer
entity-derive 0.3.1
Derive macro for generating DTOs, repositories, and SQL from a single entity definition10 versions - Latest release: about 20 hours ago - 143 downloads total - 1 maintainer
entity-derive-impl 0.1.1
Internal proc-macro implementation for entity-derive. Use entity-derive instead.2 versions - Latest release: about 20 hours ago - 0 downloads total
multiline-str 0.1.1
A simple multiline string Rust macro, which allows you to write multiline strings in a more reada...2 versions - Latest release: over 1 year ago - 2.79 thousand downloads total - 0 stars on GitHub - 1 maintainer
compile-symbol
Provides compile-time globally unique, 25-character, 128-bit symbols similar to the Symbol type i...4 versions - Latest release: about 16 hours ago - 4.57 thousand downloads total - 4 stars on GitHub - 1 maintainer
ops-derive 0.1.1
Derive macros for std::ops2 versions - Latest release: almost 5 years ago - 3.06 thousand downloads total - 1 maintainer
mobile-entry-point 0.1.1
Generate app entry-point boilerplate for iOS & Android!2 versions - Latest release: about 5 years ago - 27 dependent repositories - 15.7 thousand downloads total - 10 stars on GitHub - 2 maintainers
fancy_constructor 2.1.0 π°
Derive a highly configurable constructor for your struct10 versions - Latest release: 8 months ago - 1 dependent package - 1.58 million downloads total - 1 stars on GitHub - 1 maintainer
iter_vals 0.1.0
On the fly iterator creation.1 version - Latest release: over 6 years ago - 2.67 thousand downloads total - 0 stars on GitHub - 1 maintainer
enum-from-functions 0.3.0
A procedural macro that will create an enum with associated functions that each have a correspond...5 versions - Latest release: over 2 years ago - 6.25 thousand downloads total - 0 stars on GitHub - 1 maintainer
kv-derive 1.0.1 π°
Derive struct conversions from and to key-value vectors17 versions - Latest release: over 3 years ago - 1 dependent package - 2 dependent repositories - 23 thousand downloads total - 4 stars on GitHub - 1 maintainer
html_to_bevy 0.8.5
A procedural macro to generate Bevy UI code from HTML-like syntax22 versions - Latest release: 9 months ago - 12.1 thousand downloads total - 5 stars on GitHub - 1 maintainer
redis-macros 1.0.0
Simple macros and wrappers to redis-rs to automatically serialize and deserialize structs with se...19 versions - Latest release: about 1 month ago - 1 dependent package - 1 dependent repositories - 1.03 million downloads total - 39 stars on GitHub - 1 maintainer
Top 4.1% on crates.io
16 versions - Latest release: 7 months ago - 223 dependent packages - 1,913 dependent repositories - 31.6 million downloads total - 377 stars on GitHub - 1 maintainer
getset 0.1.6
Getset, we're ready to go! A procedural macro for generating the most basic getters and setters ...16 versions - Latest release: 7 months ago - 223 dependent packages - 1,913 dependent repositories - 31.6 million downloads total - 377 stars on GitHub - 1 maintainer
captur 1.0.1 π°
Macro to capture whole structs from disjoint fields in a closure.3 versions - Latest release: over 1 year ago - 3 dependent packages - 14 dependent repositories - 19 thousand downloads total - 1 stars on GitHub - 1 maintainer
embedded-cli-macros 0.2.1
Macros for embedded-cli lib5 versions - Latest release: almost 2 years ago - 1 dependent package - 20 thousand downloads total - 98 stars on GitHub - 1 maintainer
predawn-schema-macro 0.9.0
Macros for predawn-schema1 version - Latest release: about 1 year ago - 1.06 thousand downloads total - 89 stars on GitHub - 1 maintainer
iron-maud
Maud integration for the Iron web framework.1 version - Latest release: about 22 hours ago - 2.01 thousand downloads total - 2,460 stars on GitHub - 1 maintainer
sample-config 0.2.0
Generation of sample configs with documentation comments.2 versions - Latest release: almost 3 years ago - 2.68 thousand downloads total - 2 stars on GitHub - 1 maintainer
sample-config-macros 0.2.0
Macros for `sample-config`.2 versions - Latest release: almost 3 years ago - 1 dependent package - 1 dependent repositories - 3.15 thousand downloads total - 2 stars on GitHub - 1 maintainer
workspacer-register 0.1.3
Utility crate to ensure all source files are registered within a workspace, managing macro defini...2 versions - Latest release: 6 months ago - 3.79 thousand downloads total - 1 maintainer
include-crypt-bytes 0.1.3
Rust macro to embed encrypted files in compiled binary4 versions - Latest release: about 3 years ago - 7.83 thousand downloads total - 18 stars on GitHub - 1 maintainer
impl-converter-helper 0.1.2
declarative macro library to help you implement the `From` or `TryFrom` trait for your type.3 versions - Latest release: almost 3 years ago - 9.48 thousand downloads total - 0 stars on GitHub - 1 maintainer
fncache 0.1.2
A zero-boilerplate Rust library for function-level caching with pluggable backends3 versions - Latest release: 5 months ago - 1.01 thousand downloads total - 0 stars on GitHub - 1 maintainer
option-chain 0.1.2
A macro for using `?` operator in functions that don't return `Option`.3 versions - Latest release: 9 months ago - 1.91 thousand downloads total - 2 stars on GitHub - 1 maintainer
impl_twice 0.0.3
Implement items on two types with only one impl block3 versions - Latest release: about 5 years ago - 1 dependent repositories - 5.41 thousand downloads total - 0 stars on GitHub - 1 maintainer
multi-structs 0.1.1 π°
Macro for generating a merged struct from multiple sub-structs4 versions - Latest release: almost 6 years ago - 6.53 thousand downloads total - 3 stars on GitHub - 1 maintainer
Top 5.1% on crates.io
8 versions - Latest release: 4 months ago - 84 dependent packages - 3,085 dependent repositories - 39 million downloads total - 169 stars on GitHub - 1 maintainer
if_chain 1.0.3
Macro for writing nested `if let` expressions.8 versions - Latest release: 4 months ago - 84 dependent packages - 3,085 dependent repositories - 39 million downloads total - 169 stars on GitHub - 1 maintainer
proc-virtual-dom 1.0.0
Procedural macros for virtual-dom HTML manipulation2 versions - Latest release: 1 day ago - 16 downloads total
expand 0.3.0
Macro to expand byte string and string literals7 versions - Latest release: almost 3 years ago - 3 dependent packages - 43 dependent repositories - 42.8 thousand downloads total - 1 stars on GitHub - 1 maintainer
rust-expect-macros 0.1.0
Procedural macros for the rust-expect terminal automation library1 version - Latest release: 1 day ago - 9 downloads total
motore-macros 0.4.3
Motore's proc macros.8 versions - Latest release: 8 months ago - 1 dependent package - 4 dependent repositories - 233 thousand downloads total - 267 stars on GitHub - 1 maintainer
slow_function_warning 0.6.0
A simple macro that prints a warning if a function takes longer than expected15 versions - Latest release: about 1 year ago - 14 thousand downloads total - 4 stars on GitHub - 1 maintainer
functionate 0.1.0
Automatically implement Fn* traits for structs and enums1 version - Latest release: over 5 years ago - 1.75 thousand downloads total - 8 stars on GitHub - 1 maintainer
declarative 0.7.3 π°
Generic DSL macros for easy view code manipulation15 versions - Latest release: 4 months ago - 16.5 thousand downloads total - 8 stars on GitHub - 1 maintainer
rock-n-rollup-macro 0.0.2
Macros of the rock-n-rollup project2 versions - Latest release: over 2 years ago - 1 dependent package - 3.1 thousand downloads total - 8 stars on GitHub - 2 maintainers
Top 2.4% on crates.io
34 versions - Latest release: about 1 year ago - 755 dependent packages - 4,058 dependent repositories - 91.7 million downloads total - 1,476 stars on GitHub - 2 maintainers
derive_builder 0.20.2
Rust macro to automatically implement the builder pattern for arbitrary structs.34 versions - Latest release: about 1 year ago - 755 dependent packages - 4,058 dependent repositories - 91.7 million downloads total - 1,476 stars on GitHub - 2 maintainers
format-struct 0.6.0
A library for quick and easy format structure definitions for use in binary file parsing.11 versions - Latest release: 3 months ago - 11.7 thousand downloads total - 0 stars on gitlab.com - 1 maintainer
Top 6.6% on crates.io
19 versions - Latest release: 7 months ago - 39 dependent packages - 553 dependent repositories - 16.3 million downloads total - 142 stars on GitHub - 1 maintainer
macro_rules_attribute 0.2.2
Use declarative macros in attribute or derive position19 versions - Latest release: 7 months ago - 39 dependent packages - 553 dependent repositories - 16.3 million downloads total - 142 stars on GitHub - 1 maintainer
systemf 0.1.0
C-like syscall macro, aka an interface of ::Command1 version - Latest release: over 4 years ago - 1.61 thousand downloads total - 4 stars on GitHub - 1 maintainer
identify-tts 0.1.0
Function-like procedural macro for turning transcribers like $($ty)* into arrays of formated stri...1 version - Latest release: over 5 years ago - 1.69 thousand downloads total - 0 stars on GitHub - 1 maintainer
crash_orm_derive 0.7.2
Macros for Crash ORM21 versions - Latest release: about 1 year ago - 1 dependent package - 21.6 thousand downloads total - 3 stars on GitHub - 1 maintainer
act-zero-ext 0.2.0
Macros for act-zero3 versions - Latest release: 3 months ago - 3.49 thousand downloads total - 1 maintainer
deno_bindgen_ir 0.1.0
This tool aims to simplify glue code generation for Deno FFI libraries written in Rust.1 version - Latest release: about 2 years ago - 1 dependent package - 4.6 thousand downloads total - 312 stars on GitHub - 1 maintainer
unwrap-enum-proc-macro 0.1.2
generate methods to access enum variants4 versions - Latest release: 2 months ago - 3.38 thousand downloads total - 0 stars on GitHub - 1 maintainer
dbg_hex 0.2.0
display dbg result in hexadecimal {:#x?} format3 versions - Latest release: almost 2 years ago - 1 dependent package - 3 dependent repositories - 14.3 thousand downloads total - 2 stars on GitHub - 1 maintainer
mem_println 0.1.5
Shortcuts for debugging the size of value in bytes6 versions - Latest release: over 3 years ago - 7.27 thousand downloads total - 0 stars on GitHub - 1 maintainer
unwrap-enum 0.1.2
generate methods to access enum variants4 versions - Latest release: 2 months ago - 3.16 thousand downloads total - 0 stars on GitHub - 1 maintainer
ffi2 0.1.0
Macro for routing C FFI callbacks to struct methods1 version - Latest release: 6 months ago - 1.86 thousand downloads total - 1 stars on GitHub - 1 maintainer
awmpde_structs 0.7.1
awmpde used for deriving multipart request for actix web 311 versions - Latest release: almost 4 years ago - 1 dependent package - 2 dependent repositories - 17.6 thousand downloads total - 3 stars on GitHub - 1 maintainer
kenzu 0.1.1
Procedural macros for builder pattern generation and validation16 versions - Latest release: 3 months ago - 5.41 thousand downloads total - 2 stars on GitHub
data-url-encode-macro 1.0.1
Rust macro to generate base64+percent-encoded strings suitable for data URLs in compile time2 versions - Latest release: almost 6 years ago - 3.18 thousand downloads total - 2 stars on GitHub - 1 maintainer
load_sql_proc 0.1.5
A procedural macro for load & minifying SQL queries at compile time.3 versions - Latest release: over 1 year ago - 1 dependent package - 8.61 thousand downloads total - 3 stars on GitHub - 1 maintainer
macron-impl-into 0.1.1
The implementation of trait Into2 versions - Latest release: 8 months ago - 2.48 thousand downloads total - 0 stars on GitHub - 1 maintainer
eure-macros 0.1.4
Derive macros for Eure schema generation4 versions - Latest release: 2 days ago - 69 downloads total - 1 maintainer
cstr-literal 0.1.0
A const-friendly macro for C string literals.1 version - Latest release: over 2 years ago - 11.9 thousand downloads total - 1 stars on GitHub - 1 maintainer
autozig-macro 0.1.0
Procedural macro for autozig1 version - Latest release: 1 day ago - 0 downloads total - 1 maintainer
constructor-lite 0.3.0
Generate minimal constructors for structs3 versions - Latest release: almost 2 years ago - 4.07 thousand downloads total - 3 stars on GitHub - 1 maintainer
tokio-timeout 0.1.1
A proc-macro which adds a timeout to an asynchronous function running under the tokio runtime2 versions - Latest release: 6 months ago - 1.08 thousand downloads total - 4 stars on GitHub - 1 maintainer
metamorphose 1.4.1
Macros collection for converting Structure to Model, for a green-barrel project.135 versions - Latest release: over 2 years ago - 1 dependent package - 1 dependent repositories - 157 thousand downloads total - 22 stars on GitHub - 1 maintainer
default-constructor-macros 0.5.1
Macros for default-constructor.5 versions - Latest release: about 1 year ago - 6.05 thousand downloads total - 2 stars on GitHub - 1 maintainer
copilot-rs 0.1.2
A Rust SDK for interacting with chat models, providing easy-to-use functions and tools.2 versions - Latest release: about 1 year ago - 1.81 thousand downloads total - 0 stars on GitHub - 1 maintainer
cifg 1.0.3
A macro for defining #[cfg] if/else blocks; alternate to cfg-if.4 versions - Latest release: over 1 year ago - 4.75 thousand downloads total - 0 stars on GitHub - 1 maintainer
anydir-macro 0.1.0
A crate for working with both compile-time embedded directories and runtime directories using an ...1 version - Latest release: 8 months ago - 1.17 thousand downloads total - 0 stars on GitHub - 1 maintainer
perfect-derive 0.1.5
Provides a prototype of the proposed perfect_derive macro6 versions - Latest release: about 1 year ago - 1 dependent package - 1 dependent repositories - 14 thousand downloads total - 10 stars on GitHub - 1 maintainer
common_hal_interface 1.0.16-alpha
A common interface between Rust HALs, for use in the Iron Coder IDE17 versions - Latest release: about 1 month ago - 1.05 thousand downloads total - 1 maintainer
lilys-new-macro 0.1.1
Macro for generating a 'new' constructor function2 versions - Latest release: 10 months ago - 1.33 thousand downloads total - 0 stars on GitHub - 1 maintainer
enso-macro-utils 0.2.0
Utilities for writing macros.3 versions - Latest release: over 4 years ago - 2 dependent packages - 6 dependent repositories - 37.1 thousand downloads total - 13 stars on GitHub - 5 maintainers
stringvec 0.1.0
A simple macro for creating Vec<String> from various types1 version - Latest release: over 1 year ago - 1.29 thousand downloads total - 0 stars on GitHub - 1 maintainer
binprot_derive 0.1.7
Derive macro for the bin_prot protocol.7 versions - Latest release: almost 4 years ago - 2 dependent packages - 2 dependent repositories - 14.5 thousand downloads total - 20 stars on GitHub - 1 maintainer
rocal-macro 0.3.4
Macros for Rocal - Full-Stack WASM framework10 versions - Latest release: 7 months ago - 5.63 thousand downloads total - 53 stars on GitHub - 1 maintainer
struct-merge 0.1.1
Automatically generated code for various structs merge-strategies.2 versions - Latest release: almost 4 years ago - 1 dependent package - 4.09 thousand downloads total - 3 stars on GitHub - 1 maintainer
doc_consts 0.3.1
get doc comments on fields as runtime constants6 versions - Latest release: about 1 year ago - 1 dependent package - 6.93 thousand downloads total - 1 stars on GitHub - 1 maintainer
rcss-layers 0.2.0
Part of Rust CSS embedding library that allows saving styles as seperate layers.1 version - Latest release: almost 2 years ago - 1 dependent package - 1.85 thousand downloads total - 10 stars on GitHub - 1 maintainer
fn_once 0.3.0 π°
This library provides a convenient derive macro for a once function.3 versions - Latest release: over 3 years ago - 1 dependent repositories - 3.99 thousand downloads total - 2 stars on GitHub - 1 maintainer
Related Keywords
rust
509
derive
352
proc-macro
173
macros
147
enum
118
struct
78
trait
57
rust-lang
54
async
52
builder
52
testing
47
procedural
46
database
46
config
46
no-std
45
utility
45
parser
43
error
43
cli
42
web
42
attribute
42
html
41
configuration
39
no_std
37
serde
36
rust-crate
35
test
34
compile-time
34
string
34
static
34
rust-library
32
codegen
31
proc_macro
29
proc
29
ffi
29
serialization
28
function
28
setter
28
json
27
pattern
24
type
23
const
23
library
23
sql
23
boilerplate
22
syn
22
match
21
env
21
lazy
21
environment
21
bevy
21
crate
20
impl
20
data-structures
19
rust-macro
19
wasm
19
logging
18
validation
18
debug
18
error-handling
17
constructor
17
literal
17
schema
17
field
17
log
17
axum
17
format
16
assert
16
macro_rules
16
plugin
16
functional
16
framework
16
parse
16
procedural-macro
16
getter
15
code-generation
15
reflection
15
api
15
newtype
15
template
15
rsx
15
syntax
15
hashmap
14
css
14
generic
14
hacktoberfest
14
performance
14
rpc
14
deserialization
13
dsl
13
postgres
13
encoding
13
data
13
mongodb
13
protocol
13
derive-macro
13
iterator
13
python
13
types
13
embed
13