atomwrite 0.1.0

Atomic file operations CLI for LLM agents — read, write, edit, search, replace with NDJSON output
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"
rust-version = "1.85"
name = "atomwrite"
version = "0.1.0"
authors = ["Danilo Aguiar <daniloaguiarbr@pm.me>"]
build = "build.rs"
exclude = [
    ".claude/",
    ".vscode/",
    "docs_prd/",
    "docs_rules/",
    "CLAUDE.md",
    "AGENTS.md",
    "MEMORY.md",
    "graphrag.sqlite",
    "graphrag.sqlite-shm",
    "graphrag.sqlite-wal",
    ".ingest-queue.sqlite",
    ".ingest-queue.sqlite-shm",
    ".ingest-queue.sqlite-wal",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Atomic file operations CLI for LLM agents — read, write, edit, search, replace with NDJSON output"
documentation = "https://docs.rs/atomwrite"
readme = "README.md"
keywords = [
    "cli",
    "atomic-write",
    "llm",
    "ndjson",
    "file-operations",
]
categories = [
    "command-line-utilities",
    "filesystem",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/daniloaguiarbr/atomwrite"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[badges.maintenance]
status = "actively-developed"

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

[[bin]]
name = "atomwrite"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.ast-grep-core]
version = "0.43"

[dependencies.ast-grep-language]
version = "0.43"

[dependencies.blake3]
version = "1"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
    "wrap_help",
    "string",
]

[dependencies.clap_complete]
version = "4"

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.fend-core]
version = "1.5"

[dependencies.filetime]
version = "0.2"

[dependencies.grep-matcher]
version = "0.1"

[dependencies.grep-regex]
version = "0.1"

[dependencies.grep-searcher]
version = "0.1"

[dependencies.grex]
version = "1.4"

[dependencies.human-panic]
version = "2"

[dependencies.ignore]
version = "0.4"

[dependencies.memmap2]
version = "0.9"

[dependencies.rayon]
version = "1"

[dependencies.regex]
version = "1"

[dependencies.rust-i18n]
version = "3"

[dependencies.same-file]
version = "1"

[dependencies.schemars]
version = "1"

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.signal-hook]
version = "0.3"

[dependencies.similar]
version = "3"

[dependencies.sys-locale]
version = "0.3"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.insta]
version = "1"
features = ["json"]

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.regex]
version = "1"

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

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(unix)".dependencies.nix]
version = "0.29"
features = ["fs"]

[target."cfg(windows)".dependencies.windows-sys]
version = "0.59"
features = ["Win32_Storage_FileSystem"]

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
overflow-checks = true
strip = "symbols"