1 unstable release

new 0.3.0 Apr 9, 2025

#12 in #autonomi

GPL-3.0 license

50KB
622 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 Result or use logging infrastructure.

Testing

cargo test

Dependencies

~76–115MB
~2M SLoC