divot 0.1.0

Fast diff/patch engine, in Rust, with a Node.js binding (Python planned)
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 = "divot"
version = "0.1.0"
build = "build.rs"
exclude = [
    "npm/",
    "plots/",
    "scripts/",
    "test/",
    ".github/",
    "package.json",
    "package-lock.json",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast diff/patch engine, in Rust, with a Node.js binding (Python planned)"
readme = "README.md"
keywords = [
    "diff",
    "patch",
    "text",
    "myers",
    "histogram",
]
categories = [
    "algorithms",
    "text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/hsputra/divot"

[features]
node = [
    "dep:napi",
    "dep:napi-derive",
    "dep:napi-build",
]

[lib]
name = "divot"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[example]]
name = "corpus_bench"
path = "examples/corpus_bench.rs"

[dependencies.imara-diff]
version = "0.2"
features = ["unified_diff"]

[dependencies.napi]
version = "3.12.0"
features = ["napi4"]
optional = true

[dependencies.napi-derive]
version = "3.6.2"
optional = true

[dependencies.rayon]
version = "1.12.0"

[build-dependencies.napi-build]
version = "2.4.0"
optional = true