[package]
edition = "2021"
name = "oops-sh"
version = "0.2.0"
build = false
include = [
"/src/**",
"/README.md",
"/LICENSE-MIT",
"/LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Undo for your terminal: run any command in a sandbox, then undo or commit it. Installs the `oops` binary (Linux via OverlayFS, macOS via APFS snapshots; other platforms refuse to run rather than run unsandboxed)."
readme = "README.md"
keywords = [
"undo",
"sandbox",
"cli",
"safety",
"overlayfs",
]
categories = [
"command-line-utilities",
"development-tools",
"filesystem",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/oops-sh/oops"
[[bin]]
name = "oops"
path = "src/main.rs"
[dependencies.anyhow]
version = "1.0.103"
[dependencies.clap]
version = "4.6.1"
features = ["derive"]
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.150"
[dev-dependencies.serde_json]
version = "1.0.150"
[dev-dependencies.tempfile]
version = "3.27.0"
[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2.186"
[target.'cfg(target_os = "linux")'.dependencies.nix]
version = "0.31.3"
features = [
"mount",
"sched",
"fs",
]
[target.'cfg(target_os = "linux")'.dev-dependencies.libc]
version = "0.2.186"
[target.'cfg(target_os = "macos")'.dependencies.libc]
version = "0.2.186"