From 84bd6baf25d4bc5ad64598d1207bb1ac927432b9 Mon Sep 17 00:00:00 2001 From: Cody Date: Mon, 13 Apr 2026 01:28:00 -0400 Subject: [PATCH] chore: release 0.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps all Rust crates and the Python package from 0.2.1 to 0.3.0. This minor bump reflects one breaking change in the dkdc-draw-core public API surface (pub -> pub(crate) demotions in #42), accumulated with the non-breaking work from this cycle: - #35: arrow snap-to-shape connection points - #36: CONTRIBUTING.md + README badges - #37: integration tests for draw-core public API - #38: Rust + Python hello-world examples - #39: CHANGELOG.md scaffolding - #40: surgical clippy opt-ins workspace-wide - #41: sample gallery (5 drawings × json/svg/png) - #42: pub -> pub(crate) demotions (BREAKING) - #43: Python test coverage 5 -> 27 See CHANGELOG.md for the 0.3.0 section and migration notes for the demoted symbols. Co-Authored-By: Claude Opus 4.6 (1M context) --- CHANGELOG.md | 25 ++++++++++++- Cargo.lock | 66 +++++++++++++++++------------------ crates/draw-app/Cargo.toml | 6 ++-- crates/draw-cli/Cargo.toml | 8 ++--- crates/draw-core/Cargo.toml | 2 +- crates/draw-py/Cargo.lock | 66 +++++++++++++++++------------------ crates/draw-py/Cargo.toml | 6 ++-- crates/draw-wasm/Cargo.toml | 4 +-- crates/draw-webapp/Cargo.toml | 4 +-- pyproject.toml | 2 +- uv.lock | 20 +++++------ 11 files changed, 116 insertions(+), 93 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2aac31..9d9d026 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,15 +6,37 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), ## [Unreleased] +## [0.3.0] - 2026-04-13 + +**Breaking**: the `dkdc-draw-core` public API surface is tightened. Unused `pub` items in the `geometry` module and `Bounds::from_points` are now `pub(crate)`. See migration notes at the end of this entry. + ### Added +- Sample gallery: 5 canonical drawings exercising every element type and fill pattern, committed as `.draw.json` + `.svg` + `.png` under `examples/gallery/` ([#41](https://github.com/dkdc-io/draw/pull/41)) +- Python test coverage grown from 5 to 27 tests across `tests/test_core.py` and `tests/test_gallery_roundtrip.py` ([#43](https://github.com/dkdc-io/draw/pull/43)) - Runnable hello-world examples in Rust and Python ([#38](https://github.com/dkdc-io/draw/pull/38)) - Integration tests for draw-core public API and arrow Binding round-trip ([#37](https://github.com/dkdc-io/draw/pull/37)) - CONTRIBUTING.md and README badges (Release, PyPI, crates.io, CI, License) ([#36](https://github.com/dkdc-io/draw/pull/36)) - Arrow snap-to-shape connection points (start_binding / end_binding) ([#35](https://github.com/dkdc-io/draw/pull/35)) +- CHANGELOG.md following Keep a Changelog ([#39](https://github.com/dkdc-io/draw/pull/39)) ### Changed +- **Breaking**: demoted unused items in `dkdc-draw-core` from `pub` to `pub(crate)` ([#42](https://github.com/dkdc-io/draw/pull/42)): + - `geometry::ARROWHEAD_LENGTH`, `ARROWHEAD_ANGLE`, `HACHURE_LINE_WIDTH` + - `geometry::normalize_bounds`, `compute_arrowhead`, `generate_hachure_lines` + - `geometry::ArrowheadPoints`, `HachureLine` (structs + fields) + - `point::Bounds::from_points` +- Adopted surgical clippy pedantic opt-ins workspace-wide; no behavior change ([#40](https://github.com/dkdc-io/draw/pull/40)) - Codebase simplification pass + UX improvements ([#34](https://github.com/dkdc-io/draw/pull/34)) +### Migration notes for 0.2.1 → 0.3.0 + +`Point::distance_to` and `Bounds::intersects` remain `pub` and are the recommended geometry primitives for external callers. If you were reaching into the demoted helpers directly, the intended replacements are: + +- `geometry::normalize_bounds` → inline: `let (x, y, w, h) = (min(x1, x2), min(y1, y2), (x1 - x2).abs(), (y1 - y2).abs())` +- `geometry::compute_arrowhead` / `ArrowheadPoints` → no public alternative yet; open an issue if you need this — happy to carve out a stable shape for it. +- `geometry::generate_hachure_lines` / `HachureLine` → no public alternative yet; same as above. +- `Bounds::from_points` → construct via `Bounds::new(x, y, w, h)` from your own min/max reduction. + ## [0.2.1] - 2026-04-07 ### Added @@ -75,7 +97,8 @@ Initial release. Core drawing tool with CLI, webapp, and desktop app. - Skipped maturin build in CI ([#12](https://github.com/dkdc-io/draw/pull/12)) - Missing `chrono` dependency on WASM crate ([#9](https://github.com/dkdc-io/draw/pull/9)) -[Unreleased]: https://github.com/dkdc-io/draw/compare/v0.2.1...HEAD +[Unreleased]: https://github.com/dkdc-io/draw/compare/v0.3.0...HEAD +[0.3.0]: https://github.com/dkdc-io/draw/compare/v0.2.1...v0.3.0 [0.2.1]: https://github.com/dkdc-io/draw/compare/v0.2.0...v0.2.1 [0.2.0]: https://github.com/dkdc-io/draw/compare/v0.1.1...v0.2.0 [0.1.1]: https://github.com/dkdc-io/draw/compare/v0.1.0...v0.1.1 diff --git a/Cargo.lock b/Cargo.lock index b878fa1..219dc37 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -274,9 +274,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.2.59" +version = "1.2.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7a4d3ec6524d28a329fc53654bbadc9bdd7b0431f5d65f1a56ffb28a1ee5283" +checksum = "43c5703da9466b66a946814e1adf53ea2c90f10063b86290cc9eb67ce3478a20" dependencies = [ "find-msvc-tools", "shlex", @@ -608,7 +608,7 @@ dependencies = [ [[package]] name = "dkdc-draw" -version = "0.2.1" +version = "0.3.0" dependencies = [ "anyhow", "clap", @@ -619,7 +619,7 @@ dependencies = [ [[package]] name = "dkdc-draw-app" -version = "0.2.1" +version = "0.3.0" dependencies = [ "anyhow", "axum", @@ -635,7 +635,7 @@ dependencies = [ [[package]] name = "dkdc-draw-core" -version = "0.2.1" +version = "0.3.0" dependencies = [ "anyhow", "chrono", @@ -650,7 +650,7 @@ dependencies = [ [[package]] name = "dkdc-draw-wasm" -version = "0.2.1" +version = "0.3.0" dependencies = [ "chrono", "dkdc-draw-core", @@ -662,7 +662,7 @@ dependencies = [ [[package]] name = "dkdc-draw-webapp" -version = "0.2.1" +version = "0.3.0" dependencies = [ "anyhow", "axum", @@ -1078,9 +1078,9 @@ dependencies = [ [[package]] name = "gif" -version = "0.14.1" +version = "0.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5df2ba84018d80c213569363bdcd0c64e6933c67fe4c1d60ecf822971a3c35e" +checksum = "ee8cfcc411d9adbbaba82fb72661cc1bcca13e8bba98b364e62b2dba8f960159" dependencies = [ "color_quant", "weezl", @@ -1239,9 +1239,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.16.1" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" +checksum = "4f467dd6dccf739c208452f8014c75c18bb8301b050ad1cfb27153803edb0f51" [[package]] name = "heck" @@ -1496,12 +1496,12 @@ checksum = "09e54e57b4c48b40f7aec75635392b12b3421fa26fe8b4332e63138ed278459c" [[package]] name = "indexmap" -version = "2.13.1" +version = "2.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45a8a2b9cb3e0b0c1803dbb0758ffac5de2f425b23c28f518faabd9d805342ff" +checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" dependencies = [ "equivalent", - "hashbrown 0.16.1", + "hashbrown 0.17.0", "serde", "serde_core", ] @@ -1606,9 +1606,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.94" +version = "0.3.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e04e2ef80ce82e13552136fabeef8a5ed1f985a96805761cbb9a2c34e7664d9" +checksum = "2964e92d1d9dc3364cae4d718d93f227e3abb088e747d92e0395bfdedf1c12ca" dependencies = [ "once_cell", "wasm-bindgen", @@ -1654,9 +1654,9 @@ checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" [[package]] name = "libredox" -version = "0.1.15" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ddbf48fd451246b1f8c2610bd3b4ac0cc6e149d89832867093ab69a17194f08" +checksum = "e02f3bb43d335493c96bf3fd3a321600bf6bd07ed34bc64118e9293bdffea46c" dependencies = [ "libc", ] @@ -2172,9 +2172,9 @@ checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" [[package]] name = "pkg-config" -version = "0.3.32" +version = "0.3.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" +checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e" [[package]] name = "png" @@ -2246,7 +2246,7 @@ version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" dependencies = [ - "toml_edit 0.25.10+spec-1.1.0", + "toml_edit 0.25.11+spec-1.1.0", ] [[package]] @@ -2967,9 +2967,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.51.0" +version = "1.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bd1c4c0fc4a7ab90fc15ef6daaa3ec3b893f004f915f2392557ed23237820cd" +checksum = "f66bf9585cda4b724d3e78ab34b73fb2bbaba9011b9bfdf69dc836382ea13b8c" dependencies = [ "libc", "mio", @@ -3047,9 +3047,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.25.10+spec-1.1.0" +version = "0.25.11+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a82418ca169e235e6c399a84e395ab6debeb3bc90edc959bf0f48647c6a32d1b" +checksum = "0b59c4d22ed448339746c59b905d24568fcbb3ab65a500494f7b8c3e97739f2b" dependencies = [ "indexmap", "toml_datetime 1.1.1+spec-1.1.0", @@ -3300,9 +3300,9 @@ dependencies = [ [[package]] name = "wasm-bindgen" -version = "0.2.117" +version = "0.2.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0551fc1bb415591e3372d0bc4780db7e587d84e2a7e79da121051c5c4b89d0b0" +checksum = "0bf938a0bacb0469e83c1e148908bd7d5a6010354cf4fb73279b7447422e3a89" dependencies = [ "cfg-if", "once_cell", @@ -3313,9 +3313,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.117" +version = "0.2.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fbdf9a35adf44786aecd5ff89b4563a90325f9da0923236f6104e603c7e86be" +checksum = "eeff24f84126c0ec2db7a449f0c2ec963c6a49efe0698c4242929da037ca28ed" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -3323,9 +3323,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.117" +version = "0.2.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dca9693ef2bab6d4e6707234500350d8dad079eb508dca05530c85dc3a529ff2" +checksum = "9d08065faf983b2b80a79fd87d8254c409281cf7de75fc4b773019824196c904" dependencies = [ "bumpalo", "proc-macro2", @@ -3336,9 +3336,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.117" +version = "0.2.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39129a682a6d2d841b6c429d0c51e5cb0ed1a03829d8b3d1e69a011e62cb3d3b" +checksum = "5fd04d9e306f1907bd13c6361b5c6bfc7b3b3c095ed3f8a9246390f8dbdee129" dependencies = [ "unicode-ident", ] diff --git a/crates/draw-app/Cargo.toml b/crates/draw-app/Cargo.toml index 9d6077b..06d9f0e 100644 --- a/crates/draw-app/Cargo.toml +++ b/crates/draw-app/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dkdc-draw-app" -version = "0.2.1" +version = "0.3.0" edition = "2024" authors = ["Cody "] description = "Desktop app for draw" @@ -17,8 +17,8 @@ path = "src/lib.rs" [dependencies] anyhow = "1" axum = "0.8" -dkdc-draw-core = { version = "0.2.1", path = "../draw-core" } -dkdc-draw-webapp = { version = "0.2.1", path = "../draw-webapp" } +dkdc-draw-core = { version = "0.3.0", path = "../draw-core" } +dkdc-draw-webapp = { version = "0.3.0", path = "../draw-webapp" } tao = "0.35" [target.'cfg(target_os = "macos")'.dependencies] diff --git a/crates/draw-cli/Cargo.toml b/crates/draw-cli/Cargo.toml index 98180ed..2505ca3 100644 --- a/crates/draw-cli/Cargo.toml +++ b/crates/draw-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dkdc-draw" -version = "0.2.1" +version = "0.3.0" edition = "2024" authors = ["Cody "] description = "Local-first drawing tool" @@ -26,9 +26,9 @@ webapp = ["dep:dkdc-draw-webapp"] [dependencies] anyhow = "1" -dkdc-draw-core = { version = "0.2.1", path = "../draw-core" } -dkdc-draw-app = { version = "0.2.1", path = "../draw-app", optional = true } -dkdc-draw-webapp = { version = "0.2.1", path = "../draw-webapp", optional = true } +dkdc-draw-core = { version = "0.3.0", path = "../draw-core" } +dkdc-draw-app = { version = "0.3.0", path = "../draw-app", optional = true } +dkdc-draw-webapp = { version = "0.3.0", path = "../draw-webapp", optional = true } clap = { version = "4.5", features = ["derive"] } [lints] diff --git a/crates/draw-core/Cargo.toml b/crates/draw-core/Cargo.toml index 3be7b2e..4b941e9 100644 --- a/crates/draw-core/Cargo.toml +++ b/crates/draw-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dkdc-draw-core" -version = "0.2.1" +version = "0.3.0" edition = "2024" authors = ["Cody "] description = "Core library for draw" diff --git a/crates/draw-py/Cargo.lock b/crates/draw-py/Cargo.lock index eaea609..56e0f60 100644 --- a/crates/draw-py/Cargo.lock +++ b/crates/draw-py/Cargo.lock @@ -274,9 +274,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.2.59" +version = "1.2.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7a4d3ec6524d28a329fc53654bbadc9bdd7b0431f5d65f1a56ffb28a1ee5283" +checksum = "43c5703da9466b66a946814e1adf53ea2c90f10063b86290cc9eb67ce3478a20" dependencies = [ "find-msvc-tools", "shlex", @@ -608,7 +608,7 @@ dependencies = [ [[package]] name = "dkdc-draw" -version = "0.2.1" +version = "0.3.0" dependencies = [ "anyhow", "clap", @@ -619,7 +619,7 @@ dependencies = [ [[package]] name = "dkdc-draw-app" -version = "0.2.1" +version = "0.3.0" dependencies = [ "anyhow", "axum", @@ -635,7 +635,7 @@ dependencies = [ [[package]] name = "dkdc-draw-core" -version = "0.2.1" +version = "0.3.0" dependencies = [ "anyhow", "chrono", @@ -649,7 +649,7 @@ dependencies = [ [[package]] name = "dkdc-draw-webapp" -version = "0.2.1" +version = "0.3.0" dependencies = [ "anyhow", "axum", @@ -706,7 +706,7 @@ checksum = "d8b14ccef22fc6f5a8f4d7d768562a182c04ce9a3b3157b91390b52ddfdf1a76" [[package]] name = "draw-py" -version = "0.2.1" +version = "0.3.0" dependencies = [ "anyhow", "dkdc-draw", @@ -1076,9 +1076,9 @@ dependencies = [ [[package]] name = "gif" -version = "0.14.1" +version = "0.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5df2ba84018d80c213569363bdcd0c64e6933c67fe4c1d60ecf822971a3c35e" +checksum = "ee8cfcc411d9adbbaba82fb72661cc1bcca13e8bba98b364e62b2dba8f960159" dependencies = [ "color_quant", "weezl", @@ -1237,9 +1237,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.16.1" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" +checksum = "4f467dd6dccf739c208452f8014c75c18bb8301b050ad1cfb27153803edb0f51" [[package]] name = "heck" @@ -1494,12 +1494,12 @@ checksum = "09e54e57b4c48b40f7aec75635392b12b3421fa26fe8b4332e63138ed278459c" [[package]] name = "indexmap" -version = "2.13.1" +version = "2.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45a8a2b9cb3e0b0c1803dbb0758ffac5de2f425b23c28f518faabd9d805342ff" +checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" dependencies = [ "equivalent", - "hashbrown 0.16.1", + "hashbrown 0.17.0", "serde", "serde_core", ] @@ -1604,9 +1604,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.94" +version = "0.3.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e04e2ef80ce82e13552136fabeef8a5ed1f985a96805761cbb9a2c34e7664d9" +checksum = "2964e92d1d9dc3364cae4d718d93f227e3abb088e747d92e0395bfdedf1c12ca" dependencies = [ "once_cell", "wasm-bindgen", @@ -1652,9 +1652,9 @@ checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" [[package]] name = "libredox" -version = "0.1.15" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ddbf48fd451246b1f8c2610bd3b4ac0cc6e149d89832867093ab69a17194f08" +checksum = "e02f3bb43d335493c96bf3fd3a321600bf6bd07ed34bc64118e9293bdffea46c" dependencies = [ "libc", ] @@ -2164,9 +2164,9 @@ checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" [[package]] name = "pkg-config" -version = "0.3.32" +version = "0.3.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" +checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e" [[package]] name = "png" @@ -2244,7 +2244,7 @@ version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" dependencies = [ - "toml_edit 0.25.10+spec-1.1.0", + "toml_edit 0.25.11+spec-1.1.0", ] [[package]] @@ -3003,9 +3003,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.51.0" +version = "1.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bd1c4c0fc4a7ab90fc15ef6daaa3ec3b893f004f915f2392557ed23237820cd" +checksum = "f66bf9585cda4b724d3e78ab34b73fb2bbaba9011b9bfdf69dc836382ea13b8c" dependencies = [ "libc", "mio", @@ -3083,9 +3083,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.25.10+spec-1.1.0" +version = "0.25.11+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a82418ca169e235e6c399a84e395ab6debeb3bc90edc959bf0f48647c6a32d1b" +checksum = "0b59c4d22ed448339746c59b905d24568fcbb3ab65a500494f7b8c3e97739f2b" dependencies = [ "indexmap", "toml_datetime 1.1.1+spec-1.1.0", @@ -3336,9 +3336,9 @@ dependencies = [ [[package]] name = "wasm-bindgen" -version = "0.2.117" +version = "0.2.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0551fc1bb415591e3372d0bc4780db7e587d84e2a7e79da121051c5c4b89d0b0" +checksum = "0bf938a0bacb0469e83c1e148908bd7d5a6010354cf4fb73279b7447422e3a89" dependencies = [ "cfg-if", "once_cell", @@ -3349,9 +3349,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.117" +version = "0.2.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fbdf9a35adf44786aecd5ff89b4563a90325f9da0923236f6104e603c7e86be" +checksum = "eeff24f84126c0ec2db7a449f0c2ec963c6a49efe0698c4242929da037ca28ed" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -3359,9 +3359,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.117" +version = "0.2.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dca9693ef2bab6d4e6707234500350d8dad079eb508dca05530c85dc3a529ff2" +checksum = "9d08065faf983b2b80a79fd87d8254c409281cf7de75fc4b773019824196c904" dependencies = [ "bumpalo", "proc-macro2", @@ -3372,9 +3372,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.117" +version = "0.2.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39129a682a6d2d841b6c429d0c51e5cb0ed1a03829d8b3d1e69a011e62cb3d3b" +checksum = "5fd04d9e306f1907bd13c6361b5c6bfc7b3b3c095ed3f8a9246390f8dbdee129" dependencies = [ "unicode-ident", ] diff --git a/crates/draw-py/Cargo.toml b/crates/draw-py/Cargo.toml index 1318414..736cf81 100644 --- a/crates/draw-py/Cargo.toml +++ b/crates/draw-py/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "draw-py" -version = "0.2.1" +version = "0.3.0" edition = "2024" authors = ["Cody "] description = "PyO3 bindings for draw" @@ -16,8 +16,8 @@ crate-type = ["cdylib"] [dependencies] anyhow = "1" -dkdc-draw = { version = "0.2.1", path = "../draw-cli", features = ["webapp", "app"] } -dkdc-draw-core = { version = "0.2.1", path = "../draw-core" } +dkdc-draw = { version = "0.3.0", path = "../draw-cli", features = ["webapp", "app"] } +dkdc-draw-core = { version = "0.3.0", path = "../draw-core" } pyo3 = { version = "0.28", features = ["extension-module", "abi3-py311"] } serde_json = "1" diff --git a/crates/draw-wasm/Cargo.toml b/crates/draw-wasm/Cargo.toml index cfb488a..9778b5f 100644 --- a/crates/draw-wasm/Cargo.toml +++ b/crates/draw-wasm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dkdc-draw-wasm" -version = "0.2.1" +version = "0.3.0" edition = "2024" authors = ["Cody "] description = "WASM bindings for draw renderer" @@ -16,7 +16,7 @@ path = "src/lib.rs" crate-type = ["cdylib", "rlib"] [dependencies] -draw_core = { version = "0.2.1", path = "../draw-core", package = "dkdc-draw-core" } +draw_core = { version = "0.3.0", path = "../draw-core", package = "dkdc-draw-core" } serde = { version = "1", features = ["derive"] } serde_json = "1" chrono = "0.4" diff --git a/crates/draw-webapp/Cargo.toml b/crates/draw-webapp/Cargo.toml index a930dad..90b5e97 100644 --- a/crates/draw-webapp/Cargo.toml +++ b/crates/draw-webapp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dkdc-draw-webapp" -version = "0.2.1" +version = "0.3.0" edition = "2024" authors = ["Cody "] description = "Webapp for draw (axum)" @@ -17,7 +17,7 @@ path = "src/lib.rs" [dependencies] anyhow = "1" -dkdc-draw-core = { version = "0.2.1", path = "../draw-core" } +dkdc-draw-core = { version = "0.3.0", path = "../draw-core" } axum = "0.8" open = "5" serde = { version = "1", features = ["derive"] } diff --git a/pyproject.toml b/pyproject.toml index 6fad565..4e5254c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "dkdc-draw" -version = "0.2.1" +version = "0.3.0" description = "Local-first drawing tool" authors = [{ name = "Cody", email = "cody@dkdc.io" }] requires-python = ">=3.11" diff --git a/uv.lock b/uv.lock index e8f386e..a36a180 100644 --- a/uv.lock +++ b/uv.lock @@ -5,7 +5,7 @@ requires-python = ">=3.11" [[package]] name = "colorama" version = "0.4.6" -source = { registry = "https://pypi.org/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" }, @@ -13,7 +13,7 @@ wheels = [ [[package]] name = "dkdc-draw" -version = "0.2.1" +version = "0.3.0" source = { editable = "." } [package.dev-dependencies] @@ -37,7 +37,7 @@ dev = [ [[package]] name = "iniconfig" version = "2.3.0" -source = { registry = "https://pypi.org/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/72/34/14ca021ce8e5dfedc35312d08ba8bf51fdd999c576889fc2c24cb97f4f10/iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730", size = 20503, upload-time = "2025-10-18T21:55:43.219Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" }, @@ -46,7 +46,7 @@ wheels = [ [[package]] name = "maturin" version = "1.12.6" -source = { registry = "https://pypi.org/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/0c/18/8b2eebd3ea086a5ec73d7081f95ec64918ceda1900075902fc296ea3ad55/maturin-1.12.6.tar.gz", hash = "sha256:d37be3a811a7f2ee28a0fa0964187efa50e90f21da0c6135c27787fa0b6a89db", size = 269165, upload-time = "2026-03-01T14:54:04.21Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/71/8b/9ddfde8a485489e3ebdc50ee3042ef1c854f00dfea776b951068f6ffe451/maturin-1.12.6-py3-none-linux_armv6l.whl", hash = "sha256:6892b4176992fcc143f9d1c1c874a816e9a041248eef46433db87b0f0aff4278", size = 9789847, upload-time = "2026-03-01T14:54:09.172Z" }, @@ -67,7 +67,7 @@ wheels = [ [[package]] name = "packaging" version = "26.0" -source = { registry = "https://pypi.org/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/65/ee/299d360cdc32edc7d2cf530f3accf79c4fca01e96ffc950d8a52213bd8e4/packaging-26.0.tar.gz", hash = "sha256:00243ae351a257117b6a241061796684b084ed1c516a08c48a3f7e147a9d80b4", size = 143416, upload-time = "2026-01-21T20:50:39.064Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/b7/b9/c538f279a4e237a006a2c98387d081e9eb060d203d8ed34467cc0f0b9b53/packaging-26.0-py3-none-any.whl", hash = "sha256:b36f1fef9334a5588b4166f8bcd26a14e521f2b55e6b9de3aaa80d3ff7a37529", size = 74366, upload-time = "2026-01-21T20:50:37.788Z" }, @@ -76,7 +76,7 @@ wheels = [ [[package]] name = "pluggy" version = "1.6.0" -source = { registry = "https://pypi.org/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412, upload-time = "2025-05-15T12:30:07.975Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538, upload-time = "2025-05-15T12:30:06.134Z" }, @@ -85,7 +85,7 @@ wheels = [ [[package]] name = "pygments" version = "2.20.0" -source = { registry = "https://pypi.org/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/c3/b2/bc9c9196916376152d655522fdcebac55e66de6603a76a02bca1b6414f6c/pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f", size = 4955991, upload-time = "2026-03-29T13:29:33.898Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/f4/7e/a72dd26f3b0f4f2bf1dd8923c85f7ceb43172af56d63c7383eb62b332364/pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176", size = 1231151, upload-time = "2026-03-29T13:29:30.038Z" }, @@ -94,7 +94,7 @@ wheels = [ [[package]] name = "pytest" version = "9.0.2" -source = { registry = "https://pypi.org/simple/" } +source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "colorama", marker = "sys_platform == 'win32'" }, { name = "iniconfig" }, @@ -110,7 +110,7 @@ wheels = [ [[package]] name = "ruff" version = "0.15.9" -source = { registry = "https://pypi.org/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/e6/97/e9f1ca355108ef7194e38c812ef40ba98c7208f47b13ad78d023caa583da/ruff-0.15.9.tar.gz", hash = "sha256:29cbb1255a9797903f6dde5ba0188c707907ff44a9006eb273b5a17bfa0739a2", size = 4617361, upload-time = "2026-04-02T18:17:20.829Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/0b/1f/9cdfd0ac4b9d1e5a6cf09bedabdf0b56306ab5e333c85c87281273e7b041/ruff-0.15.9-py3-none-linux_armv6l.whl", hash = "sha256:6efbe303983441c51975c243e26dff328aca11f94b70992f35b093c2e71801e1", size = 10511206, upload-time = "2026-04-02T18:16:41.574Z" }, @@ -135,7 +135,7 @@ wheels = [ [[package]] name = "ty" version = "0.0.28" -source = { registry = "https://pypi.org/simple/" } +source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/19/c2/a60543fb172ac7adaa3ae43b8db1d0dcd70aa67df254b70bf42f852a24f6/ty-0.0.28.tar.gz", hash = "sha256:1fbde7bc5d154d6f047b570d95665954fa83b75a0dce50d88cf081b40a27ea32", size = 5447781, upload-time = "2026-04-02T21:34:33.556Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/fe/15/c2aa3d4633e6153a2e300d7dd0ebdedf904a60241d1922566f31c5f7f211/ty-0.0.28-py3-none-linux_armv6l.whl", hash = "sha256:6dbfb27524195ab1715163d7be065cc45037509fe529d9763aff6732c919f0d8", size = 10556282, upload-time = "2026-04-02T21:35:04.165Z" },