Files
craft-anything/crates/engine/Cargo.toml
FredApps 239dc0536a Take target file signatures from the shared craft-sniff table (R3.12) (#1948)
* Take target file signatures from the shared craft-sniff table

* Pin craft-sniff to the craft-libs #1841 merge and record the cutover

The shared table is on main at 070005125f0af1a5ae4a59002270e5849505bfc0.

* Keep named-but-unsupported formats as Unknown

A CPIO file starting 070701 was identified by craft-sniff, then fell
through to the unsigned path and was called text. Identified kinds this
app does not inspect stay Unknown; the unsigned fallback is only for
files with no signature.
2026-11-16 14:40:58 +01:00

48 lines
1.6 KiB
TOML

[package]
name = "craft-anything-engine"
description = "Craft Anything engine: session, projects, the tool registry every surface dispatches through, settings and jobs"
version.workspace = true
edition.workspace = true
license.workspace = true
publish = false
[lints]
workspace = true
[dependencies]
craft-anything-evidence = { workspace = true }
craft-anything-formats = { workspace = true }
craft-anything-disasm = { workspace = true }
craft-anything-js = { workspace = true }
craft-anything-analysis = { workspace = true }
craft-anything-platform = { workspace = true }
craft-anything-engines = { workspace = true }
craft-sniff = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
serde_path_to_error = { workspace = true }
schemars = { workspace = true }
bitflags = { workspace = true }
thiserror = { workspace = true }
log = { workspace = true }
toml = { workspace = true }
sha2 = { workspace = true }
hex = { workspace = true }
regex = { workspace = true }
dirs = "6"
# Browser (Chrome DevTools Protocol) client: hand-rolled WebSocket framing needs only a SHA-1 and
# base64 for the loopback handshake; PNG decoding is for screenshot pixel diffs. All pure Rust.
base64 = "0.22"
png = "0.17"
# The person's reference pictures may be JPEG, WebP or GIF (decoders only; pure Rust, MIT/Apache).
image = { version = "0.25", default-features = false, features = ["jpeg", "webp", "gif"] }
[features]
# WASM component plugins (R1.8): compiles wasmtime, so off by default.
wasm-plugins = ["craft-anything-engines/wasm-plugins"]
[dev-dependencies]
sha1 = "0.10"
craft-anything-testkit = { workspace = true }
tempfile = "3"