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

crates.io "trait" keyword

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

generic-json 0.7.0
Generic JSON traits
8 versions - Latest release: over 3 years ago - 1 dependent package - 10.5 thousand downloads total - 1 stars on GitHub - 1 maintainer
dynex 0.1.1
Inherit and derive object-unsafe traits for dynamic Rust.
2 versions - Latest release: about 1 year ago - 3.14 thousand downloads total - 4 stars on GitHub - 1 maintainer
implied-bounds 0.1.0
Make all the bounds of a trait definition be implied through a helper trait and macro attribute.
5 versions - Latest release: 2 months ago - 1.64 thousand downloads total - 4 stars on GitHub - 1 maintainer
async_fn 0.1.0
Collection of helper annotations and macros for concise and yet explicit `async fn` signatures
7 versions - Latest release: 5 months ago - 1.16 million downloads total - 5 stars on GitHub - 1 maintainer
async_fn-proc_macros 0.1.0
Collection of helper annotations and macros for concise and yet explicit `async fn` signatures
7 versions - Latest release: 5 months ago - 1 dependent package - 1 dependent repositories - 1.16 million downloads total - 5 stars on GitHub - 1 maintainer
dynamic-cast 0.2.0
The fifth pillar of OOP: dynamic casting.
9 versions - Latest release: 3 months ago - 2 dependent packages - 9.05 thousand downloads total - 0 stars on GitHub - 1 maintainer
portable_intertrait 0.4.0
Allow for inter-trait casting
2 versions - Latest release: about 2 months ago - 574 downloads total - 42 stars on GitHub - 1 maintainer
intertrait 0.2.2
Allow for inter-trait casting
5 versions - Latest release: about 4 years ago - 7 dependent packages - 4 dependent repositories - 83.5 thousand downloads total - 42 stars on GitHub - 1 maintainer
Top 6.6% on crates.io
extend 1.2.0
Create extensions for types you don't own with extension traits but without the boilerplate.
15 versions - Latest release: over 2 years ago - 34 dependent packages - 622 dependent repositories - 5.91 million downloads total - 131 stars on GitHub - 1 maintainer
Top 2.4% on crates.io
cipher 0.4.4
Traits for describing block ciphers and stream ciphers
29 versions - Latest release: over 2 years ago - 159 dependent packages - 11,504 dependent repositories - 150 million downloads total - 559 stars on GitHub - 1 maintainer
Top 1.9% on crates.io
derive_more 2.0.1
Adds #[derive(x)] macros for more traits
49 versions - Latest release: 7 months ago - 1,800 dependent packages - 24,555 dependent repositories - 175 million downloads total - 1,721 stars on GitHub - 1 maintainer
conflate_derive 0.2.0
Derive macro for the conflate::Merge trait
1 version - Latest release: 12 months ago - 30.6 thousand downloads total - 4 stars on GitHub - 1 maintainer
sidecast 0.1.0
Dynamic cast between trait objects.
1 version - Latest release: 24 days ago - 227 downloads total - 0 stars on GitHub - 1 maintainer
Top 9.8% on crates.io
derive_more-impl 2.0.1 πŸ’°
Internal implementation of `derive_more` crate
10 versions - Latest release: 7 months ago - 1 dependent package - 1 dependent repositories - 42.4 million downloads total - 1,974 stars on GitHub - 1 maintainer
exemplars 0.0.3
Trait for providing examples of a type
4 versions - Latest release: 8 months ago - 2.78 thousand downloads total - 0 stars on GitHub - 1 maintainer
fastclone 0.1.0
Mark a type, whose clone operation is fast.
1 version - Latest release: 2 days ago - 0 downloads total - 0 stars on GitHub - 1 maintainer
Top 8.1% on crates.io
ambassador 0.4.2
Trait implementation delegation via procedural macros
15 versions - Latest release: about 16 hours ago - 16 dependent packages - 14 dependent repositories - 1.1 million downloads total - 272 stars on GitHub - 2 maintainers
ext-trait 2.0.1
[deprecated/renamed] Use `::extension-traits` instead
8 versions - Latest release: about 1 month ago - 3 dependent packages - 17 dependent repositories - 3.51 million downloads total - 13 stars on GitHub - 1 maintainer
extension-traits 2.0.1
Annotation to easily define ad-hoc / one-shot extension traits
6 versions - Latest release: about 1 month ago - 5 dependent packages - 17 dependent repositories - 3.49 million downloads total - 13 stars on GitHub - 1 maintainer
Top 1.6% on crates.io
grep-matcher 0.1.7
A trait for regular expressions, with a focus on line oriented search.
9 versions - Latest release: almost 2 years ago - 16 dependent packages - 524 dependent repositories - 3.84 million downloads total - 43,652 stars on GitHub - 1 maintainer
maybe-impl 0.1.0
Provides support to conditionally implement one or more traits
1 version - Latest release: over 1 year ago - 1 dependent package - 1.64 thousand downloads total - 0 stars on GitHub - 1 maintainer
atomic_prim_traits 0.2.0
Traits over primitive atomic types.
3 versions - Latest release: about 5 years ago - 1 dependent package - 5.31 thousand downloads total - 5 stars on GitHub - 1 maintainer
kinded 0.3.0
Generate enums with same variants, but without data.
6 versions - Latest release: about 2 years ago - 4 dependent packages - 1 dependent repositories - 2.25 million downloads total - 98 stars on GitHub - 1 maintainer
zoet 0.1.14
Adds `#[zoet]` macro to reduce boilerplate when implementing common traits.
15 versions - Latest release: about 1 year ago - 1 dependent package - 19.2 thousand downloads total - 13 stars on GitHub - 1 maintainer
debug-helper 0.3.13
This crate provides declarative macros to help you implement the `Debug` trait manually.
21 versions - Latest release: over 3 years ago - 9 dependent packages - 512 dependent repositories - 7.53 million downloads total - 1 stars on GitHub - 1 maintainer
Top 9.6% on crates.io
nonzero_ext 0.3.0
Extensions and additional traits for non-zero integer types
10 versions - Latest release: about 4 years ago - 28 dependent packages - 973 dependent repositories - 30.4 million downloads total - 16 stars on GitHub - 1 maintainer
SSTT
More Syn Syntax Tree Traversal Trait
1 version - Latest release: 3 days ago - 1.16 thousand downloads total - 0 stars on GitHub - 1 maintainer
dyntable 0.0.0 removed
WIP: FFI safe dyn traits
1 version - Latest release: over 2 years ago - 682 downloads total - 20 stars on GitHub - 1 maintainer
floaty 0.1.0
A trait that abstracts over the common functionality of f32 and f64
1 version - Latest release: over 9 years ago - 1 dependent package - 3 dependent repositories - 8.98 thousand downloads total - 0 stars on GitHub - 1 maintainer
arc-trait 0.1.2
Automagically implement any trait for Arc<T>
3 versions - Latest release: about 1 year ago - 3.6 thousand downloads total - 1 maintainer
unchecked_wrap 0.1.0
Convenient UncheckedSync/Send wrapper types
1 version - Latest release: 6 months ago - 557 downloads total - 1 stars on GitHub - 1 maintainer
injectify 1.0.0
Utility library to use impl Trait in structs.
1 version - Latest release: over 2 years ago - 1.4 thousand downloads total - 1 stars on GitHub - 1 maintainer
object-safe 0.3.1
Implement object-unsafe traits for trait objects
4 versions - Latest release: about 2 years ago - 2 dependent packages - 4.79 thousand downloads total - 0 stars on GitHub - 1 maintainer
extern-trait 0.2.0
Opaque foreign trait implementation
3 versions - Latest release: 2 months ago - 1.84 thousand downloads total - 1 stars on GitHub - 1 maintainer
kinded_macros 0.3.0
Generate enums with same variants, but without data.
6 versions - Latest release: about 2 years ago - 1 dependent package - 1 dependent repositories - 2.22 million downloads total - 98 stars on GitHub - 1 maintainer
fromage 0.1.1 πŸ’°
A cheesy Rust hack for converting between non-local types
3 versions - Latest release: 5 months ago - 1.6 thousand downloads total - 1 stars on GitHub - 1 maintainer
variter 0.3.0
Declarative macro-derivable trait for iterating over field-less enum type variants
6 versions - Latest release: over 4 years ago - 1 dependent package - 2 dependent repositories - 13.4 thousand downloads total - 1 stars on GitHub - 1 maintainer
pipe-trait 0.4.0 πŸ’°
Make it possible to chain regular functions
18 versions - Latest release: over 3 years ago - 14 dependent packages - 26 dependent repositories - 485 thousand downloads total - 50 stars on GitHub - 1 maintainer
autotrait2 0.1.1
generate trait definitions from impl blocks
2 versions - Latest release: 3 months ago - 791 downloads total - 0 stars on GitHub - 1 maintainer
trait_deref 0.2.2
Macro that simulates inheritance in a trait.
5 versions - Latest release: 7 months ago - 2.99 thousand downloads total - 1 stars on GitHub - 1 maintainer
unconst_trait_impl 0.1.5
Function-like macro that "unconsts" trait implementations
6 versions - Latest release: about 3 years ago - 2 dependent packages - 8.46 thousand downloads total - 0 stars on GitHub - 1 maintainer
coalesce 0.1.1
Combine disjoint types that share common traits.
2 versions - Latest release: about 10 years ago - 1 dependent package - 2 dependent repositories - 7.14 thousand downloads total - 6 stars on GitHub - 1 maintainer
box-dyn 0.0.8
Macro to derive the implementation of Trait for Box<T: Trait>
4 versions - Latest release: over 1 year ago - 4.65 thousand downloads total - 1 maintainer
try_reserve 0.2.1
Stable implementation of the TryReserveError from std for custom collections
6 versions - Latest release: 6 months ago - 3.28 thousand downloads total - 0 stars on GitHub - 1 maintainer
forward-traits 3.1.0
A general trait-forwarding crate
8 versions - Latest release: over 1 year ago - 10.6 thousand downloads total - 0 stars on GitHub - 1 maintainer
hc-256 0.5.0
HC-256 Stream Cipher
7 versions - Latest release: over 3 years ago - 9.27 thousand downloads total - 298 stars on GitHub - 1 maintainer
hc-128 0.0.0
HC-128 Stream Cipher
1 version - Latest release: almost 6 years ago - 1.68 thousand downloads total - 298 stars on GitHub - 1 maintainer
rabbit 0.4.1
An implementation of the Rabbit Stream Cipher Algorithm
6 versions - Latest release: over 3 years ago - 14.5 thousand downloads total - 298 stars on GitHub - 2 maintainers
Top 4.2% on crates.io
salsa20 0.10.2
Pure Rust implementation of the Salsa20 stream cipher
23 versions - Latest release: over 3 years ago - 30 dependent packages - 2,843 dependent repositories - 28 million downloads total - 298 stars on GitHub - 1 maintainer
Top 6.3% on crates.io
rc4 0.1.0
Pure Rust implementation of the RC4 stream cipher
2 versions - Latest release: over 3 years ago - 5 dependent packages - 201 dependent repositories - 726 thousand downloads total - 298 stars on GitHub - 1 maintainer
Top 1.9% on crates.io
num 0.4.3
A collection of numeric types and traits for Rust, including bigint, complex, rational, range ite...
58 versions - Latest release: over 1 year ago - 1,963 dependent packages - 13,151 dependent repositories - 86.5 million downloads total - 1,155 stars on GitHub - 1 maintainer
Top 10.0% on crates.io
num-macros 0.1.40
deprecated -- use num-derive
17 versions - Latest release: over 7 years ago - 1 dependent package - 1 dependent repositories - 82.8 thousand downloads total - 1,155 stars on GitHub - 2 maintainers
portal-trait-transformer 0.0.0
Utilities for working with impl traits in Rust
1 version - Latest release: about 1 year ago - 1.12 thousand downloads total - 113 stars on GitHub - 1 maintainer
trait-variant 0.1.2
Utilities for working with impl traits in Rust
5 versions - Latest release: over 1 year ago - 15 dependent packages - 3.94 million downloads total - 113 stars on GitHub - 2 maintainers
bitte 0.0.1
Automatically desugar and set Send/Sync bounds on async traits
1 version - Latest release: 3 months ago - 379 downloads total - 3 stars on GitHub - 1 maintainer
Top 4.6% on crates.io
downcast-rs 2.0.2
Trait object downcasting support using only safe Rust. It supports type parameters, associated ty...
15 versions - Latest release: 6 days ago - 239 dependent packages - 11,264 dependent repositories - 64.5 million downloads total - 185 stars on GitHub - 1 maintainer
tia 1.0.3 πŸ’°
tia; trait, impl, accessors | automatic
4 versions - Latest release: over 3 years ago - 2 dependent packages - 11 thousand downloads total - 5 stars on GitHub - 1 maintainer
multi-eq 0.1.1
Macros for creating custom equality trait derives
2 versions - Latest release: over 5 years ago - 2.85 thousand downloads total - 2 stars on GitHub - 1 maintainer
versal 0.1.0
A trait library for better ergonomics.
1 version - Latest release: 4 months ago - 432 downloads total - 1 maintainer
newer-type 0.2.0 πŸ’°
Support defining newtype wrapper with inheriting trait implementations
4 versions - Latest release: about 2 months ago - 1.8 thousand downloads total - 1 stars on GitHub - 1 maintainer
for_each_repeat 0.1.3
`Iterator::for_each` that can repeat current iteration
4 versions - Latest release: over 3 years ago - 4.73 thousand downloads total - 1 stars on GitHub - 1 maintainer
traitify-core 0.1.0
A macro to turn an impl block into a trait. This is the logic behind the traitify crate.
1 version - Latest release: over 2 years ago - 1 dependent package - 1.66 thousand downloads total - 0 stars on GitHub - 1 maintainer
newer-type-macro 0.2.0 πŸ’°
Support defining newtype wrapper with inheriting trait implementations
4 versions - Latest release: about 2 months ago - 1.82 thousand downloads total - 1 stars on GitHub - 1 maintainer
logchop 0.1.2
Log your `Result` and `Option` chains with inline methods.
3 versions - Latest release: over 4 years ago - 1 dependent package - 1 dependent repositories - 5.39 thousand downloads total - 0 stars on GitHub - 1 maintainer
tuple-arity 0.1.2
Get the arity (number of elements) of tuple types with 0-12 elements
3 versions - Latest release: about 5 years ago - 4.38 thousand downloads total - 0 stars on GitHub - 1 maintainer
autoimpl 0.1.0 πŸ’°
The user-facing part of the autoimpl macro. Automatically implement a generic trait using autoimpl!
1 version - Latest release: over 8 years ago - 1 dependent package - 3.53 thousand downloads total - 0 stars on GitHub - 1 maintainer
zoet-macro 0.1.14
Implementation detail for `#[zoet]` macro
11 versions - Latest release: about 1 year ago - 1 dependent package - 14.5 thousand downloads total - 13 stars on GitHub - 1 maintainer
int_traits 0.1.1
Provides a trait for extended functions on integers
2 versions - Latest release: almost 9 years ago - 7 dependent packages - 46 dependent repositories - 253 thousand downloads total - 1 stars on GitHub - 1 maintainer
traitify 0.1.0
A macro to turn an impl block into a trait
1 version - Latest release: over 2 years ago - 1.35 thousand downloads total - 0 stars on GitHub - 1 maintainer
Top 8.9% on crates.io
trait-set 0.3.0
Support for trait alias feature on stable Rust.
3 versions - Latest release: over 3 years ago - 21 dependent packages - 36 dependent repositories - 2.47 million downloads total - 56 stars on GitHub - 1 maintainer
seekable_reader 0.1.2
Seek implementation for every Read
3 versions - Latest release: almost 4 years ago - 5.15 thousand downloads total - 4 stars on GitHub - 1 maintainer
bytecon 0.5.13
A trait for easily converting to-and-from an array of bytes.
48 versions - Latest release: 3 months ago - 28 thousand downloads total - 0 stars on GitHub - 1 maintainer
trait-cast 0.3.7
Get your own Any with support for casting to trait objects.
7 versions - Latest release: 6 months ago - 4.28 thousand downloads total - 1 stars on GitHub - 2 maintainers
autotrait 0.2.1 πŸ’°
Reduces boilerplate by auto-generating trait definitions from impl blocks for dynamic dispatch.
15 versions - Latest release: 4 months ago - 8.32 thousand downloads total - 25 stars on GitHub - 1 maintainer
trait_guard 0.1.0
A Rust library for disallowing usage of certain trait implementations with custom messages.
1 version - Latest release: 2 months ago - 319 downloads total - 1 stars on GitHub - 1 maintainer
hv-alchemy 0.1.0
Heavy Alchemy - the black arts of transmutation, wrapped for your safe usage and enjoyment
1 version - Latest release: almost 4 years ago - 1 dependent repositories - 1.55 thousand downloads total - 14 stars on GitHub - 1 maintainer
theframework 0.1.33 πŸ’°
A cross platform application UI framework.
23 versions - Latest release: 8 months ago - 31.4 thousand downloads total - 5 stars on GitHub - 1 maintainer
into-sorted 0.0.3
Collection of utility methods and functions that take an owned array and return a sorted owned array
4 versions - Latest release: about 1 month ago - 1.65 thousand downloads total - 2 stars on GitHub - 1 maintainer
typechain 0.1.0
Create chains of trait objects
1 version - Latest release: over 2 years ago - 1.37 thousand downloads total - 1 stars on GitHub - 1 maintainer
dynify 0.1.0
Add dyn compatible variant to you async trait
2 versions - Latest release: 2 months ago - 3.46 thousand downloads total - 49 stars on GitHub - 1 maintainer
dync 0.6.0
An efficient alternative to `dyn Trait` for containerized types
15 versions - Latest release: 5 months ago - 2 dependent packages - 1 dependent repositories - 64.3 thousand downloads total - 6 stars on GitHub - 1 maintainer
dync-derive 0.4.0 πŸ’°
Attribute macros for producing `dync` compatible traits
3 versions - Latest release: over 5 years ago - 1 dependent package - 1 dependent repositories - 50.4 thousand downloads total - 5 stars on GitHub - 1 maintainer
seal-crypto 0.1.5
A crate providing pure cryptographic capability abstractions (traits) and implementations for the...
13 versions - Latest release: about 2 months ago - 3.62 thousand downloads total - 0 stars on GitHub - 1 maintainer
trait_derive 0.1.0 πŸ’°
Simple proc macro used to generate traits from impl blocks.
1 version - Latest release: almost 8 years ago - 1.82 thousand downloads total - 2 stars on GitHub - 1 maintainer
lwleen-macro 1.1.0
macro, ε£°ζ˜Žη‰ΉεΎ, EnumDisplay
5 versions - Latest release: 10 days ago - 735 downloads total - 1 maintainer
dyn_std 0.3.3
Dynamic (object-safe) version of std traits.
9 versions - Latest release: about 1 year ago - 16.4 thousand downloads total - 4 stars on GitHub - 1 maintainer
structinator_traits 0.2.0
Library for traits allowing transfer of data from iterators to structs
7 versions - Latest release: about 1 year ago - 1 dependent package - 8.06 thousand downloads total - 0 stars on GitHub - 1 maintainer
iter-scan 0.4.0 πŸ’°
Iterator scan methods that don't suck
5 versions - Latest release: 8 months ago - 5.48 thousand downloads total - 0 stars on GitHub - 1 maintainer
take_ref 0.2.0
TakeRef, TakeSlice, and TakeString traits enable treating references/slices and values interchang...
2 versions - Latest release: almost 5 years ago - 2.65 thousand downloads total - 0 stars on GitHub - 1 maintainer
repr-trait-derive 1.0.0
Derive macros for working with repr-trait
1 version - Latest release: over 4 years ago - 1 dependent package - 2 dependent repositories - 3.73 thousand downloads total - 3 stars on GitHub - 1 maintainer
extfn 0.1.3
Call any freestanding function as `a.foo(b)` instead of `foo(a, b)` just by adding `#[extfn]` and...
4 versions - Latest release: 12 days ago - 1.36 thousand downloads total - 72 stars on GitHub - 1 maintainer
trait_variable 0.7.0
Make variable fields feasible in trait definition.
11 versions - Latest release: over 1 year ago - 12.8 thousand downloads total - 0 stars on GitHub - 1 maintainer
trait_enum_macro 0.1.0
A macro that allows creating an enum that acts similar to a trait object, but without using the ...
1 version - Latest release: over 6 years ago - 1.64 thousand downloads total - 1 maintainer
detrojt 0.1.1
A hack to support deserialization of arbitrary trait objects
2 versions - Latest release: about 8 years ago - 3.62 thousand downloads total - 6 stars on GitHub - 1 maintainer
marker_trait 2.0.1 πŸ’°
Implement a blanket implementation for a marker trait.
3 versions - Latest release: 11 months ago - 3.44 thousand downloads total - 0 stars on GitHub - 1 maintainer
vptr 0.2.2
Thin references to trait objects by embedding the virtual table pointer in the struct
4 versions - Latest release: about 1 year ago - 5.32 thousand downloads total - 25 stars on GitHub - 1 maintainer
primitive_traits 0.2.0
Traits over primitive types. Particularly stuff not covered by num-*.
2 versions - Latest release: about 5 years ago - 2 dependent packages - 1 dependent repositories - 4.2 thousand downloads total - 2 stars on GitHub - 1 maintainer
trait_info 0.1.0
Procedural macros for obtaining Trait information at compile time (proc-macro export)
1 version - Latest release: about 2 years ago - 1 dependent package - 1 dependent repositories - 1.69 thousand downloads total - 3 stars on GitHub - 1 maintainer
num_convert 0.7.2
Type converting library, conversions integers by overflow addition, supports generics types.
19 versions - Latest release: over 1 year ago - 21.4 thousand downloads total - 0 stars on GitHub - 1 maintainer
user_trait 0.1.1
A library for user authentication abstraction in Rust.
2 versions - Latest release: 8 months ago - 1.9 thousand downloads total - 0 stars on GitHub - 1 maintainer