rsfi-core 0.1.0

Core modules for the rsfi framework
Documentation

rsfi

crates.io docs.rs GitHub License


rsfi is a library dedicated to providing robust abstractions for creating and working with containers (or spaces) within Rust. It aims to offer a flexible solution for managing collections of items, with a focus on safety, efficiency, and ease of use.

Features

  • RawSpace - The core abstraction for defining spaces.
  • Container<T> - A higher-kinded trait establishing a common interface for all container types.

Getting Started

To get started using rsfi, you can run the following command to add it to your project:

cargo add rsfi

or, you can manually add it to your Cargo.toml:

[dependencies.rsfi]
features = []
version = "0.0.1"

Basic Usage

    extern crate rsfi;

    fn main() -> Result<(), Box<dyn std::error::Error>> {
        tracing_subscriber::fmt()
            .with_max_level(tracing::Level::INFO)
            .init();
        tracing::info! { "Welcome to {name}", name = "rsfi" }

        Ok(())
    }

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.