[package]
edition = "2021"
rust-version = "1.92"
name = "storm-ffi"
version = "0.7.0"
authors = ["Daniel S. Reichenbach <daniel@kogito.network>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "StormLib-compatible C API for the World of Warcraft MPQ archive library"
homepage = "https://github.com/wowemulation-dev/warcraft-rs"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/wowemulation-dev/warcraft-rs"
[package.metadata.capi]
header_name = "StormLib.h"
header_dir = "include"
rustflags = "-C link-arg=-Wl,-soname,libstorm.so.1"
[features]
default = ["wow-mpq/default"]
[lib]
name = "storm"
crate-type = [
"cdylib",
"staticlib",
]
path = "src/lib.rs"
[[test]]
name = "test_archive_modification"
path = "tests/test_archive_modification.rs"
[[test]]
name = "test_ffi_integration"
path = "tests/test_ffi_integration.rs"
[dependencies.crc32fast]
version = "1.4"
[dependencies.libc]
version = "0.2.180"
[dependencies.log]
version = "0.4"
[dependencies.md-5]
version = "0.10"
[dependencies.wow-mpq]
version = "0.7.0"
[dev-dependencies.tempfile]
version = "3.24"
[build-dependencies.cbindgen]
version = "0.29"