meridian-sync 0.23.11__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ target/
@@ -0,0 +1,11 @@
1
+ # meridian-sync
2
+
3
+ A Rust binary shipped as its own wheel, released at meridian-cli's version and pinned
4
+ exactly by it. Design: the context-autosync design's "Packaging and release".
5
+
6
+ - Gate (CI runs it): `cargo fmt --check`, `cargo clippy --locked --all-targets -- -D warnings`,
7
+ `cargo test --locked`.
8
+ - The version lives in four files, listed once in `src/meridian/dev/versions.py`; never edit
9
+ one by hand. `uv run python -m meridian.dev.lints` fails when they disagree.
10
+ - `[tool.uv] cache-keys` in `pyproject.toml` must name every file the build reads, or
11
+ `uv sync` ignores an edit to it.
@@ -0,0 +1,7 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "meridian-sync"
7
+ version = "0.23.11"
@@ -0,0 +1,11 @@
1
+ [package]
2
+ name = "meridian-sync"
3
+ version = "0.23.11"
4
+ edition = "2021"
5
+ description = "Keeps Meridian's git contexts in sync with their remotes"
6
+ license = "MIT"
7
+ publish = false
8
+
9
+ [[bin]]
10
+ name = "meridian-sync"
11
+ path = "src/main.rs"
@@ -0,0 +1,10 @@
1
+ Metadata-Version: 2.4
2
+ Name: meridian-sync
3
+ Version: 0.23.11
4
+ Classifier: Development Status :: 3 - Alpha
5
+ Classifier: License :: OSI Approved :: MIT License
6
+ Classifier: Programming Language :: Rust
7
+ Summary: Keeps Meridian's git contexts in sync with their remotes
8
+ License: MIT
9
+ Requires-Python: >=3.12
10
+ Project-URL: Repository, https://github.com/haowjy/meridian-cli
@@ -0,0 +1,30 @@
1
+ [build-system]
2
+ requires = ["maturin>=1.0,<2.0"]
3
+ build-backend = "maturin"
4
+
5
+ [project]
6
+ name = "meridian-sync"
7
+ dynamic = ["version"]
8
+ description = "Keeps Meridian's git contexts in sync with their remotes"
9
+ license = { text = "MIT" }
10
+ requires-python = ">=3.12"
11
+ classifiers = [
12
+ "Development Status :: 3 - Alpha",
13
+ "License :: OSI Approved :: MIT License",
14
+ "Programming Language :: Rust",
15
+ ]
16
+
17
+ [project.urls]
18
+ Repository = "https://github.com/haowjy/meridian-cli"
19
+
20
+ [tool.maturin]
21
+ bindings = "bin"
22
+ strip = true
23
+
24
+ [tool.uv]
25
+ # uv rebuilds a path source only when these change; without them a Rust edit is ignored.
26
+ cache-keys = [
27
+ { file = "Cargo.toml" },
28
+ { file = "Cargo.lock" },
29
+ { file = "src/**/*.rs" },
30
+ ]
@@ -0,0 +1,15 @@
1
+ use std::process::ExitCode;
2
+
3
+ fn main() -> ExitCode {
4
+ let mut args = std::env::args().skip(1);
5
+ match (args.next().as_deref(), args.next()) {
6
+ (Some("version"), None) => {
7
+ println!("{}", env!("CARGO_PKG_VERSION"));
8
+ ExitCode::SUCCESS
9
+ }
10
+ _ => {
11
+ eprintln!("usage: meridian-sync version");
12
+ ExitCode::from(2)
13
+ }
14
+ }
15
+ }