crates.io "constructor" keyword
dtor 0.1.1
__attribute__((destructor)) for Rust9 versions - Latest release: 4 months ago - 12.9 million downloads total - 962 stars on GitHub - 1 maintainer
Top 2.8% on crates.io
54 versions - Latest release: 3 months ago - 326 dependent packages - 13,311 dependent repositories - 108 million downloads total - 962 stars on GitHub - 1 maintainer
ctor 0.6.3
__attribute__((constructor)) for Rust54 versions - Latest release: 3 months ago - 326 dependent packages - 13,311 dependent repositories - 108 million downloads total - 962 stars on GitHub - 1 maintainer
ctor-proc-macro 0.0.7
proc-macro support for the ctor crate8 versions - Latest release: 5 months ago - 19.2 million downloads total - 962 stars on GitHub - 1 maintainer
dtor-proc-macro 0.0.6
proc-macro support for the dtor crate5 versions - Latest release: 8 months ago - 12.8 million downloads total - 962 stars on GitHub - 1 maintainer
pyo3_macro 0.1.4
A Rust macro crate builds PyO3-compatible Rust `protobuf` and `gRPC` structures. So you can easil...5 versions - Latest release: over 1 year ago - 5.56 thousand downloads total - 0 stars on GitHub - 1 maintainer
ducktor 0.1.0
A macro to generate constructor to instanicate structs from JsValue using duck-typing.1 version - Latest release: over 2 years ago - 1.6 thousand downloads total - 9 stars on GitHub - 1 maintainer
Top 7.0% on crates.io
20 versions - Latest release: 10 months ago - 82 dependent packages - 880 dependent repositories - 9.94 million downloads total - 35 stars on gitlab.com - 1 maintainer
static_init 1.0.4
Safe mutable static and non const static initialization, and code execution at program startup/exit.20 versions - Latest release: 10 months ago - 82 dependent packages - 880 dependent repositories - 9.94 million downloads total - 35 stars on gitlab.com - 1 maintainer
bon 3.9.0
Next-gen compile-time-checked builder generator, named function's arguments, and more!45 versions - Latest release: 24 days ago - 22.4 million downloads total - 766 stars on GitHub - 2 maintainers
Top 9.5% on crates.io
25 versions - Latest release: about 1 year ago - 10 dependent packages - 21 dependent repositories - 1.14 million downloads total - 70 stars on GitHub - 1 maintainer
buildstructor 0.6.0
Macro to derive a builder from a constructor function.25 versions - Latest release: about 1 year ago - 10 dependent packages - 21 dependent repositories - 1.14 million downloads total - 70 stars on GitHub - 1 maintainer
rec 0.11.0
Regular Expression Constructor11 versions - Latest release: over 6 years ago - 1 dependent package - 17.5 thousand downloads total - 2 stars on GitHub - 1 maintainer
derive_constructors 1.0.0
Deriving From, TryFrom and create new_with_*args* functions.1 version - Latest release: almost 2 years ago - 1.88 thousand downloads total - 0 stars on GitHub - 1 maintainer
scones 0.1.2 💰
Generates simple constructors for structs.3 versions - Latest release: over 5 years ago - 1 dependent package - 2 dependent repositories - 6.18 thousand downloads total - 10 stars on GitHub - 1 maintainer
contructor-derive 0.1.1
Registers a function to be called before/after main (if an executable) or when loaded/unloaded (i...2 versions - Latest release: over 7 years ago - 3.36 thousand downloads total - 1 stars on GitHub - 1 maintainer
crabstructor 0.2.1-beta
Simple constructor generator for named structures3 versions - Latest release: over 1 year ago - 3.24 thousand downloads total - 1 maintainer
small_ctor 0.1.2 💰
A minimal, dependency free version of the ctor crate3 versions - Latest release: over 1 year ago - 4.17 million downloads total - 17 stars on GitHub - 1 maintainer
try_create 0.1.2
A small library providing generic traits for fallible and infallible object creation.3 versions - Latest release: 8 months ago - 1.91 thousand downloads total - 0 stars on gitlab.com - 1 maintainer
from_ref 0.0.1
from_ref_* macros auto generate standard implementation of trait From without Copy derive1 version - Latest release: 11 months ago - 1.12 thousand downloads total - 0 stars on GitHub - 1 maintainer
fancy_constructor 2.1.0 💰
Derive a highly configurable constructor for your struct10 versions - Latest release: 10 months ago - 1 dependent package - 1.58 million downloads total - 1 stars on GitHub - 1 maintainer
scones_macros 0.1.2 💰
Macros that power the Scones crate.3 versions - Latest release: over 5 years ago - 1 dependent package - 2 dependent repositories - 6.59 thousand downloads total - 10 stars on GitHub - 1 maintainer
derived 0.4.2 💰
Derive macros for automating the boring stuff9 versions - Latest release: over 4 years ago - 1 dependent package - 12.5 thousand downloads total - 13 stars on GitHub - 1 maintainer
metafactory 0.4.4
Rust library to chain together object factories.19 versions - Latest release: about 11 years ago - 1 dependent package - 34.7 thousand downloads total - 3 stars on GitHub - 1 maintainer
bon-macros 3.8.1
This is a proc-macro crate that is supposed to be a private implementation detail of the `bon` cr...42 versions - Latest release: 5 months ago - 14.6 million downloads total - 766 stars on GitHub - 2 maintainers
default-constructor 0.5.1
Macros for creating pseudo-dsls that constructs structs through default construction and field co...12 versions - Latest release: over 1 year ago - 14 thousand downloads total - 2 stars on GitHub - 1 maintainer
Top 8.9% on crates.io
12 versions - Latest release: about 1 year ago - 2 dependent packages - 875 dependent repositories - 9.75 million downloads total - 35 stars on gitlab.com - 1 maintainer
static_init_macro 1.0.4
Attribute macros for static_init crate12 versions - Latest release: about 1 year ago - 2 dependent packages - 875 dependent repositories - 9.75 million downloads total - 35 stars on gitlab.com - 1 maintainer
hictor 0.1.6
declarative macro for __attribute__((constructor))/__attribute__((destructor))7 versions - Latest release: over 2 years ago - 3 dependent packages - 9.82 thousand downloads total - 1 maintainer
bon-sandbox 3.8.1 💰
Not a real crate! It's just a showcase of examples used by `bon`'s documentation to demonstra...25 versions - Latest release: 5 months ago - 15.3 thousand downloads total - 1,878 stars on GitHub - 1 maintainer
derive_constructors_proc 1.0.0
Deriving From, TryFrom and create new_with_*args* functions.1 version - Latest release: almost 2 years ago - 1 dependent package - 2.13 thousand downloads total - 0 stars on GitHub - 1 maintainer
lilys-new-macro 0.1.1
Macro for generating a 'new' constructor function2 versions - Latest release: 12 months ago - 1.33 thousand downloads total - 0 stars on GitHub - 1 maintainer
option-constructor-derive 0.1.1
Constructor helper2 versions - Latest release: almost 9 years ago - 3.66 thousand downloads total - 0 stars on GitHub - 1 maintainer
ctor_macro 0.1.0
A derive proc-macro that automatically derives a constructor for your struct!1 version - Latest release: 3 months ago - 20 downloads total - 1 maintainer
ld_preload_helpers 0.1.1
Macros to run code at load time and override C functions2 versions - Latest release: almost 3 years ago - 2.72 thousand downloads total - 0 stars on GitHub - 1 maintainer
ctor_bare 0.2.1
Register constructor functions for Rust at complie time under no_std.4 versions - Latest release: about 1 year ago - 94.8 thousand downloads total - 1 stars on GitHub - 1 maintainer
constructor_macro_internal 0.1.0
A derive proc-macro that automatically derives a constructor for your struct!1 version - Latest release: 3 months ago - 46 downloads total - 1 maintainer
ctor_bare_macros 0.2.1
Macros for registering constructor functions for Rust under no_std.4 versions - Latest release: about 1 year ago - 96.3 thousand downloads total - 1 stars on GitHub - 1 maintainer
inew 0.2.3
Macroses for constructor generation5 versions - Latest release: 4 months ago - 5.94 thousand downloads total - 13 stars on GitHub - 1 maintainer
default-constructor-macros 0.5.1
Macros for default-constructor.5 versions - Latest release: over 1 year ago - 6.15 thousand downloads total - 2 stars on GitHub - 1 maintainer
companion-service 0.1.0
Run services along with your executable1 version - Latest release: over 4 years ago - 1.77 thousand downloads total - 0 stars on GitHub - 1 maintainer
scones_examples 0.1.2 💰
Examples (and tests) for the Scones crate.3 versions - Latest release: over 5 years ago - 4.46 thousand downloads total - 10 stars on GitHub - 1 maintainer
constructor-lite 0.3.0
Generate minimal constructors for structs3 versions - Latest release: almost 2 years ago - 4.09 thousand downloads total - 3 stars on GitHub - 1 maintainer
purpurea 0.1.0
Attribute based accessor/updater/mutator/constructor generation.1 version - Latest release: almost 5 years ago - 1.71 thousand downloads total - 2 stars on GitHub - 1 maintainer
bon-cli 3.5.2 💰
Dev tool for working with the `bon` crate6 versions - Latest release: 11 months ago - 5.02 thousand downloads total - 1,815 stars on GitHub
startup
Tiny (no dependency, no proc macro) way to run some code before main.3 versions - Latest release: 27 days ago - 9 dependent repositories - 28.5 thousand downloads total - 17 stars on GitHub - 1 maintainer
staticinit 1.0.0 removed
Safe mutable static and non const static initialization, and code execution at program startup/exit.1 version - Latest release: over 4 years ago - 1.24 thousand downloads total - 0 stars on gitlab.com - 1 maintainer
Related Keywords
macro
17
derive
16
rust
14
builder
10
macros
8
builder-pattern
7
no_std
6
generator
5
builders
4
code-generation
4
constructors
4
data-structures
4
derive-macro
4
no-std
4
no-std-alloc
4
setter-methods
4
setters
4
proc-macro
4
dylib
4
static
4
setter
4
asynchronous
4
new
3
ctor
3
destructor
3
generated-code
3
boilerplate
3
default
2
factory
2
init
2
from
2
tryfrom
2
arceos
2
preformance
2
optimization
2
rust-library
1
runtime
1
reflection
1
invoke
1
initialization
1
utility
1
dtor
1
main
1
updater
1
struct
1
ld_preload
1
override
1
metaprogramming
1
mutator
1
accessor
1
test
1
service
1
wasm
1
wasm-bindgen
1
duck-typing
1
python
1
pyo3
1
pyclass
1
expression
1
regular
1
term
1
auto_constructor
1
attribute
1
try_new
1
converter
1
convertor
1
configurable
1
const
1
automation
1
crates
1
rust-lang
1