2022-07-19 19:29:41 -04:00
|
|
|
[package]
|
|
|
|
name = "physis"
|
2024-06-27 23:02:54 -04:00
|
|
|
version = "0.4.0"
|
2022-07-19 19:29:41 -04:00
|
|
|
authors = ["Joshua Goins <josh@redstrate.com>"]
|
2025-03-06 15:57:10 -05:00
|
|
|
edition = "2024"
|
2025-03-10 15:58:00 -04:00
|
|
|
description = "Library for reading and writing FFXIV data."
|
2022-07-19 19:29:41 -04:00
|
|
|
license = "GPL-3.0"
|
|
|
|
homepage = "https://xiv.zone/physis"
|
2024-05-22 20:53:51 -04:00
|
|
|
repository = "https://github.com/redstrate/Physis"
|
2022-07-19 19:29:41 -04:00
|
|
|
keywords = ["ffxiv", "modding"]
|
2022-09-13 16:55:50 -04:00
|
|
|
documentation = "https://docs.xiv.zone/docs/physis/"
|
|
|
|
readme = "README.md"
|
2022-07-19 19:29:41 -04:00
|
|
|
|
2023-09-24 16:19:08 -04:00
|
|
|
[profile.release]
|
|
|
|
lto = true
|
|
|
|
|
2022-07-19 19:29:41 -04:00
|
|
|
[[bench]]
|
2024-04-20 11:13:40 -04:00
|
|
|
name = "benchmark"
|
2022-07-19 19:29:41 -04:00
|
|
|
harness = false
|
|
|
|
|
2024-04-20 11:13:40 -04:00
|
|
|
[[bench]]
|
|
|
|
name = "retail_benchmark"
|
|
|
|
harness = false
|
|
|
|
required-features = ["retail_game_testing"]
|
2022-10-24 15:04:13 -04:00
|
|
|
|
2022-07-19 19:29:41 -04:00
|
|
|
[dev-dependencies]
|
2022-10-13 16:05:15 -04:00
|
|
|
hmac-sha512 = "1"
|
2022-10-25 13:53:24 -04:00
|
|
|
|
|
|
|
# used while rust doesn't have native benchmarking capability
|
2024-04-20 11:13:40 -04:00
|
|
|
brunch = { version = "0.5.3", default-features = false }
|
2022-10-25 13:53:24 -04:00
|
|
|
|
2024-04-29 18:57:15 -04:00
|
|
|
# used for testing our crc implementations
|
|
|
|
crc = "3"
|
2022-07-19 19:29:41 -04:00
|
|
|
|
2022-07-27 20:58:12 -04:00
|
|
|
[features]
|
2025-03-11 16:25:59 -04:00
|
|
|
default = []
|
2022-10-25 13:53:24 -04:00
|
|
|
|
|
|
|
# testing only features
|
2022-07-27 20:58:12 -04:00
|
|
|
retail_game_testing = []
|
2025-03-11 16:25:59 -04:00
|
|
|
patch_testing = []
|
2022-07-27 20:58:12 -04:00
|
|
|
|
2022-07-19 19:29:41 -04:00
|
|
|
[dependencies]
|
2022-08-06 18:15:33 -04:00
|
|
|
# amazing binary parsing/writing library
|
2024-06-28 06:16:20 -04:00
|
|
|
binrw = { version = "0.14", features = ["std"], default-features = false }
|
2022-08-06 18:15:33 -04:00
|
|
|
|
2024-06-28 06:16:20 -04:00
|
|
|
tracing = { version = "0.1", features = ["std"], default-features = false }
|
2023-04-06 14:51:40 -04:00
|
|
|
|
2022-08-06 18:15:33 -04:00
|
|
|
# used for zlib compression in sqpack files
|
2025-03-11 16:25:59 -04:00
|
|
|
libz-rs-sys = { version = "0.4", features = ["std", "rust-allocator"], default-features = false }
|
2022-08-06 18:15:33 -04:00
|
|
|
|
2023-12-02 20:33:08 -05:00
|
|
|
# needed for half-float support which FFXIV uses in its model data
|
2025-03-11 16:25:59 -04:00
|
|
|
half = { version = "2", features = ["std"], default-features = false }
|
2022-08-06 18:15:33 -04:00
|
|
|
|
2022-08-11 09:23:15 -04:00
|
|
|
# needed for c-style bitflags used in some formats (such as tex files)
|
2023-03-31 17:29:53 -04:00
|
|
|
# cannot upgrade to 2.0.0, breaking changes that aren't recoverable: https://github.com/bitflags/bitflags/issues/314
|
2025-03-11 16:25:59 -04:00
|
|
|
bitflags = { version = "1.3", default-features = false }
|