Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scattered-systems/scsys
A convenience library implementing primitives and utilities for use throughout the scsys ecosystem.
https://github.com/scattered-systems/scsys
crate rust scsys
Last synced: about 2 months ago
JSON representation
A convenience library implementing primitives and utilities for use throughout the scsys ecosystem.
- Host: GitHub
- URL: https://github.com/scattered-systems/scsys
- Owner: Scattered-Systems
- License: apache-2.0
- Created: 2022-10-17T16:56:59.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-20T15:49:44.000Z (3 months ago)
- Last Synced: 2024-10-20T18:13:19.053Z (3 months ago)
- Topics: crate, rust, scsys
- Language: Rust
- Homepage: https://crates.io/crates/scsys
- Size: 704 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# scsys
[![crates.io](https://img.shields.io/crates/v/scsys.svg)](https://crates.io/crates/scsys)
[![docs](https://docs.rs/scsys/badge.svg)](https://docs.rs/scsys)
[![license](https://img.shields.io/crates/l/scsys.svg)](https://crates.io/crates/scsys)[![clippy](https://github.com/Scattered-Systems/scsys/actions/workflows/clippy.yml/badge.svg)](https://github.com/Scattered-Systems/scsys/actions/workflows/clippy.yml)
[![rust](https://github.com/Scattered-Systems/scsys/actions/workflows/rust.yml/badge.svg)](https://github.com/Scattered-Systems/scsys/actions/workflows/rust.yml)***
_**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](https://github.com/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.
```bash
rustup update
```### _Clone the repository_
```bash
git clone https://github.com/scattered-systems/scsys.git
```then, navigate to the project directory
```bash
cd scsys
```### _Building Locally_
```bash
cargo build --all-features -v --workspace
```### _Testing_
Automatically format and analyze the codebase before building then testing.
```bash
cargo test --all-features -r -v --workspace
```### Usage
#### _Add the dependency to your project_
```toml
[dependencies.scsys]
features = ["full"]
version = "0.2.*"
```#### Examples
##### _Example: Using the `Message` type_
```rust
use scsys::prelude::*;fn main() {
println!("{:?}", Message::::default());
}
```## License
Licensed under the Apache License, Version 2.0, ([LICENSE-APACHE](http://www.apache.org/licenses/LICENSE-2.0))
## Contribution
Contributions are welcome, however, ensure that you have read the [CONTRIBUTING.md](CONTRIBUTING.md) file before submitting a pull request.