aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-semver/src
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-24 01:38:43 +0900
committernsfisis <nsfisis@gmail.com>2026-06-24 01:38:43 +0900
commitda068098e7e1d5ef1d068a834a78545217f72394 (patch)
tree316df6a73337a37f46440b507d4ad3eebf7baa59 /crates/shirabe-semver/src
parenta7c90a277235fa825f9cfa137aa281da3c0e9acd (diff)
downloadphp-shirabe-da068098e7e1d5ef1d068a834a78545217f72394.tar.gz
php-shirabe-da068098e7e1d5ef1d068a834a78545217f72394.tar.zst
php-shirabe-da068098e7e1d5ef1d068a834a78545217f72394.zip
refactor(semver): re-export shirabe-semver at crate root, drop composer::semver stubs
Flatten shirabe-semver's modules into glob re-exports at the crate root and route all consumers through the short paths. Remove the duplicate composer::semver stubs from shirabe-external-packages in favor of the shirabe-semver types. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-semver/src')
-rw-r--r--crates/shirabe-semver/src/lib.rs20
1 files changed, 14 insertions, 6 deletions
diff --git a/crates/shirabe-semver/src/lib.rs b/crates/shirabe-semver/src/lib.rs
index 04c3e96..dff051c 100644
--- a/crates/shirabe-semver/src/lib.rs
+++ b/crates/shirabe-semver/src/lib.rs
@@ -1,7 +1,15 @@
-pub mod comparator;
-pub mod compiling_matcher;
pub mod constraint;
-pub mod interval;
-pub mod intervals;
-pub mod semver;
-pub mod version_parser;
+
+mod comparator;
+mod compiling_matcher;
+mod interval;
+mod intervals;
+mod semver;
+mod version_parser;
+
+pub use comparator::*;
+pub use compiling_matcher::*;
+pub use interval::*;
+pub use intervals::*;
+pub use semver::*;
+pub use version_parser::*;