You've already forked AstralRinth
forked from didirus/AstralRinth
* tweak(path-util): addendum to #4482 These changes improve on those introduced in #4482 in two ways: - The serialization logic for `SafeRelativeUtf8UnixPathBuf` now more closely mirrors the deserialization checks, reducing the chance that a generated path will fail to deserialize. While unlikely in practice, catching such theoretical cases earlier improves the experience for users and developers. - After deeper testing on a clean Windows 10 VM, I found that reserved device names can have both an extension and an alternate data stream appended, not just one or the other. These changes handle that case more gracefully. * chore: fix typos, add tests * fix(path-util): extend `SafeRelativeUtf8UnixPathBuf` contract to allow `.` components While quite useless, they were accepted by previous app versions, the `.mrpack` specification does not forbid them, and they do not pose security issues, so accept them for backwards compatibility.
13 lines
242 B
TOML
13 lines
242 B
TOML
[package]
|
|
name = "path-util"
|
|
edition.workspace = true
|
|
|
|
[dependencies]
|
|
typed-path.workspace = true
|
|
serde.workspace = true
|
|
derive_more = { workspace = true, features = ["display", "deref"] }
|
|
itertools.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|