# 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.90"
name = "karet-diff"
version = "0.2.1"
authors = ["Justin Chung"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure, syntax-aware text diffing engine (tree-sitter structural diff with line/word fallback) for karet."
homepage = "https://github.com/getkono/karet"
readme = "README.md"
keywords = [
    "tui",
    "editor",
    "ratatui",
    "terminal",
]
categories = [
    "text-editors",
    "command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/getkono/karet"

[features]
default = []

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

[dependencies.imara-diff]
version = "0.2.0"

[dependencies.thiserror]
version = "2.0.18"

[lints.clippy]
expect_used = "warn"
panic = "warn"
unwrap_used = "warn"

[lints.rust]
missing_docs = "warn"
