mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-12 08:52:32 +00:00
PhotoCraft's `photocraft-psd` crate (crates/psd at storytold/photocraft 63b641b55e54bf8f5c83efd977fdb16a2c255431) as `craft-psd`: the lossless PSD/PSB model, reader, writer and builder, descriptors, the Photoshop resource files that share its primitives (.abr, .asl, .aco, .act, .ase, .grd, .pat, .atn, .csh, .shc) and the Photoshop blocks of a layered TIFF. The crate had no dependency on any other PhotoCraft crate. Code is unchanged apart from the crate name, craft-libs' rustfmt width, comments that named other PhotoCraft crates, issue references (now `photocraft#N`), and the corpus tests' directory (`CRAFT_PSD_CORPUS` or `corpus/` at the workspace root). Tests, proptests, fuzz targets and fixtures move with it. Part of #778, #786.
116 lines
1.7 KiB
TOML
116 lines
1.7 KiB
TOML
[package]
|
|
name = "craft-psd-fuzz"
|
|
version = "0.0.0"
|
|
publish = false
|
|
edition = "2024"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
# Its own workspace: cargo-fuzz needs nightly and sanitizer flags, so this crate stays out of the
|
|
# craft-libs workspace and its lockfile.
|
|
[workspace]
|
|
|
|
[package.metadata]
|
|
cargo-fuzz = true
|
|
|
|
[dependencies]
|
|
libfuzzer-sys = "0.4"
|
|
craft-psd = { path = ".." }
|
|
|
|
[[bin]]
|
|
name = "parse"
|
|
path = "fuzz_targets/parse.rs"
|
|
test = false
|
|
doc = false
|
|
bench = false
|
|
|
|
[[bin]]
|
|
name = "descriptor"
|
|
path = "fuzz_targets/descriptor.rs"
|
|
test = false
|
|
doc = false
|
|
bench = false
|
|
|
|
[[bin]]
|
|
name = "abr"
|
|
path = "fuzz_targets/abr.rs"
|
|
test = false
|
|
doc = false
|
|
bench = false
|
|
|
|
[[bin]]
|
|
name = "asl"
|
|
path = "fuzz_targets/asl.rs"
|
|
test = false
|
|
doc = false
|
|
bench = false
|
|
|
|
[[bin]]
|
|
name = "image_source_data"
|
|
path = "fuzz_targets/image_source_data.rs"
|
|
test = false
|
|
doc = false
|
|
bench = false
|
|
|
|
[[bin]]
|
|
name = "grd"
|
|
path = "fuzz_targets/grd.rs"
|
|
test = false
|
|
doc = false
|
|
bench = false
|
|
|
|
[[bin]]
|
|
name = "ase"
|
|
path = "fuzz_targets/ase.rs"
|
|
test = false
|
|
doc = false
|
|
bench = false
|
|
|
|
[[bin]]
|
|
name = "aco"
|
|
path = "fuzz_targets/aco.rs"
|
|
test = false
|
|
doc = false
|
|
bench = false
|
|
|
|
[[bin]]
|
|
name = "patterns"
|
|
path = "fuzz_targets/patterns.rs"
|
|
test = false
|
|
doc = false
|
|
bench = false
|
|
|
|
[[bin]]
|
|
name = "filter_effects"
|
|
path = "fuzz_targets/filter_effects.rs"
|
|
test = false
|
|
doc = false
|
|
bench = false
|
|
|
|
[[bin]]
|
|
name = "metadata"
|
|
path = "fuzz_targets/metadata.rs"
|
|
test = false
|
|
doc = false
|
|
bench = false
|
|
|
|
[[bin]]
|
|
name = "tagged"
|
|
path = "fuzz_targets/tagged.rs"
|
|
test = false
|
|
doc = false
|
|
bench = false
|
|
|
|
[[bin]]
|
|
name = "resources"
|
|
path = "fuzz_targets/resources.rs"
|
|
test = false
|
|
doc = false
|
|
bench = false
|
|
|
|
[[bin]]
|
|
name = "atn"
|
|
path = "fuzz_targets/atn.rs"
|
|
test = false
|
|
doc = false
|
|
bench = false
|