• Stars
    star
    35
  • Rank 750,836 (Top 15 %)
  • Language
    Rust
  • License
    MIT License
  • Created over 5 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Avoiding code reuse in Rust with OOP inheritance

More Repositories

1

fstrings-rs

Python3 fstrings in Rust
Rust
81
star
2

polonius-the-crab.rs

Tools to feature more lenient Polonius-based borrow-checker patterns on stable Rust
Rust
74
star
3

macro_rules_attribute-rs

Use declarative macros as proc_macro attributes or derives
Rust
68
star
4

lending-iterator.rs

Lending iterators on stable Rust
Rust
66
star
5

nougat.rs

(lifetime) GATs on stable Rust
Rust
52
star
6

shellcode-factory

Tool to create and test shellcodes from custom assembly sources (with some encoding options)
Python
36
star
7

never-say-never.rs

The never type (the true one!) in stable Rust.
Rust
30
star
8

next-gen-rs

Safe generators on stable Rust.
Rust
29
star
9

rust-uninit

Read trait fixed to soundly work with uninitalized memory
Rust
25
star
10

with_locals.rs

Procedural macro to mock returning (values referencing) locals from a function (using CPS)
Rust
25
star
11

rust-function_name

macro that expands to the name of the annotated function
Rust
24
star
12

lifetimes.rs

JavaScript
21
star
13

higher-order-closure.rs

Allow function lifetime elision and explicit `for<'a>` annotations on closures.
Rust
20
star
14

byte-strings-rs

Rust byte strings manipulation, for a better and safer C FFI
Rust
17
star
15

stackbox.rs

`&own` pointers in Stable Rust / `RefOwn` / `&mut` with move semantics (and thus drop)
Rust
14
star
16

stackvec-rs

A rust crate to use stack-allocated vectors (to improve performance and/or when there is no std)
Rust
11
star
17

iter-python-rs

Python generator expressions and 'list' comprehensions (https://crates.io/crates/iter-python)
Rust
10
star
18

rust-defile

Helper proc-macro to "ungroup" a captured metavariable
Rust
10
star
19

fix_hidden_lifetime_bug.rs

Proc-macro to write an automatic fix for the "hidden lifetime in impl Trait" issue
Rust
9
star
20

visibility.rs

Attribute to override the visibility of items (useful in conjunction with cfg_attr)
Rust
7
star
21

ghosts.rs

Type-check non-existing `Phantom` code for Fun And Profitβ„’.
Rust
6
star
22

maybe-dangling.rs

`ManuallyDrop<T>` and `MaybeDangling<T>` semantics in stable Rust as per https://github.com/rust-lang/rfcs/pull/3336
Rust
6
star
23

unstringify.rs

Procedural macro implemention of the reverse operation of `stringify!`
Rust
5
star
24

custom-try.rs

Macro to customize the behavior of `?`
Rust
5
star
25

ext-trait.rs

Annotation to easily define ad-hoc / one-shot extension traits
Rust
5
star
26

with_builtin_macros.rs

Helper for macro_rules authors to chain their macros with builtin ones (such as `env!`, `include!`, or `concat_idents!`).
Rust
5
star
27

async_fn.rs

Collection of helper annotations and macros for concise and yet explicit `async fn` signatures
Rust
4
star
28

higher-kinded-types.rs

"Generic generics" / higher-kinded APIs in stable Rust.
Rust
4
star
29

cfg_eval.rs

`#[cfg_eval]` in stable Rust
Rust
4
star
30

negative.rs

Negative trait impls in stable Rust
Rust
4
star
31

heaptrace

Tool to (l)trace malloc/free/calloc/realloc calls and print heap status (arena) and (memory) contents
C
3
star
32

mini_paste

Fast-to-compile equivalent to `::paste`
Rust
3
star
33

extern-c.rs

Convert a zero-sized closure into an `extern "C" fn(…)` pointer
Rust
3
star
34

opthandler

C Library to handle command-line option arguments without scrambling the argv like getopt_long does...
C
2
star
35

rust-bstringify

stringify! that yields byte string literals instead
Rust
2
star
36

dyn_safe.rs

Take control of the Semver hazard of the `dyn` safety of your traits!
Rust
2
star
37

join-lazy-fmt-rs

Lazy .join() method and lazy formatting for Rust (https://crates.io/crates/join-lazy-fmt)
Rust
2
star
38

unwind_safe.rs

Readable unwind-safe code thanks to a try-finally-looking builder pattern
Rust
2
star
39

easy-pin-rs

Using Pin made easy
Rust
2
star
40

candy-rs

Syntaxic sugar for Rust: macros for lighter error handling code, and more.
Rust
2
star
41

unsized-maybe-uninit.rs

`MaybeUninit<T : ?Sized>` in stable Rust
1
star
42

func_wrap.rs

A procedural macro helper to alleviate writing "decorators" that nest-wrap functions
Rust
1
star
43

rust-require_unsafe_in_body

A procedural macro attribute to make an unsafe fn still require unsafe blocks in its body
Rust
1
star
44

cargo-cuddle

uwu
Rust
1
star
45

with-concat-idents

A fast proc macro to concat idents in stable Rust (items only)
Rust
1
star
46

danielhenrymantilla.github.io

My Github page
HTML
1
star
47

prettyplease-cli

A binary wrapper for the `::prettyplease` lib
Rust
1
star