ezdracad 0.1.0a1__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.
Files changed (178) hide show
  1. ezdracad-0.1.0a1/CONTRIBUTING.md +91 -0
  2. ezdracad-0.1.0a1/Cargo.lock +433 -0
  3. ezdracad-0.1.0a1/Cargo.toml +20 -0
  4. ezdracad-0.1.0a1/LICENSE +133 -0
  5. ezdracad-0.1.0a1/PKG-INFO +122 -0
  6. ezdracad-0.1.0a1/README.md +108 -0
  7. ezdracad-0.1.0a1/THIRD_PARTY_NOTICES.txt +1745 -0
  8. ezdracad-0.1.0a1/crates/ezdracad-core/Cargo.toml +20 -0
  9. ezdracad-0.1.0a1/crates/ezdracad-core/LICENSE +133 -0
  10. ezdracad-0.1.0a1/crates/ezdracad-core/README.md +81 -0
  11. ezdracad-0.1.0a1/crates/ezdracad-core/THIRD_PARTY_NOTICES.txt +1745 -0
  12. ezdracad-0.1.0a1/crates/ezdracad-core/src/attributes.rs +293 -0
  13. ezdracad-0.1.0a1/crates/ezdracad-core/src/basic2d.rs +186 -0
  14. ezdracad-0.1.0a1/crates/ezdracad-core/src/block3d.rs +466 -0
  15. ezdracad-0.1.0a1/crates/ezdracad-core/src/blocks.rs +392 -0
  16. ezdracad-0.1.0a1/crates/ezdracad-core/src/container.rs +91 -0
  17. ezdracad-0.1.0a1/crates/ezdracad-core/src/coordinate_input_units.rs +122 -0
  18. ezdracad-0.1.0a1/crates/ezdracad-core/src/coordinate_measurement.rs +113 -0
  19. ezdracad-0.1.0a1/crates/ezdracad-core/src/coordinate_space.rs +455 -0
  20. ezdracad-0.1.0a1/crates/ezdracad-core/src/dimension_scale.rs +264 -0
  21. ezdracad-0.1.0a1/crates/ezdracad-core/src/document.rs +873 -0
  22. ezdracad-0.1.0a1/crates/ezdracad-core/src/drawing_settings.rs +62 -0
  23. ezdracad-0.1.0a1/crates/ezdracad-core/src/effective_styles.rs +445 -0
  24. ezdracad-0.1.0a1/crates/ezdracad-core/src/error.rs +23 -0
  25. ezdracad-0.1.0a1/crates/ezdracad-core/src/format.rs +102 -0
  26. ezdracad-0.1.0a1/crates/ezdracad-core/src/header.rs +191 -0
  27. ezdracad-0.1.0a1/crates/ezdracad-core/src/inline_packages.rs +253 -0
  28. ezdracad-0.1.0a1/crates/ezdracad-core/src/inspect.rs +232 -0
  29. ezdracad-0.1.0a1/crates/ezdracad-core/src/lib.rs +134 -0
  30. ezdracad-0.1.0a1/crates/ezdracad-core/src/limits.rs +66 -0
  31. ezdracad-0.1.0a1/crates/ezdracad-core/src/line3d.rs +97 -0
  32. ezdracad-0.1.0a1/crates/ezdracad-core/src/mps.rs +197 -0
  33. ezdracad-0.1.0a1/crates/ezdracad-core/src/objects.rs +102 -0
  34. ezdracad-0.1.0a1/crates/ezdracad-core/src/origin_units.rs +62 -0
  35. ezdracad-0.1.0a1/crates/ezdracad-core/src/package_refs.rs +156 -0
  36. ezdracad-0.1.0a1/crates/ezdracad-core/src/preflight.rs +223 -0
  37. ezdracad-0.1.0a1/crates/ezdracad-core/src/print_settings.rs +360 -0
  38. ezdracad-0.1.0a1/crates/ezdracad-core/src/print_width.rs +386 -0
  39. ezdracad-0.1.0a1/crates/ezdracad-core/src/qualification.rs +543 -0
  40. ezdracad-0.1.0a1/crates/ezdracad-core/src/record_attributes.rs +167 -0
  41. ezdracad-0.1.0a1/crates/ezdracad-core/src/records.rs +494 -0
  42. ezdracad-0.1.0a1/crates/ezdracad-core/src/root_metadata.rs +327 -0
  43. ezdracad-0.1.0a1/crates/ezdracad-core/src/scene.rs +989 -0
  44. ezdracad-0.1.0a1/crates/ezdracad-core/src/text2d.rs +459 -0
  45. ezdracad-0.1.0a1/crates/ezdracad-core/src/text_units.rs +61 -0
  46. ezdracad-0.1.0a1/crates/ezdracad-core/src/unit_resolution.rs +147 -0
  47. ezdracad-0.1.0a1/crates/ezdracad-core/src/workplane.rs +344 -0
  48. ezdracad-0.1.0a1/crates/ezdracad-core/src/world_input3d.rs +199 -0
  49. ezdracad-0.1.0a1/crates/ezdracad-python/Cargo.toml +20 -0
  50. ezdracad-0.1.0a1/crates/ezdracad-python/src/block3d_scanning.rs +108 -0
  51. ezdracad-0.1.0a1/crates/ezdracad-python/src/block_scanning.rs +200 -0
  52. ezdracad-0.1.0a1/crates/ezdracad-python/src/coordinate_input_units_scanning.rs +56 -0
  53. ezdracad-0.1.0a1/crates/ezdracad-python/src/coordinate_measurement_scanning.rs +64 -0
  54. ezdracad-0.1.0a1/crates/ezdracad-python/src/coordinate_space_scanning.rs +150 -0
  55. ezdracad-0.1.0a1/crates/ezdracad-python/src/dimension_scale_scanning.rs +56 -0
  56. ezdracad-0.1.0a1/crates/ezdracad-python/src/document_reading.rs +312 -0
  57. ezdracad-0.1.0a1/crates/ezdracad-python/src/effective_style_scanning.rs +82 -0
  58. ezdracad-0.1.0a1/crates/ezdracad-python/src/inline_scanning.rs +44 -0
  59. ezdracad-0.1.0a1/crates/ezdracad-python/src/inspection.rs +97 -0
  60. ezdracad-0.1.0a1/crates/ezdracad-python/src/lib.rs +287 -0
  61. ezdracad-0.1.0a1/crates/ezdracad-python/src/line3d_scanning.rs +17 -0
  62. ezdracad-0.1.0a1/crates/ezdracad-python/src/origin_units_scanning.rs +14 -0
  63. ezdracad-0.1.0a1/crates/ezdracad-python/src/print_settings_scanning.rs +104 -0
  64. ezdracad-0.1.0a1/crates/ezdracad-python/src/print_width_scanning.rs +118 -0
  65. ezdracad-0.1.0a1/crates/ezdracad-python/src/qualification_scanning.rs +28 -0
  66. ezdracad-0.1.0a1/crates/ezdracad-python/src/record_attribute_scanning.rs +70 -0
  67. ezdracad-0.1.0a1/crates/ezdracad-python/src/scanning.rs +622 -0
  68. ezdracad-0.1.0a1/crates/ezdracad-python/src/scene_scanning.rs +54 -0
  69. ezdracad-0.1.0a1/crates/ezdracad-python/src/style_scanning.rs +121 -0
  70. ezdracad-0.1.0a1/crates/ezdracad-python/src/unit_resolution_scanning.rs +127 -0
  71. ezdracad-0.1.0a1/crates/ezdracad-python/src/workplane_scanning.rs +91 -0
  72. ezdracad-0.1.0a1/crates/ezdracad-python/src/world_input3d_scanning.rs +74 -0
  73. ezdracad-0.1.0a1/docs/README.md +25 -0
  74. ezdracad-0.1.0a1/docs/cli.md +43 -0
  75. ezdracad-0.1.0a1/docs/compatibility.md +50 -0
  76. ezdracad-0.1.0a1/docs/format/basic2d-profile.md +44 -0
  77. ezdracad-0.1.0a1/docs/format/block3d-profile.md +37 -0
  78. ezdracad-0.1.0a1/docs/format/coordinate-spaces.md +58 -0
  79. ezdracad-0.1.0a1/docs/format/dimension-scale.md +40 -0
  80. ezdracad-0.1.0a1/docs/format/document-reader.md +59 -0
  81. ezdracad-0.1.0a1/docs/format/line2d-profile.md +36 -0
  82. ezdracad-0.1.0a1/docs/format/line3d-records.md +19 -0
  83. ezdracad-0.1.0a1/docs/format/mps-input.md +37 -0
  84. ezdracad-0.1.0a1/docs/format/mpx-input.md +28 -0
  85. ezdracad-0.1.0a1/docs/format/workplane-profile.md +36 -0
  86. ezdracad-0.1.0a1/docs/format/world-input3d.md +41 -0
  87. ezdracad-0.1.0a1/docs/raw-api.md +53 -0
  88. ezdracad-0.1.0a1/docs/usage.md +77 -0
  89. ezdracad-0.1.0a1/fuzz/Cargo.lock +408 -0
  90. ezdracad-0.1.0a1/fuzz/Cargo.toml +58 -0
  91. ezdracad-0.1.0a1/fuzz/README.md +39 -0
  92. ezdracad-0.1.0a1/fuzz/fuzz_targets/read_basic2d.rs +157 -0
  93. ezdracad-0.1.0a1/fuzz/fuzz_targets/read_document.rs +93 -0
  94. ezdracad-0.1.0a1/fuzz/fuzz_targets/read_mps.rs +213 -0
  95. ezdracad-0.1.0a1/fuzz/fuzz_targets/read_mpx.rs +194 -0
  96. ezdracad-0.1.0a1/fuzz/fuzz_targets/scan_contents.rs +484 -0
  97. ezdracad-0.1.0a1/fuzz/fuzz_targets/scan_mpz.rs +76 -0
  98. ezdracad-0.1.0a1/pyproject.toml +82 -0
  99. ezdracad-0.1.0a1/src/ezdracad/__init__.py +68 -0
  100. ezdracad-0.1.0a1/src/ezdracad/__main__.py +3 -0
  101. ezdracad-0.1.0a1/src/ezdracad/_core.pyi +458 -0
  102. ezdracad-0.1.0a1/src/ezdracad/basic2d.py +207 -0
  103. ezdracad-0.1.0a1/src/ezdracad/block3d.py +168 -0
  104. ezdracad-0.1.0a1/src/ezdracad/cli.py +231 -0
  105. ezdracad-0.1.0a1/src/ezdracad/coordinate_input_units.py +67 -0
  106. ezdracad-0.1.0a1/src/ezdracad/coordinate_measurement.py +67 -0
  107. ezdracad-0.1.0a1/src/ezdracad/coordinate_space.py +268 -0
  108. ezdracad-0.1.0a1/src/ezdracad/dimension_scale.py +79 -0
  109. ezdracad-0.1.0a1/src/ezdracad/document.py +562 -0
  110. ezdracad-0.1.0a1/src/ezdracad/effective_styles.py +141 -0
  111. ezdracad-0.1.0a1/src/ezdracad/line3d.py +29 -0
  112. ezdracad-0.1.0a1/src/ezdracad/options.py +46 -0
  113. ezdracad-0.1.0a1/src/ezdracad/origin_units.py +20 -0
  114. ezdracad-0.1.0a1/src/ezdracad/print_settings.py +93 -0
  115. ezdracad-0.1.0a1/src/ezdracad/print_width.py +106 -0
  116. ezdracad-0.1.0a1/src/ezdracad/py.typed +0 -0
  117. ezdracad-0.1.0a1/src/ezdracad/qualification.py +93 -0
  118. ezdracad-0.1.0a1/src/ezdracad/raw.py +1313 -0
  119. ezdracad-0.1.0a1/src/ezdracad/scene.py +99 -0
  120. ezdracad-0.1.0a1/src/ezdracad/styles.py +140 -0
  121. ezdracad-0.1.0a1/src/ezdracad/unit_resolution.py +134 -0
  122. ezdracad-0.1.0a1/src/ezdracad/workplane.py +161 -0
  123. ezdracad-0.1.0a1/src/ezdracad/world_input3d.py +117 -0
  124. ezdracad-0.1.0a1/tests/fixtures/README.md +16 -0
  125. ezdracad-0.1.0a1/tests/fixtures/basic2d25.README.md +10 -0
  126. ezdracad-0.1.0a1/tests/fixtures/basic2d25.bin +0 -0
  127. ezdracad-0.1.0a1/tests/fixtures/basic2d25.cfb +0 -0
  128. ezdracad-0.1.0a1/tests/fixtures/block3d25.README.md +8 -0
  129. ezdracad-0.1.0a1/tests/fixtures/block3d25.bin +0 -0
  130. ezdracad-0.1.0a1/tests/fixtures/block3d25.cfb +0 -0
  131. ezdracad-0.1.0a1/tests/fixtures/blocks25.bin +0 -0
  132. ezdracad-0.1.0a1/tests/fixtures/blocks25.cfb +0 -0
  133. ezdracad-0.1.0a1/tests/fixtures/blocks5.bin +0 -0
  134. ezdracad-0.1.0a1/tests/fixtures/blocks5.cfb +0 -0
  135. ezdracad-0.1.0a1/tests/fixtures/blocks8.bin +0 -0
  136. ezdracad-0.1.0a1/tests/fixtures/blocks8.cfb +0 -0
  137. ezdracad-0.1.0a1/tests/fixtures/dimension25-README.md +9 -0
  138. ezdracad-0.1.0a1/tests/fixtures/dimension25.bin +0 -0
  139. ezdracad-0.1.0a1/tests/fixtures/dimension25.cfb +0 -0
  140. ezdracad-0.1.0a1/tests/fixtures/document-partial25.bin +0 -0
  141. ezdracad-0.1.0a1/tests/fixtures/document-partial25.cfb +0 -0
  142. ezdracad-0.1.0a1/tests/fixtures/document25.README.md +8 -0
  143. ezdracad-0.1.0a1/tests/fixtures/document25.bin +0 -0
  144. ezdracad-0.1.0a1/tests/fixtures/document25.cfb +0 -0
  145. ezdracad-0.1.0a1/tests/fixtures/inheritance25.bin +0 -0
  146. ezdracad-0.1.0a1/tests/fixtures/inheritance25.cfb +0 -0
  147. ezdracad-0.1.0a1/tests/fixtures/measurement25.bin +0 -0
  148. ezdracad-0.1.0a1/tests/fixtures/measurement25.cfb +0 -0
  149. ezdracad-0.1.0a1/tests/fixtures/minimal.cfb +0 -0
  150. ezdracad-0.1.0a1/tests/fixtures/mps-README.md +10 -0
  151. ezdracad-0.1.0a1/tests/fixtures/mps-basic2d25.mps +0 -0
  152. ezdracad-0.1.0a1/tests/fixtures/mps-block25.mps +0 -0
  153. ezdracad-0.1.0a1/tests/fixtures/mps-document25.mps +0 -0
  154. ezdracad-0.1.0a1/tests/fixtures/mps-extended25.mps +0 -0
  155. ezdracad-0.1.0a1/tests/fixtures/mpx-block25.mpx +0 -0
  156. ezdracad-0.1.0a1/tests/fixtures/mpx-mixed25.mpx +0 -0
  157. ezdracad-0.1.0a1/tests/fixtures/mpx25.README.md +12 -0
  158. ezdracad-0.1.0a1/tests/fixtures/mpx25.mpx +0 -0
  159. ezdracad-0.1.0a1/tests/fixtures/mpz-contents.bin +0 -0
  160. ezdracad-0.1.0a1/tests/fixtures/mpz-envelope.cfb +0 -0
  161. ezdracad-0.1.0a1/tests/fixtures/objects25.bin +0 -0
  162. ezdracad-0.1.0a1/tests/fixtures/objects25.cfb +0 -0
  163. ezdracad-0.1.0a1/tests/fixtures/objects5.bin +0 -0
  164. ezdracad-0.1.0a1/tests/fixtures/objects5.cfb +0 -0
  165. ezdracad-0.1.0a1/tests/fixtures/objects8.bin +0 -0
  166. ezdracad-0.1.0a1/tests/fixtures/objects8.cfb +0 -0
  167. ezdracad-0.1.0a1/tests/fixtures/records25.bin +0 -0
  168. ezdracad-0.1.0a1/tests/fixtures/records25.cfb +0 -0
  169. ezdracad-0.1.0a1/tests/fixtures/records5.bin +0 -0
  170. ezdracad-0.1.0a1/tests/fixtures/records5.cfb +0 -0
  171. ezdracad-0.1.0a1/tests/fixtures/records8.bin +0 -0
  172. ezdracad-0.1.0a1/tests/fixtures/records8.cfb +0 -0
  173. ezdracad-0.1.0a1/tests/fixtures/semantics25.bin +0 -0
  174. ezdracad-0.1.0a1/tests/fixtures/semantics25.cfb +0 -0
  175. ezdracad-0.1.0a1/tests/fixtures/semantics5.bin +0 -0
  176. ezdracad-0.1.0a1/tests/fixtures/semantics5.cfb +0 -0
  177. ezdracad-0.1.0a1/tests/fixtures/semantics8.bin +0 -0
  178. ezdracad-0.1.0a1/tests/fixtures/semantics8.cfb +0 -0
