mirror of
https://github.com/storytold/craft-libs.git
synced 2026-12-01 10:48:15 +01:00
# Conflicts: # Cargo.lock # README.md # crates/testkit/Cargo.toml # crates/testkit/README.md # crates/testkit/src/lib.rs
29 lines
990 B
TOML
29 lines
990 B
TOML
[package]
|
|
name = "craft-testkit"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
description = "Source-level platform regression guards, test deadlines, hostile-input helpers, a reentrant test lock and skip-or-fail helpers for the Craft application suite"
|
|
publish = false
|
|
|
|
[features]
|
|
# Pinned-corpus manifests and the `corpus::pinned` test gate (native only).
|
|
corpus = ["dep:sha2", "dep:libc"]
|
|
# `font-coverage`: `skip::craft_fonts_cover`, which parses font data with skrifa.
|
|
font-coverage = ["dep:skrifa"]
|
|
|
|
[dependencies]
|
|
sha2 = { version = "0.10", default-features = false, features = ["std"], optional = true }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
skrifa = { workspace = true, optional = true }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = { version = "0.2", optional = true }
|
|
rustix = { version = "1.1", default-features = false, features = ["std", "fs"] }
|
|
|
|
[lints]
|
|
workspace = true
|