#helper #constants #url-path #base-url

yree

A crate for global constants and helpers for Yree

1 unstable release

0.1.0 Nov 27, 2024

#346 in Configuration

Download history 106/week @ 2024-11-24 23/week @ 2024-12-01 10/week @ 2024-12-08

139 downloads per month

MIT/Apache

3KB

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"));
}

No runtime deps