#toolkit #scsys #primitive #utilities

no-std scsys-core

scsys is a collection of primitives and utilities for use throughout the ecosystem

35 releases

0.2.3 Sep 22, 2024
0.2.2 May 11, 2024
0.2.1 Apr 28, 2024
0.2.0 Mar 16, 2024
0.1.35 Nov 29, 2022

#2735 in Rust patterns

Download history 48/week @ 2024-07-22 50/week @ 2024-07-29 79/week @ 2024-08-05 53/week @ 2024-08-12 53/week @ 2024-08-19 109/week @ 2024-08-26 48/week @ 2024-09-02 38/week @ 2024-09-09 162/week @ 2024-09-16 177/week @ 2024-09-23 82/week @ 2024-09-30 48/week @ 2024-10-07 110/week @ 2024-10-14 54/week @ 2024-10-21 44/week @ 2024-10-28 49/week @ 2024-11-04

279 downloads per month
Used in 13 crates (2 directly)

Apache-2.0

57KB
1.5K SLoC

scsys

crates.io docs license

clippy rust


Warning: the library is currently in development so be prepared for major modifications to the API!

Welcome to scsys, a collection of useful utilities, types, and other primitives that are used in various projects developed by Scattered Systems. The library is designed to be a general-purpose utility library that can be used in any Rust project, aiming to provide a standardized set of tools that can be used to build robust and reliable software.

Getting Started

Building from the source

Make sure you have the latest version of the Rust toolchain installed on your system.

rustup update

Clone the repository

git clone https://github.com/scattered-systems/scsys.git

then, navigate to the project directory

cd scsys

Building Locally

cargo build --all-features -v --workspace

Testing

Automatically format and analyze the codebase before building then testing.

cargo test --all-features -r -v --workspace

Usage

Add the dependency to your project

[dependencies.scsys]
features = ["full"]
version = "0.2.*"

Examples

Example: Using the Message type
use scsys::prelude::*;

fn main() {
  println!("{:?}", Message::<String>::default());
}

License

Licensed under the Apache License, Version 2.0, (LICENSE-APACHE)

Contribution

Contributions are welcome, however, ensure that you have read the CONTRIBUTING.md file before submitting a pull request.

Dependencies

~0.7–2MB
~40K SLoC