3 unstable releases
| 0.4.0 | Apr 27, 2025 |
|---|---|
| 0.3.1 | Apr 9, 2025 |
| 0.3.0 | Apr 9, 2025 |
#37 in #autonomi
153 downloads per month
50KB
649 lines
Simple SAFE Network API
The goal is to create a high-level Safenet API, that follows best practices and avoids unnecessary complexities. It uses sane defaults, and doesn't need unnecessary additional dependencies – it has "batteries included".
- Rust API Guidelines, except:
- Arguments and return types (including errors – E in Result<T, E> C-GOOD-ERR):
- Primitives and simple structs wherever possible
- Derived traits: Deserialize, Serialize, Debug (C-SERDE, C-COMMON-TRAITS, C-DEBUG)
- No need to depend on external crates. Re-export identifiers when neeeded (
pub use). - (TODO) Don't write to stdout/stderr, just return
Resultor use logging infrastructure.
Documentation
Testing
cargo test
Dependencies
~74–115MB
~2.5M SLoC