5 releases

0.1.0 Apr 8, 2025
0.0.4 Jan 20, 2025
0.0.3 Aug 28, 2024
0.0.2 Jul 12, 2024
0.0.1 Jul 12, 2024

#33 in Data formats

Download history 119/week @ 2025-01-20 2/week @ 2025-01-27 11/week @ 2025-02-03 6/week @ 2025-02-10 21/week @ 2025-02-17 21/week @ 2025-02-24 9/week @ 2025-03-03 4/week @ 2025-03-10 1/week @ 2025-03-17 3/week @ 2025-03-31 151/week @ 2025-04-07 8/week @ 2025-04-14 1/week @ 2025-04-21

163 downloads per month

Apache-2.0

61KB
1K SLoC

vrm-spec

Data structures for the VRM Format.

Schema definitions: http://github.com/vrm-c/vrm-specification

Example

use vrm_spec::vrmc_vrm_1_0::{VRMCVrmSchema, VRMC_VRM};

let file = include_bytes!("../../../fixtures/VRM1_Constraint_Twist_Sample.vrm");
let (doc, _, _) = gltf::import_slice(file).expect("ok");
let value = doc.extension_value(VRMC_VRM).expect("exist");
let vrmc_vrm: VRMCVrmSchema = serde_json::from_value(value.to_owned()).expect("ok");
// do something with vrm

Dependencies

~0.6–1.6MB
~35K SLoC