c314-utils

Crates.ioc314-utils
lib.rsc314-utils
version0.2.0
sourcesrc
created_at2022-08-31 10:43:27.704039
updated_at2022-09-02 14:04:55.337655
descriptionSmall Rust utilities
homepage
repositoryhttps://github.com/314ShadePi/c314-utils.git
max_upload_size
id655608
size5,688
Shay Eclipse K. Stage (ShayKStage)

documentation

https://docs.rs/c314-utils

README

c314-utils

Small Rust utilities

Usage

Add the following to the dependencies section of your Cargo.toml file.

c314-utils = "0.2.0"

Now you can use it like this:

use c314-utils::prelude::ToStaticStr;

fn main() {
    let converted_from_string_to_str = String::from("Hello World1").to_static_str();
    println!("{}", converted_from_string_to_str);
}

Currently only contains ToStaticStr, if you have any ideas, please create an issue at github.com/314ShadePi/c314-utils

I created this library to make Yew do as I wanted

Commit count: 24

cargo fmt