1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-05-07 11:07:45 +00:00
physis/Cargo.toml
Joshua Goins 3049014247 Rename integration_test to retail_test
Also make it use required-features instead of cfg attr'ing everything.
2025-04-28 21:49:41 -04:00

61 lines
1.6 KiB
TOML
Executable file

[package]
name = "physis"
version = "0.4.0"
authors = ["Joshua Goins <josh@redstrate.com>"]
edition = "2024"
description = "Library for reading and writing FFXIV data."
license = "GPL-3.0"
homepage = "https://xiv.zone/physis"
repository = "https://github.com/redstrate/Physis"
keywords = ["ffxiv", "modding"]
documentation = "https://docs.xiv.zone/docs/physis/"
readme = "README.md"
[profile.release]
lto = true
[[bench]]
name = "benchmark"
harness = false
[[bench]]
name = "retail_benchmark"
harness = false
required-features = ["retail_game_testing"]
[[test]]
name = "retail_test"
required-features = ["retail_game_testing"]
[dev-dependencies]
hmac-sha512 = "1"
# used while rust doesn't have native benchmarking capability
brunch = { version = "0.9", default-features = false }
# used for testing our crc implementations
crc = "3"
[features]
default = []
# testing only features
retail_game_testing = []
patch_testing = []
[dependencies]
# amazing binary parsing/writing library
binrw = { version = "0.14", features = ["std"], default-features = false }
# for logging
tracing = { version = "0.1", features = ["std"], default-features = false }
# used for zlib compression in sqpack files
libz-rs-sys = { version = "0.5", features = ["std", "rust-allocator"], default-features = false }
# needed for half-float support which FFXIV uses in its model data
half = { version = "2", features = ["std"], default-features = false }
# needed for c-style bitflags used in some formats (such as tex files)
# cannot upgrade to 2.0.0, breaking changes that aren't recoverable: https://github.com/bitflags/bitflags/issues/314
bitflags = { version = "1.3", default-features = false }