This commit is contained in:
Robin Appelman 2024-05-03 21:50:32 +02:00
commit 0d0b3bf3ec
4 changed files with 516 additions and 606 deletions

1071
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,38 +1,38 @@
[package] [package]
name = "vmdl" name = "vmdl"
version = "0.1.1" version = "0.2.0"
edition = "2021" edition = "2021"
description = "Rust parser for valve model files." description = "Rust parser for valve model files."
repository = "https://github.com/icewind1991/vmdl" repository = "https://github.com/icewind1991/vmdl"
license = "MIT" license = "MIT"
exclude = ["data"] exclude = ["data"]
rust-version = "1.62.0" rust-version = "1.70.0"
[dependencies] [dependencies]
arrayvec = "0.7.2" arrayvec = "0.7.4"
thiserror = "1.0.37" thiserror = "1.0.59"
static_assertions = "1.1.0" static_assertions = "1.1.0"
bitflags = "2.4.1" bitflags = "2.5.0"
itertools = "0.12.0" itertools = "0.12.1"
tracing = "0.1.37" tracing = "0.1.40"
bytemuck = { version = "1.14.0", features = ["derive"] } bytemuck = { version = "1.15.0", features = ["derive"] }
cgmath = "0.18.0" cgmath = "0.18.0"
num_enum = "0.7.1" num_enum = "0.7.2"
[dev-dependencies] [dev-dependencies]
three-d = { version = "0.14.0", features = ["egui-gui"] } three-d = { version = "0.14.0", features = ["egui-gui"] }
miette = { version = "5.5.0", features = ["fancy"] } miette = { version = "7.2.0", features = ["fancy", "derive"] }
criterion = "0.4.0" criterion = "0.5.1"
iai = "0.1" iai = "0.1"
vtf = "0.1.6" vtf = "0.2.1"
tracing = "0.1.40" tracing = "0.1.40"
tracing-subscriber = "0.3.18" tracing-subscriber = "0.3.18"
gltf-json = "=1.3.0" gltf-json = "=1.3.0"
gltf = "=1.3.0" gltf = "=1.3.0"
image = "0.23.14" image = "0.24.9"
clap = { version = "4.4.11", features = ["derive"] } clap = { version = "4.4.18", features = ["derive"] }
main_error = "0.1.2" main_error = "0.1.2"
vmt-parser = "0.1" vmt-parser = "0.2"
tf-asset-loader = "0.1" tf-asset-loader = "0.1"
[[bench]] [[bench]]

24
flake.lock generated
View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1698420672, "lastModified": 1713520724,
"narHash": "sha256-/TdeHMPRjjdJub7p7+w55vyABrsJlt5QkznPYy55vKA=", "narHash": "sha256-CO8MmVDmqZX2FovL75pu5BvwhW+Vugc7Q6ze7Hj8heI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "naersk", "repo": "naersk",
"rev": "aeb58d5e8faead8980a807c840232697982d47b9", "rev": "c5037590290c6c7dae2e42e7da1e247e54ed2d49",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -22,11 +22,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1701952659, "lastModified": 1714531828,
"narHash": "sha256-TJv2srXt6fYPUjxgLAL0cy4nuf1OZD4KuA1TrCiQqg0=", "narHash": "sha256-ILsf3bdY/hNNI/Hu5bSt2/KbmHaAVhBbNUOdGztTHEg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b4372c4924d9182034066c823df76d6eaf1f4ec4", "rev": "0638fe2715d998fa81d173aad264eb671ce2ebc1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -53,11 +53,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1702088052, "lastModified": 1714702555,
"narHash": "sha256-FkwIBTAMsxyceQce0Mbm+/+cOjj2r5IHBK4R/ekPNaw=", "narHash": "sha256-/NoUbE5S5xpK1FU3nlHhQ/tL126+JcisXdzy3Ng4pDU=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "2cfb76b8e836a26efecd9f853bea78355a11c58a", "rev": "7f0e3ef7b7fbed78e12e5100851175d28af4b7c6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -86,11 +86,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1701680307, "lastModified": 1710146030,
"narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=", "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "4022d587cbbfd70fe950c1e2083a02621806a725", "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -75,8 +75,7 @@
}; };
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [
rustc toolchain
cargo
bacon bacon
cargo-edit cargo-edit
cargo-outdated cargo-outdated