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

24
flake.lock generated
View file

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

View file

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