# Third-party notices This viewer bundles third-party code. The notices below apply to the source tree **and** to the built site (`dist2/`, deployed at `https://dwg-dxf-viewer-sample.pages.dev/`), because the build embeds the components listed here. Served copies of the license texts live under [`public/licenses/`](./public/licenses/) → `/licenses/…` on the deployed site. --- ## acadrust 0.6.5 — Mozilla Public License 2.0 — unmodified | | | |---|---| | Component | `acadrust` (DWG/DXF parser, Rust) | | Version | 0.6.5 | | License | MPL-2.0 — full text: [`public/licenses/acadrust-MPL-2.0.txt`](./public/licenses/acadrust-MPL-2.0.txt) (`/licenses/acadrust-MPL-2.0.txt`) | | Upstream | https://github.com/hakanaktt/acadrust · https://crates.io/crates/acadrust/0.6.5 | | Upstream commit | `289a616da6c68518218594aa80802cbe7fa71309` (from the crate's `.cargo_vcs_info.json`) | | Crate SHA-256 | `5eaa72520f70eb6f7f09b06f44e1ed0d8fad5fa743364f2c3715c30df962ec7c` (the `Cargo.lock` checksum the build used) | | Author | Hakan AK | | Shipped as | compiled into `assets/acadrust_dwg_bg-*.wasm` (Executable Form) | **This copy is not modified.** The `.wasm` is built from the published crate exactly as crates.io serves it. ### How to obtain the Source Code Form (MPL-2.0 §3.2) Download the crate, which is the complete source compiled into the shipped `.wasm`: ```bash curl -L -o acadrust-0.6.5.crate https://static.crates.io/crates/acadrust/acadrust-0.6.5.crate tar xzf acadrust-0.6.5.crate ``` or `cargo vendor` in any project that depends on `acadrust = "=0.6.5"`, or the upstream commit above. --- ## dwg-wasm — MIT The wasm-bindgen wrapper that turns acadrust output into this viewer's `parseResult` (`hmwebviewer/rust/dwg-wasm/`). Our own code, MIT. MPL-2.0 §3.3 permits distributing this Larger Work under different terms as long as the MPL-covered files above keep their license — which they do. --- ## Other components | Component | License | |---|---| | three.js | MIT | | dxf-parser | MIT | | opentype.js | MIT | | NanumGothic (`public/fonts/`) | SIL Open Font License 1.1 | | Viewer2D / sample glue | MIT |