Crates.io | ray-rust |
lib.rs | ray-rust |
version | 0.1.5 |
source | src |
created_at | 2024-02-21 00:59:49.299795 |
updated_at | 2024-03-03 08:53:43.074253 |
description | Spatie Ray in Rust |
homepage | https://github.com/ALameLlama/ray-rust |
repository | https://github.com/ALameLlama/ray-rust |
max_upload_size | |
id | 1147410 |
size | 30,668 |
This is currently WIP and still missing features but has basic ray debugging.
use ray_rust::*
fn main() {
ray!("Hello World");
ray!("Hello World!").color("green");
ray!().html("<strong>Hello World! 🦀</strong>");
}
Add this to your Cargo.toml
:
[dependencies]
ray-rust = "0.1.5"
ray-rust = { version = "0.1.5", features = ["with_tokio"] }