6 releases
| 0.2.4 | Jun 24, 2025 |
|---|---|
| 0.2.3 | Sep 1, 2023 |
| 0.2.2 | Aug 25, 2023 |
| 0.1.0 | Aug 3, 2023 |
#41 in Data formats
62 downloads per month
17KB
266 lines
gltf-validator
A rust library and binary wrapper around the Khronos group glTF-Validator tool.
Use it like this to validate a glTF file:
use gltf_validator::GltfValidator;
let validator = GltfValidator::new().unwrap();
let report = validator.run(&std::path::PathBuf::from("tests/cube.glb")).unwrap();
assert_eq!(report.issues.num_errors, 0);
Publishing a new release
We have a GitHub action that pushes our releases here. It is triggered by pushing a new tag. So do the following:
- Bump the version in
Cargo.toml. Commit it and push it up to the repo. - Create a tag with the new version:
git tag -sa v$(VERSION) -m "v$(VERSION)" - Push the tag to the repo:
git push origin v$(VERSION)
Dependencies
~5–20MB
~242K SLoC