2 unstable releases

Uses new Rust 2021

0.2.0 Sep 2, 2022
0.1.4 Sep 1, 2022
0.1.2 Aug 31, 2022

#25 in #util

38 downloads per month

MIT license

4KB

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


lib.rs:

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

No runtime deps