[package]
edition = "2024"
rust-version = "1.98"
name = "nibkeep-cli"
version = "0.1.0"
build = "build.rs"
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "nib, the generic command-line tool for NibKeep"
readme = "README.md"
keywords = [
"local-first",
"peer-to-peer",
"sync",
"personal-data",
"encryption",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nibkeep/nibkeep"
[lib]
name = "nibkeep_cli"
path = "src/lib.rs"
[[bin]]
name = "nib"
path = "src/main.rs"
[[bin]]
name = "nibkeep-sync"
path = "src/bin/nibkeep-sync.rs"
doc = false
[[test]]
name = "at_login"
path = "tests/at_login.rs"
[[test]]
name = "backups"
path = "tests/backups.rs"
[[test]]
name = "checkouts"
path = "tests/checkouts.rs"
[[test]]
name = "commands"
path = "tests/commands.rs"
[[test]]
name = "development"
path = "tests/development.rs"
[[test]]
name = "devices"
path = "tests/devices.rs"
[[test]]
name = "edit"
path = "tests/edit.rs"
[[test]]
name = "entities"
path = "tests/entities.rs"
[[test]]
name = "export"
path = "tests/export.rs"
[[test]]
name = "files"
path = "tests/files.rs"
[[test]]
name = "history"
path = "tests/history.rs"
[[test]]
name = "imports"
path = "tests/imports.rs"
[[test]]
name = "init"
path = "tests/init.rs"
[[test]]
name = "keystore"
path = "tests/keystore.rs"
[[test]]
name = "kinds"
path = "tests/kinds.rs"
[[test]]
name = "languages"
path = "tests/languages.rs"
[[test]]
name = "links"
path = "tests/links.rs"
[[test]]
name = "mcp"
path = "tests/mcp.rs"
[[test]]
name = "merges"
path = "tests/merges.rs"
[[test]]
name = "nibkeep_sync"
path = "tests/nibkeep_sync.rs"
[[test]]
name = "passwords"
path = "tests/passwords.rs"
[[test]]
name = "pipes"
path = "tests/pipes.rs"
[[test]]
name = "policies"
path = "tests/policies.rs"
[[test]]
name = "protect"
path = "tests/protect.rs"
[[test]]
name = "purge"
path = "tests/purge.rs"
[[test]]
name = "purges"
path = "tests/purges.rs"
[[test]]
name = "recovery"
path = "tests/recovery.rs"
[[test]]
name = "secret_files"
path = "tests/secret_files.rs"
[[test]]
name = "secrets"
path = "tests/secrets.rs"
[[test]]
name = "spaces"
path = "tests/spaces.rs"
[[test]]
name = "thumbnails"
path = "tests/thumbnails.rs"
[[test]]
name = "time"
path = "tests/time.rs"
[[test]]
name = "timings"
path = "tests/timings.rs"
[[test]]
name = "trees"
path = "tests/trees.rs"
[[test]]
name = "types"
path = "tests/types.rs"
[[test]]
name = "verify"
path = "tests/verify.rs"
[[test]]
name = "version"
path = "tests/version.rs"
[dependencies.clap]
version = "4.6"
features = [
"derive",
"env",
]
[dependencies.ctrlc]
version = "3.5"
features = ["termination"]
[dependencies.directories]
version = "6.0"
[dependencies.gethostname]
version = "1.1"
[dependencies.getrandom]
version = "0.4"
features = ["sys_rng"]
[dependencies.jiff]
version = "0.2.38"
[dependencies.keyring-core]
version = "1.0"
[dependencies.nibkeep-base]
version = "0.1.0"
[dependencies.nibkeep-crypto]
version = "0.1.0"
[dependencies.nibkeep-git]
version = "0.1.0"
[dependencies.nibkeep-import]
version = "0.1.0"
[dependencies.nibkeep-model]
version = "0.1.0"
[dependencies.nibkeep-node]
version = "0.1.0"
[dependencies.nibkeep-passwords]
version = "0.1.0"
[dependencies.nibkeep-std]
version = "0.1.0"
[dependencies.nibkeep-thumbnails]
version = "0.1.0"
[dependencies.nibkeep-time]
version = "0.1.0"
[dependencies.rpassword]
version = "7.5"
[dependencies.serde_json]
version = "1.0"
[dependencies.sys-locale]
version = "0.3.2"
[dependencies.thiserror]
version = "2.0"
[dependencies.whoami]
version = "2.1"
features = ["std"]
default-features = false
[dependencies.zeroize]
version = "1.8"
[dev-dependencies.image]
version = "0.25.10"
features = [
"bmp",
"gif",
"jpeg",
"png",
"tiff",
"webp",
]
default-features = false
[dev-dependencies.zip]
version = "9.5"
features = ["deflate-flate2"]
default-features = false
[target.'cfg(all(unix, not(any(target_os = "macos", target_os = "ios", target_os = "android"))))'.dependencies.secret-service]
version = "5.2"
features = ["rt-async-io-crypto-rust"]
default-features = false
[target.'cfg(all(unix, not(any(target_os = "macos", target_os = "ios", target_os = "android"))))'.dependencies.zbus-secret-service-keyring-store]
version = "1.0"
features = ["rt-async-io-crypto-rust"]
[target.'cfg(target_os = "macos")'.dependencies.apple-native-keyring-store]
version = "1.0"
features = ["keychain"]
[target.'cfg(target_os = "windows")'.dependencies.windows-native-keyring-store]
version = "1.1"
default-features = false
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"