yree

Crates.ioyree
lib.rsyree
version0.1.0
sourcesrc
created_at2024-11-27 15:59:18.401604
updated_at2024-11-27 15:59:18.401604
descriptionA crate for global constants and helpers for Yree.
homepage
repositoryhttps://github.com/yree/yree
max_upload_size
id1463252
size2,050
Shantanu Mishra (8hantanu)

documentation

README

yree

yree is a Rust crate for managing global constants and helper functions for Yree. It provides predefined URLs, paths, and utilities to ensure consistency across Yree projects.

Features

  • Centralized constants for URLs and paths
  • Helper functions for generating URLs dynamically

Example

use yree::{BASE_URL, get_static_file_url};

fn main() {
    println!("Base URL: {}", BASE_URL);
    println!("Static File URL: {}", get_static_file_url("image.png"));
}

Commit count: 0

cargo fmt