safeapi 0.4.0

Simple Autonomi Network Client
Documentation

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.

Documentation

https://docs.rs/safeapi

Testing

cargo test