Single source of truth: version in Cargo.toml [workspace.package]. Member crates inherit via version.workspace = true. CI stamps all 7 version locations from the git tag before building: - Cargo.toml (workspace) - src-tauri/tauri.conf.json - package.json (desktop frontend) - monsoon-web/package.json (web frontend) - monsoon.spec (RPM) Source tarballs, SRPM, and COPR build all use the tag version. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
26 lines
718 B
TOML
26 lines
718 B
TOML
[package]
|
|
name = "monsoon-server"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[[bin]]
|
|
name = "monsoon-server"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
monsoon-core = { path = "../monsoon-core" }
|
|
axum = { version = "0.8", features = ["ws", "multipart"] }
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync"] }
|
|
tower-http = { version = "0.6", features = ["cors", "fs"] }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
log = { workspace = true }
|
|
env_logger = "0.11"
|
|
anyhow = { workspace = true }
|
|
vortex-bittorrent = { workspace = true }
|
|
lava_torrent = { workspace = true }
|
|
hex = { workspace = true }
|
|
uuid = { workspace = true }
|
|
toml = { workspace = true }
|