We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jfarcand/pierre_mcp_server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
units.rs•723 B
// ABOUTME: Unit conversion constants for distance, time, and other measurements
// ABOUTME: Provides named constants to eliminate magic numbers in calculations
//
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2025 Pierre Fitness Intelligence
/// Meters per kilometer conversion factor
pub const METERS_PER_KM: f64 = 1000.0;
/// Seconds per minute
pub const SECONDS_PER_MINUTE: f64 = 60.0;
/// Minutes per hour
pub const MINUTES_PER_HOUR: f64 = 60.0;
/// Hours per day
pub const HOURS_PER_DAY: f64 = 24.0;
/// Days per week
pub const DAYS_PER_WEEK: f64 = 7.0;
/// Days per year (approximation)
pub const DAYS_PER_YEAR: f64 = 365.0;
/// Milliseconds per second
pub const MS_PER_SECOND: f64 = 1000.0;