rs_histver/domain/release.rs
1use serde::{Deserialize, Serialize};
2
3/// Rust release information.
4///
5/// Core data model shared by database, fetcher, and app modules.
6/// No dependency on any other business module to avoid circular dependencies.
7#[derive(Debug, Clone, Serialize, Deserialize)]
8pub struct RustRelease {
9 /// Release version string (e.g. "1.75.0", "1.76.0-nightly")
10 pub version: String,
11 /// Release date in YYYY-MM-DD format
12 pub date: String,
13 /// Release channel: "stable", "beta", or "nightly"
14 pub channel: String,
15}