mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-25 20:14:31 +01:00
storytold main 83cb1133dd (291 commits) into the integration head bab1a99b85; 47 conflicted files.
- Domain test files (metafile, prepress, pdf plates, settings store, heif, media-testkit, atomic): tests next cut stay cut; tests new on main are kept, as trials where the crate's test target runs trials.
- atomic: main's group-bits test and Faulty::set_group go to src/tests.rs. audio: main's GSM and SBC oracles join tests/main.rs. cms constructors, pdf knockout_backdrop and testing_pdf join their crates' one test binary; timeline's preflight tests become src/preflight_tests.rs trials.
- update: main's changes to detect, install (linux, macos) and the tests land in next's split modules. The app's own offer is inspected on a thread of its own, picked up by tick's polling; settle_for_tests settles offers too. Later on a ready update drops the close it asked for. updater_pin_tests.rs stays deleted; its new pin test is in tests/it/update.rs.
- craft-color: main added a different crate at crates/color (the colour tags of compositor and display frames); it is next's craft-color module `tags`, re-exported at the root.
- Old crates/ui (combo, docking, testing, README) and keymap's ui/view.rs stay deleted; main's new crates/ui/src/testing files are dropped with them.
- New crates in the craft facade: ai, control, dds, frame, ipc, media-source, palette, press-print, score, ssip. testkit and xtask are listed outside it.
- Cargo.lock: the union of both locks, resolved by cargo metadata. Workflow: main's nextest Windows leg, with next's --keep-going clippy.
70 lines
2.6 KiB
TOML
70 lines
2.6 KiB
TOML
[package]
|
|
name = "craft-update"
|
|
description = "Release checking, downloading, installing and self-updating for the Craft App Suite and ArtCraft Launcher"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
autotests = false
|
|
|
|
[lib]
|
|
# The lib's test target is the crate's one test executable: its trials and, with `screen-testing`, the
|
|
# screen tests in tests/it.
|
|
harness = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
# Opt-in migration of first party Flatpak bundles to the ArtCraft OCI remote.
|
|
oci_migration = []
|
|
default = []
|
|
ui = ["dep:egui", "dep:image", "dep:craft-ui", "dep:craft-host", "dep:craft-theme"]
|
|
# The dialog stories, the updater's test seams and the integration binary `tests/it`.
|
|
screen-testing = ["ui", "craft-ui/testing"]
|
|
|
|
[dependencies]
|
|
egui = { workspace = true, optional = true }
|
|
craft-ui = { workspace = true, optional = true }
|
|
# `Tone` for the dialogs' notices.
|
|
craft-theme = { workspace = true, optional = true }
|
|
# `Host::app`: the name the update dialogs show.
|
|
craft-host = { workspace = true, features = ["ui"], optional = true }
|
|
# Decodes the app icon the update dialogs show (`App::icon_png`); PNG only.
|
|
image = { version = "0.25", default-features = false, features = ["png"], optional = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
log = "0.4"
|
|
tempfile = "3"
|
|
sha2 = "0.10"
|
|
ureq = { version = "3.4", default-features = false, features = ["rustls-no-provider", "_ring", "gzip", "platform-verifier"] }
|
|
chrono = { workspace = true }
|
|
semver = { version = "1", features = ["serde"] }
|
|
|
|
[dev-dependencies]
|
|
craft-ui = { workspace = true, features = ["testing"] }
|
|
flate2 = "1"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
flate2 = "1"
|
|
tar = { version = "0.4", default-features = false }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
plist = "1"
|
|
|
|
[target.'cfg(any(target_os = "macos", target_os = "linux"))'.dependencies]
|
|
rustix = { version = "1.1", default-features = false, features = ["std", "fs", "process"] }
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
winreg = "0.55"
|
|
dunce = "1"
|
|
# `deflate-flate2` with flate2's default miniz_oxide backend, not zip's `deflate` (zopfli and
|
|
# zlib-rs): Cargo unifies flate2's features across an app, and zlib-rs would switch the whole
|
|
# app's flate2 to it, where level 1 is a static-Huffman mode that can make output larger than
|
|
# its input (Lightcraft's 16-bit ZIP TIFFs on Windows).
|
|
zip = { version = "9", default-features = false, features = ["deflate-flate2"] }
|
|
flate2 = "1"
|
|
winsafe = { version = "0.0.29", features = ["advapi", "kernel", "shell", "version"] }
|
|
verifysign = "1"
|