[package]
edition = "2024"
rust-version = "1.99"
name = "unityrs-testkit"
version = "1.1.0"
authors = ["Scott Benes <scobenes@gmail.com>"]
build = false
include = [
"/src/**",
"/LICENSE-*",
"/NOTICE-*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Synthetic Unity files built in code, for unityrs's own tests and the CLI's test hooks; not a stable API. Never game data."
readme = "README.md"
keywords = [
"unity",
"testing",
"fixtures",
"synthetic",
"assetbundle",
]
categories = [
"development-tools::testing",
"game-development",
]
license = "(MIT OR Apache-2.0) AND MIT"
repository = "https://github.com/scobenes/unityrs"
[features]
test-counters = [
"dep:unityrs-core",
"unityrs-core/test-counters",
]
[lib]
name = "unityrs_testkit"
path = "src/lib.rs"
[dependencies.libc]
version = "=0.2.191"
[dependencies.liblzma]
version = "=0.4.9"
features = ["static"]
[dependencies.lz4_flex]
version = "=0.14.0"
features = [
"std",
"safe-encode",
"safe-decode",
]
default-features = false
[dependencies.unityrs-core]
version = "1.1.0"
optional = true
[dev-dependencies.serde_json]
version = "=1.0.154"
[dev-dependencies.sha2]
version = "=0.11.1"
[lints.clippy]
missing_errors_doc = "allow"
module_name_repetitions = "allow"
todo = "forbid"
unimplemented = "forbid"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(unityrs_no_counters)"]