# 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 = "kode-doc"
version = "0.4.2"
authors = ["Jason Adams <jason@yellowgorilla.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tree-based structured document model for WYSIWYG text editing — nodes, marks, fragments, transforms, undo"
homepage = "https://github.com/kyomi-ai/kode"
readme = "README.md"
keywords = [
    "editor",
    "document",
    "tree",
    "prosemirror",
    "wysiwyg",
]
categories = [
    "text-editors",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/kyomi-ai/kode"
resolver = "2"

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

[dependencies.arborium-markdown]
version = "2.16"

[dependencies.arborium-tree-sitter]
version = "2.16"

[dependencies.smallvec]
version = "1"

[lints.clippy]
large_enum_variant = "deny"
too_many_arguments = "deny"
wrong_self_convention = "deny"

[lints.rust]
dead_code = "deny"
unused_imports = "deny"
unused_mut = "deny"
unused_variables = "deny"
