This commit is contained in:
Robin Appelman 2025-05-30 19:18:43 +02:00
commit 22855e4099
4 changed files with 3 additions and 4 deletions

2
Cargo.lock generated
View file

@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo. # This file is automatically @generated by Cargo.
# It is not intended for manual editing. # It is not intended for manual editing.
version = 4 version = 3
[[package]] [[package]]
name = "aabb-quadtree" name = "aabb-quadtree"

View file

@ -2,12 +2,13 @@
name = "sourcenav" name = "sourcenav"
version = "0.3.0" version = "0.3.0"
authors = ["Robin Appelman <robin@icewind.nl>"] authors = ["Robin Appelman <robin@icewind.nl>"]
edition = "2018" edition = "2021"
description = "parsing of SourceEngine .nav files" description = "parsing of SourceEngine .nav files"
license = "AGPL-3.0" license = "AGPL-3.0"
repository = "https://codeberg.org/icewind/sourcenav" repository = "https://codeberg.org/icewind/sourcenav"
documentation = "https://docs.rs/sourcenav" documentation = "https://docs.rs/sourcenav"
readme = "README.md" readme = "README.md"
rust-version = "1.81.0"
[dependencies] [dependencies]
binrw = "0.15.0" binrw = "0.15.0"

View file

@ -3,7 +3,6 @@ use aabb_quadtree::Spatial;
use binrw::io::{Read, Seek}; use binrw::io::{Read, Seek};
use binrw::{BinRead, BinReaderExt, BinResult, Endian}; use binrw::{BinRead, BinReaderExt, BinResult, Endian};
use euclid::{TypedPoint2D, TypedSize2D}; use euclid::{TypedPoint2D, TypedSize2D};
use std::convert::TryFrom;
use std::fmt; use std::fmt;
use std::fmt::Debug; use std::fmt::Debug;
use std::ops::Index; use std::ops::Index;

View file

@ -1,7 +1,6 @@
pub use crate::navmesh::NavArea; pub use crate::navmesh::NavArea;
use binrw::io::{Read, Seek}; use binrw::io::{Read, Seek};
use binrw::{BinRead, BinReaderExt}; use binrw::{BinRead, BinReaderExt};
use std::convert::TryFrom;
use thiserror::Error; use thiserror::Error;
/// Errors that can occur when parsing the binary nav file /// Errors that can occur when parsing the binary nav file