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

yree

A crate for global constants and helpers for Yree

1 unstable release

new 0.1.0 Nov 27, 2024

#372 in Configuration

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