[package]
edition = "2021"
rust-version = "1.88"
name = "slipcase-open"
version = "0.2.1"
authors = ["David M. Anderson"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Open the content file of a Slipcase container in its own application, and write edits back into the container"
readme = "README.md"
keywords = [
"slipcase",
"container",
"gui",
"egui",
]
categories = [
"gui",
"filesystem",
]
license = "MIT"
repository = "https://github.com/excelano/slipcase-open"
[package.metadata.deb]
maintainer = "David M. Anderson <david.anderson@excelano.com>"
extended-description = """
slipcase-open opens the content file of a .slpc container in whatever application normally handles that kind of file, watches for edits, and writes them back into the container.
Double-click a container and the document opens; save it and the container is repacked around it. No flyleaf window, no preview, no container browsing — the companion viewer is what those are for."""
section = "utils"
priority = "optional"
depends = "libc6, libgcc-s1, slipcase-common, desktop-file-utils"
license-file = [
"LICENSE",
"0",
]
changelog = "debian/changelog"
assets = [
[
"target/release/slipcase-open",
"usr/bin/",
"755",
],
[
"packaging/linux/slipcase-open.desktop",
"usr/share/applications/",
"644",
],
[
"packaging/linux/open.toml",
"etc/slipcase/open.toml",
"644",
],
[
"packaging/man/slipcase-open.1",
"usr/share/man/man1/",
"644",
],
[
"README.md",
"usr/share/doc/slipcase-open/README.md",
"644",
],
]
[lib]
name = "slipcase_open"
path = "src/lib.rs"
[[bin]]
name = "slipcase-open"
path = "src/main.rs"
[[test]]
name = "the_process"
path = "tests/the_process.rs"
[dependencies.clap]
version = "4.6"
features = ["derive"]
[dependencies.crc32fast]
version = "1.5"
[dependencies.notify]
version = "8"
features = ["macos_fsevent"]
default-features = false
[dependencies.potext]
version = "0.1"
[dependencies.slpc]
version = "0.4.0"
features = [
"fs",
"provenance",
]
[dependencies.toml_edit]
version = "0.25"
[dev-dependencies.tempfile]
version = "3.27"
[dev-dependencies.zip]
version = "8.6"
features = ["deflate-flate2-zlib-rs"]
default-features = false
[target.'cfg(target_os = "linux")'.dependencies.zbus]
version = "5"
features = [
"blocking-api",
"async-io",
]
default-features = false
[target."cfg(windows)".dependencies.windows]
version = "0.62"
features = [
"Data_Xml_Dom",
"Foundation",
"Storage",
"Storage_Search",
"UI_Notifications",
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_System_Com",
"Win32_System_Console",
"Win32_System_LibraryLoader",
"Win32_System_Registry",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
]
[target."cfg(windows)".dependencies.windows-registry]
version = "0.6"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_Storage_Packaging_Appx",
"Win32_Security_Authorization",
"Win32_Storage_FileSystem",
"Win32_System_IO",
"Win32_System_Pipes",
"Win32_System_Threading",
]
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"