anyback 0.3.0-alpha

Backup and restore CLI for Anytype
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "anyback"
version = "0.3.0-alpha"
authors = ["Steve Schoettler <stevelr-git@pm.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Backup and restore CLI for Anytype"
homepage = "https://github.com/stevelr/anytype"
readme = "README.md"
keywords = [
    "anytype",
    "backup",
    "cli",
]
categories = ["command-line-utilities"]
license = "Apache-2.0"
repository = "https://github.com/stevelr/anytype"

[features]
cli = [
    "dep:anytype",
    "dep:anytype-rpc",
    "dep:chrono",
    "dep:clap",
    "dep:crossterm",
    "dep:image",
    "dep:serde_json",
    "dep:prost-types",
    "dep:ratatui",
    "dep:ratatui-image",
    "dep:tokio",
    "dep:tracing",
    "dep:tracing-subscriber",
    "dep:indicatif",
    "dep:tempfile",
    "dep:tonic",
    "dep:prost",
]
default = ["cli"]
snapshot-import = []

[lib]
name = "anyback_reader"
path = "src/lib.rs"

[[bin]]
name = "anyback"
path = "src/main.rs"
required-features = ["cli"]

[[test]]
name = "e2e_backup_restore"
path = "tests/e2e_backup_restore.rs"

[[test]]
name = "integrity_nightly"
path = "tests/integrity_nightly.rs"

[[test]]
name = "object_generator"
path = "tests/object_generator.rs"

[[test]]
name = "p1_cross_space"
path = "tests/p1_cross_space.rs"

[[test]]
name = "priority_groups"
path = "tests/priority_groups.rs"

[[test]]
name = "restore_matrix"
path = "tests/restore_matrix.rs"

[dependencies.anyhow]
version = "1.0.101"

[dependencies.anytype]
version = "0.3.1"
features = ["grpc"]
optional = true

[dependencies.anytype-rpc]
version = "0.3.0"
optional = true

[dependencies.chrono]
version = "0.4.43"
features = ["serde"]
optional = true

[dependencies.clap]
version = "4.5.59"
features = [
    "derive",
    "env",
]
optional = true

[dependencies.crossterm]
version = "0.28"
optional = true

[dependencies.image]
version = "0.25.9"
optional = true

[dependencies.indicatif]
version = "0.18"
optional = true

[dependencies.prost]
version = "0.14.3"
optional = true

[dependencies.prost-types]
version = "0.14.3"
optional = true

[dependencies.ratatui]
version = "0.30.0"
optional = true

[dependencies.ratatui-image]
version = "10.0.5"
features = [
    "crossterm",
    "image-defaults",
    "tokio",
]
optional = true
default-features = false

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"
optional = true

[dependencies.tempfile]
version = "3.25.0"
optional = true

[dependencies.tokio]
version = "1.49.0"
features = ["full"]
optional = true

[dependencies.tonic]
version = "0.14.4"
optional = true

[dependencies.tracing]
version = "0.1.44"
optional = true

[dependencies.tracing-subscriber]
version = "0.3.22"
features = ["env-filter"]
optional = true

[dependencies.zip]
version = "8.1.0"

[dev-dependencies.rand]
version = "0.9.2"

[dev-dependencies.tempfile]
version = "3.25.0"

[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies.nix]
version = "0.30.1"
features = ["fs"]
default-features = false