All Projects → sokomishalov → lombok-rs

sokomishalov / lombok-rs

Licence: Apache-2.0, MIT licenses found Licenses found Apache-2.0 LICENSE-APACHE.md MIT LICENSE-MIT.md
Lombok port for Rust

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to lombok-rs

vscode-java-saber
⚔️ To make the vscode work as Eclipse or IDEA when you are coding in java.
Stars: ✭ 28 (-9.68%)
Mutual labels:  setters, getters
accessors
Generate D getters and setters automatically
Stars: ✭ 20 (-35.48%)
Mutual labels:  setters, getters
stringmask
A micro-library for macro-based case class field masking in .toString
Stars: ✭ 48 (+54.84%)
Mutual labels:  tostring
awesome-sql-builder
A small library for building SQL queries in a better way than regular string concatenation.
Stars: ✭ 44 (+41.94%)
Mutual labels:  builder
maestro
Faster CI/CD for multi-artifact projects
Stars: ✭ 13 (-58.06%)
Mutual labels:  builder
apt
Java Annotation Processor Tool,动态生成getter/setter方法(像Lombok一样)。
Stars: ✭ 28 (-9.68%)
Mutual labels:  lombok
builder
🍉 Build scenes for Decentraland
Stars: ✭ 141 (+354.84%)
Mutual labels:  builder
MinecraftBut
🎥 A Minecraft Plugin for youtubers such as BajanCandian, Skeppy, BadBoyHalo, A6D, Wilbur Soot
Stars: ✭ 50 (+61.29%)
Mutual labels:  lombok
reacty yew
Generate Yew components from React components via Typescript type definitions
Stars: ✭ 46 (+48.39%)
Mutual labels:  proc-macro
hrisey
Hrisey - boilerplate code suppressor tool for Android platform
Stars: ✭ 148 (+377.42%)
Mutual labels:  lombok
real-async-trait-rs
A proc macro for real async traits, using nightly-only existential types and generic associated types to work around the need for type erasure
Stars: ✭ 38 (+22.58%)
Mutual labels:  proc-macro
swift-declarative-configuration
Declarative configuration for your objects
Stars: ✭ 46 (+48.39%)
Mutual labels:  builder
Library-Spring
The library web application where you can borrow books. It's Spring MVC and Hibernate project.
Stars: ✭ 73 (+135.48%)
Mutual labels:  lombok
SwiftBuilder
SwiftBuilder is a fast way to assign new value to the property of the object.
Stars: ✭ 26 (-16.13%)
Mutual labels:  builder
oasis-sdk
Official SDK for the Oasis Network.
Stars: ✭ 57 (+83.87%)
Mutual labels:  builder
hashcode
🔑 A javascript module for generating hashcodes of objects
Stars: ✭ 27 (-12.9%)
Mutual labels:  hashcode
flutter sticky and expandable list
粘性头部与分组列表Sliver实现 Build a grouped list, which support expand/collapse section and sticky headers, support use it with sliver widget.
Stars: ✭ 116 (+274.19%)
Mutual labels:  builder
smaller-sites
Smaller Sites is a small BUT Powerful, free and easy to use drag and drop builder for blogs, websites or e-commerce stores. Designed for everyone Developers and non Developers. You can use it to design your next website. The goal is to create something like webflow
Stars: ✭ 27 (-12.9%)
Mutual labels:  builder
symbok-bundle
Symfony annotations bundle
Stars: ✭ 50 (+61.29%)
Mutual labels:  lombok
fliphub
the easiest app builder
Stars: ✭ 30 (-3.23%)
Mutual labels:  builder

Lombok Rust

Lombok port for Rust.

Why?

Just because I can!

This crate is not actually the must-have one for development in Rust (unlike Java world), but if you find it useful - it would be great. Anyway - boilerplate sucks, so get some proc macros stuff for decrease it.

Any feedback is appreciated.

Implementation list so far

  • @Getter - #[derive(Getter)]/#[derive(GetterMut)]
  • @Setter - #[derive(Setter)]
  • @EqualsAndHashCode - #[derive(EqualsAndHashCode)]
  • @ToString - #[derive(ToString)]
  • @Data - #[derive(Data)]
  • @NoArgsConstructor - #[derive(NoArgsConstructor)]
  • @AllArgsConstructor - #[derive(AllArgsConstructor)]
  • @Builder - #[derive(Builder)]

Usage

Update Cargo.toml

[dependencies]
lombok = "0.3"

Source code usage examples you can see in tests.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].