serde-typeinfo
"Serialize" type info to a runtime tag based on serde data model. (by termoshtt)
ctti
Rust compile-time type information experiment (by h33p)
serde-typeinfo | ctti | |
---|---|---|
1 | 2 | |
14 | 18 | |
- | - | |
5.5 | 10.0 | |
about 1 year ago | over 1 year ago | |
Rust | Rust | |
Apache License 2.0 | - |
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.
serde-typeinfo
Posts with mentions or reviews of serde-typeinfo.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-15.
ctti
Posts with mentions or reviews of ctti.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-15.
-
"Serialize" type info to a runtime tag based on serde data model.
This is inspired from ctti crate https://github.com/h33p/ctti from https://blaz.is/blog/post/we-dont-need-a-stable-abi/ I think this type tag may work as an alternative to stable typeid.
-
Announcing `stabby`: a stable ABI for Rust with niche optimizations and much more!
Awesome work! I looked through your code and it seems like you are building your own form of type information. One of my proposals was to put type information generation inside the compiler. Here's a crate showing how it could look: https://github.com/h33p/ctti
What are some alternatives?
When comparing serde-typeinfo and ctti you can also consider the following projects:
serde - Serialization framework for Rust
abi_stable_crates - Rust-to-Rust ffi,ffi-safe equivalents of std types,and creating libraries loaded at startup.
json - Strongly typed JSON library for Rust
dyntable - Idiomatic and FFI Safe dyn traits in Rust
calamine - A pure Rust Excel/OpenDocument SpreadSheets file reader: rust on metal sheets
rust - Empowering everyone to build reliable and efficient software.