@@ -0,0 +1,91 @@
1
+ # Contributing
2
+
3
+ ## Development environment
4
+
5
+ Use Python 3.10 or later and Rust 1.83 or later. Install the development tools
6
+ and build the extension from the repository root:
7
+
8
+ ```sh
9
+ uv sync --locked --no-install-project
10
+ uv run --no-sync maturin develop --release --locked
11
+ ```
12
+
13
+ ## Checks
14
+
15
+ ```sh
16
+ cargo fmt --all -- --check
17
+ cargo clippy --workspace --all-targets --locked -- -D warnings
18
+ cargo test --workspace --locked
19
+ cargo doc -p ezdracad-core --no-deps --locked
20
+ uv run --no-sync ruff check src tests scripts
21
+ uv run --no-sync ruff format --check src tests scripts
22
+ uv run --no-sync pytest
23
+ python scripts/check_public_surface.py
24
+ ```
25
+
26
+ See [the fuzzing guide](fuzz/README.md) for bounded fuzz runs. Test fixtures
27
+ must be independently authored and redistributable. Include the relevant
28
+ license and construction instructions; do not submit third-party drawings,
29
+ installers, credentials, or local environment data.
30
+
31
+ Contributions of project-authored code and test data should use the project's
32
+ PolyForm Noncommercial License 1.0.0. Preserve any third-party notices.
33
+
34
+ ## Parser changes
35
+
36
+ Keep format parsing, bounds checking, and geometry decisions in Rust. Python
37
+ should provide typed interfaces without duplicating the parser. Preserve
38
+ unknown bytes and source locations. Do not reinterpret an unknown flag as
39
+ neutral or turn a malformed input into a successful partial result.
40
+
41
+ A format change should include meaningful tests for accepted data, unsupported
42
+ forms, corrupt input, and resource limits. Keep stored coordinates, physical
43
+ units, coordinate frames, visibility, and print behavior distinct. Update the
44
+ English user documentation when public behavior changes.
45
+
46
+ ## Distribution checks
47
+
48
+ ```sh
49
+ uv run --no-sync python scripts/build_distributions.py --out dist --sdist
50
+ python scripts/verify_distribution.py dist/package.whl
51
+ python scripts/verify_distribution.py dist/package.tar.gz
52
+ ```
53
+
54
+ Replace the artifact filenames with the generated paths. The build helper remaps local Rust source paths. Verification checks
55
+ package contents and installs the artifact into an isolated environment.
56
+ Version consistency can be checked with `python scripts/bump_version.py --check`.
57
+
58
+ ## Releases
59
+
60
+ [The release workflow](.github/workflows/release.yml) runs the complete CI suite,
61
+ then builds CPython 3.10 ABI3 wheels for Linux x86-64/AArch64 (glibc 2.28 or
62
+ later), macOS Intel/Apple Silicon, and Windows x86-64. Each wheel is installed
63
+ and tested on its native runner. The source archive is rebuilt and checked
64
+ on Python 3.10. The publication bundle contains these six distributions and
65
+ `SHA256SUMS`; contents, metadata, license notices, and hashes are checked again
66
+ before publication.
67
+
68
+ Manual `workflow_dispatch` runs produce a verified `publication-bundle` artifact
69
+ for review. A pushed `v<workspace.package.version>` tag publishes the same bundle
70
+ to PyPI and attaches its distributions and checksums to a GitHub Release.
71
+ Alpha, beta, and release-candidate tags create GitHub prereleases.
72
+
73
+ Before the first publication, configure a PyPI
74
+ [Trusted Publisher](https://docs.pypi.org/trusted-publishers/adding-a-publisher/)
75
+ with project `ezdracad`, owner `monozukuri-ai`, repository `ezdracad`, workflow
76
+ `release.yml`, and environment `pypi`. If the project does not exist yet, register
77
+ a [pending publisher](https://docs.pypi.org/trusted-publishers/creating-a-project-through-oidc/)
78
+ with those values. Create the matching GitHub environment and choose its
79
+ deployment rules. Publishing uses GitHub OIDC, with no PyPI API token stored
80
+ in repository secrets.
81
+
82
+ Update the shared version and lockfiles, commit the change, and push the matching
83
+ tag:
84
+
85
+ ```sh
86
+ python scripts/bump_version.py X.Y.Z
87
+ ```
88
+
89
+ Supported prereleases include `X.Y.Z-alpha.1`, `X.Y.Z-beta.1`, and `X.Y.Z-rc.1`.
90
+ For example, Cargo version `0.1.0-alpha.1` uses tag `v0.1.0-alpha.1` and Python
91
+ package version `0.1.0a1`.
@@ -0,0 +1,433 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "adler2"
7
+ version = "2.0.1"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
10
+
11
+ [[package]]
12
+ name = "block-buffer"
13
+ version = "0.10.4"
14
+ source = "registry+https://github.com/rust-lang/crates.io-index"
15
+ checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
16
+ dependencies = [
17
+ "generic-array",
18
+ ]
19
+
20
+ [[package]]
21
+ name = "bumpalo"
22
+ version = "3.20.3"
23
+ source = "registry+https://github.com/rust-lang/crates.io-index"
24
+ checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
25
+
26
+ [[package]]
27
+ name = "cfb"
28
+ version = "0.14.0"
29
+ source = "registry+https://github.com/rust-lang/crates.io-index"
30
+ checksum = "a347dcabdae9c31b0825fd6a8bed285ec9c2acb89c47827126d52fa4f59cece3"
31
+ dependencies = [
32
+ "fnv",
33
+ "uuid",
34
+ "web-time",
35
+ ]
36
+
37
+ [[package]]
38
+ name = "cfg-if"
39
+ version = "1.0.5"
40
+ source = "registry+https://github.com/rust-lang/crates.io-index"
41
+ checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
42
+
43
+ [[package]]
44
+ name = "cpufeatures"
45
+ version = "0.2.17"
46
+ source = "registry+https://github.com/rust-lang/crates.io-index"
47
+ checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
48
+ dependencies = [
49
+ "libc",
50
+ ]
51
+
52
+ [[package]]
53
+ name = "crc32fast"
54
+ version = "1.5.2"
55
+ source = "registry+https://github.com/rust-lang/crates.io-index"
56
+ checksum = "01a7799fd6b852db0e61728dde9a204c423b44d689dbd432522543614b490e78"
57
+ dependencies = [
58
+ "cfg-if",
59
+ ]
60
+
61
+ [[package]]
62
+ name = "crypto-common"
63
+ version = "0.1.7"
64
+ source = "registry+https://github.com/rust-lang/crates.io-index"
65
+ checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
66
+ dependencies = [
67
+ "generic-array",
68
+ "typenum",
69
+ ]
70
+
71
+ [[package]]
72
+ name = "digest"
73
+ version = "0.10.7"
74
+ source = "registry+https://github.com/rust-lang/crates.io-index"
75
+ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
76
+ dependencies = [
77
+ "block-buffer",
78
+ "crypto-common",
79
+ ]
80
+
81
+ [[package]]
82
+ name = "ezdracad-core"
83
+ version = "0.1.0-alpha.1"
84
+ dependencies = [
85
+ "cfb",
86
+ "flate2",
87
+ "sha2",
88
+ "thiserror",
89
+ "uuid",
90
+ ]
91
+
92
+ [[package]]
93
+ name = "ezdracad-python"
94
+ version = "0.1.0-alpha.1"
95
+ dependencies = [
96
+ "ezdracad-core",
97
+ "pyo3",
98
+ ]
99
+
100
+ [[package]]
101
+ name = "flate2"
102
+ version = "1.1.10"
103
+ source = "registry+https://github.com/rust-lang/crates.io-index"
104
+ checksum = "6e634e2e0ebac1ee034020da1ca582e17ffe4e0f5e985823721e168928136dcb"
105
+ dependencies = [
106
+ "crc32fast",
107
+ "miniz_oxide",
108
+ ]
109
+
110
+ [[package]]
111
+ name = "fnv"
112
+ version = "1.0.7"
113
+ source = "registry+https://github.com/rust-lang/crates.io-index"
114
+ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
115
+
116
+ [[package]]
117
+ name = "futures-core"
118
+ version = "0.3.34"
119
+ source = "registry+https://github.com/rust-lang/crates.io-index"
120
+ checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
121
+
122
+ [[package]]
123
+ name = "futures-task"
124
+ version = "0.3.34"
125
+ source = "registry+https://github.com/rust-lang/crates.io-index"
126
+ checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
127
+
128
+ [[package]]
129
+ name = "futures-util"
130
+ version = "0.3.34"
131
+ source = "registry+https://github.com/rust-lang/crates.io-index"
132
+ checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
133
+ dependencies = [
134
+ "futures-core",
135
+ "futures-task",
136
+ "pin-project-lite",
137
+ "slab",
138
+ ]
139
+
140
+ [[package]]
141
+ name = "generic-array"
142
+ version = "0.14.7"
143
+ source = "registry+https://github.com/rust-lang/crates.io-index"
144
+ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
145
+ dependencies = [
146
+ "typenum",
147
+ "version_check",
148
+ ]
149
+
150
+ [[package]]
151
+ name = "heck"
152
+ version = "0.5.0"
153
+ source = "registry+https://github.com/rust-lang/crates.io-index"
154
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
155
+
156
+ [[package]]
157
+ name = "js-sys"
158
+ version = "0.3.107"
159
+ source = "registry+https://github.com/rust-lang/crates.io-index"
160
+ checksum = "8dc09d2154098bbf4ef54eab6b117a3c24cbbffe94046b16ee6d6d4510584d3a"
161
+ dependencies = [
162
+ "cfg-if",
163
+ "futures-util",
164
+ "wasm-bindgen",
165
+ ]
166
+
167
+ [[package]]
168
+ name = "libc"
169
+ version = "0.2.191"
170
+ source = "registry+https://github.com/rust-lang/crates.io-index"
171
+ checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
172
+
173
+ [[package]]
174
+ name = "miniz_oxide"
175
+ version = "0.9.1"
176
+ source = "registry+https://github.com/rust-lang/crates.io-index"
177
+ checksum = "b63fbc4a50860e98e7b2aa7804ded1db5cbc3aff9193adaff57a6931bf7c4b4c"
178
+ dependencies = [
179
+ "adler2",
180
+ "simd-adler32",
181
+ ]
182
+
183
+ [[package]]
184
+ name = "once_cell"
185
+ version = "1.21.4"
186
+ source = "registry+https://github.com/rust-lang/crates.io-index"
187
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
188
+
189
+ [[package]]
190
+ name = "pin-project-lite"
191
+ version = "0.2.17"
192
+ source = "registry+https://github.com/rust-lang/crates.io-index"
193
+ checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
194
+
195
+ [[package]]
196
+ name = "portable-atomic"
197
+ version = "1.15.0"
198
+ source = "registry+https://github.com/rust-lang/crates.io-index"
199
+ checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
200
+
201
+ [[package]]
202
+ name = "proc-macro2"
203
+ version = "1.0.107"
204
+ source = "registry+https://github.com/rust-lang/crates.io-index"
205
+ checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
206
+ dependencies = [
207
+ "unicode-ident",
208
+ ]
209
+
210
+ [[package]]
211
+ name = "pyo3"
212
+ version = "0.29.3"
213
+ source = "registry+https://github.com/rust-lang/crates.io-index"
214
+ checksum = "700d18fa267b73b9b521fd7e13580e2f446916f176cacee1ab63fcc8191f1655"
215
+ dependencies = [
216
+ "libc",
217
+ "once_cell",
218
+ "portable-atomic",
219
+ "pyo3-build-config",
220
+ "pyo3-ffi",
221
+ "pyo3-macros",
222
+ ]
223
+
224
+ [[package]]
225
+ name = "pyo3-build-config"
226
+ version = "0.29.3"
227
+ source = "registry+https://github.com/rust-lang/crates.io-index"
228
+ checksum = "7b3fc0c4d08f6bb10e71fe39dfb9e2f59c6eb6854e22ec8092f50c69a4499adb"
229
+ dependencies = [
230
+ "target-lexicon",
231
+ ]
232
+
233
+ [[package]]
234
+ name = "pyo3-ffi"
235
+ version = "0.29.3"
236
+ source = "registry+https://github.com/rust-lang/crates.io-index"
237
+ checksum = "dfc0b8e19df29aad7086cf977bb0c2a2f143e30567eb113e9cf72b62ca698330"
238
+ dependencies = [
239
+ "libc",
240
+ "pyo3-build-config",
241
+ ]
242
+
243
+ [[package]]
244
+ name = "pyo3-macros"
245
+ version = "0.29.3"
246
+ source = "registry+https://github.com/rust-lang/crates.io-index"
247
+ checksum = "6100e8a4b5eba53afaa5ed078364851a0b2499c553a44c31026b929049b49dc6"
248
+ dependencies = [
249
+ "proc-macro2",
250
+ "pyo3-macros-backend",
251
+ "quote",
252
+ "syn 2.0.119",
253
+ ]
254
+
255
+ [[package]]
256
+ name = "pyo3-macros-backend"
257
+ version = "0.29.3"
258
+ source = "registry+https://github.com/rust-lang/crates.io-index"
259
+ checksum = "6143877a16e82b5a727b7127ff4cd86858a24a28d745d72f43e6f227c7b1bdb3"
260
+ dependencies = [
261
+ "heck",
262
+ "proc-macro2",
263
+ "quote",
264
+ "syn 2.0.119",
265
+ ]
266
+
267
+ [[package]]
268
+ name = "quote"
269
+ version = "1.0.47"
270
+ source = "registry+https://github.com/rust-lang/crates.io-index"
271
+ checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
272
+ dependencies = [
273
+ "proc-macro2",
274
+ ]
275
+
276
+ [[package]]
277
+ name = "rustversion"
278
+ version = "1.0.23"
279
+ source = "registry+https://github.com/rust-lang/crates.io-index"
280
+ checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
281
+
282
+ [[package]]
283
+ name = "sha2"
284
+ version = "0.10.9"
285
+ source = "registry+https://github.com/rust-lang/crates.io-index"
286
+ checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
287
+ dependencies = [
288
+ "cfg-if",
289
+ "cpufeatures",
290
+ "digest",
291
+ ]
292
+
293
+ [[package]]
294
+ name = "simd-adler32"
295
+ version = "0.3.10"
296
+ source = "registry+https://github.com/rust-lang/crates.io-index"
297
+ checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea"
298
+
299
+ [[package]]
300
+ name = "slab"
301
+ version = "0.4.12"
302
+ source = "registry+https://github.com/rust-lang/crates.io-index"
303
+ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
304
+
305
+ [[package]]
306
+ name = "syn"
307
+ version = "2.0.119"
308
+ source = "registry+https://github.com/rust-lang/crates.io-index"
309
+ checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
310
+ dependencies = [
311
+ "proc-macro2",
312
+ "quote",
313
+ "unicode-ident",
314
+ ]
315
+
316
+ [[package]]
317
+ name = "syn"
318
+ version = "3.0.9"
319
+ source = "registry+https://github.com/rust-lang/crates.io-index"
320
+ checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
321
+ dependencies = [
322
+ "proc-macro2",
323
+ "quote",
324
+ "unicode-ident",
325
+ ]
326
+
327
+ [[package]]
328
+ name = "target-lexicon"
329
+ version = "0.13.5"
330
+ source = "registry+https://github.com/rust-lang/crates.io-index"
331
+ checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
332
+
333
+ [[package]]
334
+ name = "thiserror"
335
+ version = "2.0.21"
336
+ source = "registry+https://github.com/rust-lang/crates.io-index"
337
+ checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e"
338
+ dependencies = [
339
+ "thiserror-impl",
340
+ ]
341
+
342
+ [[package]]
343
+ name = "thiserror-impl"
344
+ version = "2.0.21"
345
+ source = "registry+https://github.com/rust-lang/crates.io-index"
346
+ checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
347
+ dependencies = [
348
+ "proc-macro2",
349
+ "quote",
350
+ "syn 3.0.9",
351
+ ]
352
+
353
+ [[package]]
354
+ name = "typenum"
355
+ version = "1.20.1"
356
+ source = "registry+https://github.com/rust-lang/crates.io-index"
357
+ checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
358
+
359
+ [[package]]
360
+ name = "unicode-ident"
361
+ version = "1.0.27"
362
+ source = "registry+https://github.com/rust-lang/crates.io-index"
363
+ checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
364
+
365
+ [[package]]
366
+ name = "uuid"
367
+ version = "1.20.0"
368
+ source = "registry+https://github.com/rust-lang/crates.io-index"
369
+ checksum = "ee48d38b119b0cd71fe4141b30f5ba9c7c5d9f4e7a3a8b4a674e4b6ef789976f"
370
+ dependencies = [
371
+ "js-sys",
372
+ "wasm-bindgen",
373
+ ]
374
+
375
+ [[package]]
376
+ name = "version_check"
377
+ version = "0.9.5"
378
+ source = "registry+https://github.com/rust-lang/crates.io-index"
379
+ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
380
+
381
+ [[package]]
382
+ name = "wasm-bindgen"
383
+ version = "0.2.130"
384
+ source = "registry+https://github.com/rust-lang/crates.io-index"
385
+ checksum = "a0181c14ddd6c7b8b0b0132a5f1ea2f32be0d893cd3ea97b6e3b28886b8a3d1c"
386
+ dependencies = [
387
+ "cfg-if",
388
+ "rustversion",
389
+ "wasm-bindgen-macro",
390
+ "wasm-bindgen-shared",
391
+ ]
392
+
393
+ [[package]]
394
+ name = "wasm-bindgen-macro"
395
+ version = "0.2.130"
396
+ source = "registry+https://github.com/rust-lang/crates.io-index"
397
+ checksum = "6e931a02a39abdbf66966fc35902b5ed58344750a70885bed4ebb3d8eaf28ed9"
398
+ dependencies = [
399
+ "quote",
400
+ "wasm-bindgen-macro-support",
401
+ ]
402
+
403
+ [[package]]
404
+ name = "wasm-bindgen-macro-support"
405
+ version = "0.2.130"
406
+ source = "registry+https://github.com/rust-lang/crates.io-index"
407
+ checksum = "2ca4b54280e455bd831e33a6b8e734baf432fe63fbc35c42ac14ce67a043a53a"
408
+ dependencies = [
409
+ "bumpalo",
410
+ "proc-macro2",
411
+ "quote",
412
+ "syn 3.0.9",
413
+ "wasm-bindgen-shared",
414
+ ]
415
+
416
+ [[package]]
417
+ name = "wasm-bindgen-shared"
418
+ version = "0.2.130"
419
+ source = "registry+https://github.com/rust-lang/crates.io-index"
420
+ checksum = "3b1f9c3798725016c6ee5f2f57869ec0831e8bbc0ab0310a86e787e97f41389e"
421
+ dependencies = [
422
+ "unicode-ident",
423
+ ]
424
+
425
+ [[package]]
426
+ name = "web-time"
427
+ version = "1.1.0"
428
+ source = "registry+https://github.com/rust-lang/crates.io-index"
429
+ checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb"
430
+ dependencies = [
431
+ "js-sys",
432
+ "wasm-bindgen",
433
+ ]
@@ -0,0 +1,20 @@
1
+ [workspace]
2
+ members = ["crates/ezdracad-core", "crates/ezdracad-python"]
3
+ resolver = "2"
4
+
5
+ [workspace.package]
6
+ version = "0.1.0-alpha.1"
7
+ edition = "2021"
8
+ rust-version = "1.83"
9
+ authors = ["neka-nat <nekanat.stock@gmail.com>"]
10
+ repository = "https://github.com/monozukuri-ai/ezdracad"
11
+ license = "PolyForm-Noncommercial-1.0.0"
12
+
13
+ [workspace.dependencies]
14
+ cfb = "0.14.0"
15
+ flate2 = { version = "1.1.9", default-features = false, features = ["miniz_oxide"] }
16
+ pyo3 = { version = "0.29.0", features = ["abi3-py310"] }
17
+ thiserror = "2.0"
18
+ sha2 = "0.10"
19
+ # cfb allows uuid 1.x, but uuid 1.21 raised its MSRV above Rust 1.83.
20
+ uuid = ">=1, <1.21"
@@ -0,0 +1,133 @@
1
+ # PolyForm Noncommercial License 1.0.0
2
+
3
+ <https://polyformproject.org/licenses/noncommercial/1.0.0>
4
+
5
+ ## Acceptance
6
+
7
+ In order to get any license under these terms, you must agree
8
+ to them as both strict obligations and conditions to all
9
+ your licenses.
10
+
11
+ ## Copyright License
12
+
13
+ The licensor grants you a copyright license for the
14
+ software to do everything you might do with the software
15
+ that would otherwise infringe the licensor's copyright
16
+ in it for any permitted purpose. However, you may
17
+ only distribute the software according to [Distribution
18
+ License](#distribution-license) and make changes or new works
19
+ based on the software according to [Changes and New Works
20
+ License](#changes-and-new-works-license).
21
+
22
+ ## Distribution License
23
+
24
+ The licensor grants you an additional copyright license
25
+ to distribute copies of the software. Your license
26
+ to distribute covers distributing the software with
27
+ changes and new works permitted by [Changes and New Works
28
+ License](#changes-and-new-works-license).
29
+
30
+ ## Notices
31
+
32
+ You must ensure that anyone who gets a copy of any part of
33
+ the software from you also gets a copy of these terms or the
34
+ URL for them above, as well as copies of any plain-text lines
35
+ beginning with `Required Notice:` that the licensor provided
36
+ with the software. For example:
37
+
38
+ > Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
39
+
40
+ ## Changes and New Works License
41
+
42
+ The licensor grants you an additional copyright license to
43
+ make changes and new works based on the software for any
44
+ permitted purpose.
45
+
46
+ ## Patent License
47
+
48
+ The licensor grants you a patent license for the software that
49
+ covers patent claims the licensor can license, or becomes able
50
+ to license, that you would infringe by using the software.
51
+
52
+ ## Noncommercial Purposes
53
+
54
+ Any noncommercial purpose is a permitted purpose.
55
+
56
+ ## Personal Uses
57
+
58
+ Personal use for research, experiment, and testing for
59
+ the benefit of public knowledge, personal study, private
60
+ entertainment, hobby projects, amateur pursuits, or religious
61
+ observance, without any anticipated commercial application,
62
+ is use for a permitted purpose.
63
+
64
+ ## Noncommercial Organizations
65
+
66
+ Use by any charitable organization, educational institution,
67
+ public research organization, public safety or health
68
+ organization, environmental protection organization,
69
+ or government institution is use for a permitted purpose
70
+ regardless of the source of funding or obligations resulting
71
+ from the funding.
72
+
73
+ ## Fair Use
74
+
75
+ You may have "fair use" rights for the software under the
76
+ law. These terms do not limit them.
77
+
78
+ ## No Other Rights
79
+
80
+ These terms do not allow you to sublicense or transfer any of
81
+ your licenses to anyone else, or prevent the licensor from
82
+ granting licenses to anyone else. These terms do not imply
83
+ any other licenses.
84
+
85
+ ## Patent Defense
86
+
87
+ If you make any written claim that the software infringes or
88
+ contributes to infringement of any patent, your patent license
89
+ for the software granted under these terms ends immediately. If
90
+ your company makes such a claim, your patent license ends
91
+ immediately for work on behalf of your company.
92
+
93
+ ## Violations
94
+
95
+ The first time you are notified in writing that you have
96
+ violated any of these terms, or done anything with the software
97
+ not covered by your licenses, your licenses can nonetheless
98
+ continue if you come into full compliance with these terms,
99
+ and take practical steps to correct past violations, within
100
+ 32 days of receiving notice. Otherwise, all your licenses
101
+ end immediately.
102
+
103
+ ## No Liability
104
+
105
+ ***As far as the law allows, the software comes as is, without
106
+ any warranty or condition, and the licensor will not be liable
107
+ to you for any damages arising out of these terms or the use
108
+ or nature of the software, under any kind of legal claim.***
109
+
110
+ ## Definitions
111
+
112
+ The **licensor** is the individual or entity offering these
113
+ terms, and the **software** is the software the licensor makes
114
+ available under these terms.
115
+
116
+ **You** refers to the individual or entity agreeing to these
117
+ terms.
118
+
119
+ **Your company** is any legal entity, sole proprietorship,
120
+ or other kind of organization that you work for, plus all
121
+ organizations that have control over, are under the control of,
122
+ or are under common control with that organization. **Control**
123
+ means ownership of substantially all the assets of an entity,
124
+ or the power to direct its management and policies by vote,
125
+ contract, or otherwise. Control can be direct or indirect.
126
+
127
+ **Your licenses** are all the licenses granted to you for the
128
+ software under these terms.
129
+
130
+ **Use** means anything you do with the software requiring one
131
+ of your licenses.
132
+
133
+ Required Notice: Copyright (c) 2026 neka-nat