dyn_struct
Construct dynamically sized types safely (by nolanderc)
triomphe
Fork of std::sync::Arc with lots of utilities useful for FFI (by Manishearth)
dyn_struct | triomphe | |
---|---|---|
1 | 2 | |
11 | 192 | |
- | - | |
0.0 | 7.1 | |
5 months ago | 12 days ago | |
Rust | Rust | |
MIT License | 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.
dyn_struct
Posts with mentions or reviews of dyn_struct.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-19.
triomphe
Posts with mentions or reviews of triomphe.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-19.
-
dyn_struct: create types whose size is determined at runtime using safe Rust
Take a look at these crates: - triomphe for creating Arc reference to unsized struct - pointer-utils also provides similar functionalities compared to your crate
-
Basedrop: A garbage collector for real-time audio in Rust
You might be interested in the unsize crate which provides a pattern to replace/supplement this on stable Rust. I don't think it's very like that CoerceUnsized is stabilized soon. There are a few other no-std crates that have already integrated this approach 1 2 although none with a release yet. It's also gotten some review from the black-magic channel on Discord if you're worried about soundness.
What are some alternatives?
When comparing dyn_struct and triomphe you can also consider the following projects:
deno - A modern runtime for JavaScript and TypeScript.
pointer-utils - A collection of small utilities for working with pointer types in Rust.
mun - Source code for the Mun language and runtime.