Virtus
By solnic
typed_struct
Ruby structs but with type-checked attributes ⚡️🔐 (by johansenja)
Virtus | typed_struct | |
---|---|---|
1 | 1 | |
3,809 | 15 | |
- | - | |
0.0 | 0.0 | |
about 5 years ago | over 1 year ago | |
Ruby | Ruby | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Virtus
Posts with mentions or reviews of Virtus.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-06-29.
-
Ruby Structs with type specifications for the properties
One well-known example is https://github.com/solnic/virtus . There are others.
typed_struct
Posts with mentions or reviews of typed_struct.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-06-29.
What are some alternatives?
When comparing Virtus and typed_struct you can also consider the following projects:
ActiveAttr - What ActiveModel left out
dry-struct - Typed struct and value objects
FastAttributes - FastAttributes adds attributes with their types to the class
rbs - Type Signature for Ruby
Ruby Facets - Ruby Facets
bindata - BinData - Reading and Writing Binary Data in Ruby
ActiveSupport
gem_rbs_collection - A collection of RBS for gems.
Ruru - Native Ruby extensions written in Rust
hash_to_struct - It enables recursive conversion of a ruby Hash to a Struct-like object and back.
Hanami::Utils - Ruby core extentions and class utilities for Hanami
Lean::Attributes - define typed attributes on arbitrary Ruby classes