Show the crate…

1 unstable release

0.1.0 Mar 1, 2021

#33 in #vapory


Used in 37 crates (36 directly)

GPL-3.0 license

450KB
8K SLoC

common-types

Common types for tetsy


lib.rs:

Types used in the public API

This crate stores Tetsy Vapory specific types that are COMMONLY used across different separate modules of the codebase. It should only focus on data structures, not any logic that relates to them.

The interaction between modules should be possible by implementing a required trait that potentially uses some of the data structures from that crate.

NOTE If you can specify your data type in the same crate as your trait, please do that. Don't treat this crate as a bag for any types that we use in Tetsy Vapory. This one is reserved for types that are shared heavily (like transactions), historically this contains types extracted from vapcore crate, if possible we should try to dissolve that crate in favour of more fine-grained crates, by moving the types closer to where they are actually required.

Dependencies

~17MB
~287K SLoC