From 7f75c394502d32a9a8967dcf3602141098fdd07d Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 22 Feb 2026 15:23:52 +0900 Subject: refactor(http): centralize User-Agent string in mozart-core Add mozart_core::http::user_agent() that returns a consistent "Mozart/ (; )" string. Replace all scattered user-agent definitions across mozart-registry and mozart CLI commands. Co-Authored-By: Claude Opus 4.6 --- crates/mozart-core/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/mozart-core/src/lib.rs') diff --git a/crates/mozart-core/src/lib.rs b/crates/mozart-core/src/lib.rs index b02e5a3..aef7af3 100644 --- a/crates/mozart-core/src/lib.rs +++ b/crates/mozart-core/src/lib.rs @@ -1,5 +1,6 @@ pub mod console; pub mod exit_code; +pub mod http; pub mod package; pub mod platform; pub mod suggest; -- cgit v1.3.1