piece-tree 0.1.5

Purely functional (immutable) implementation of Piece Tree, inspired by fredbuf
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 = "piece-tree"
version = "0.1.5"
authors = ["Mark Tyrkba <marktyrkba456@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Purely functional (immutable) implementation of Piece Tree, inspired by fredbuf"
readme = "README.md"
keywords = [
    "piece-tree",
    "piece-table",
    "immutable",
    "text-buffer",
    "vendor",
]
categories = [
    "data-structures",
    "text-processing",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rakivo/e2-piece-tree"

[features]
default = [
    "write",
    "runtime-dispatch-simd",
]
dont_vendor = [
    "dep:bytecount",
    "dep:cranelift-entity",
    "dep:smallvec",
]
generic-simd = ["bytecount?/generic-simd"]
no_std = []
no_std_nightly_simd = ["generic-simd"]
runtime-dispatch-simd = ["bytecount?/runtime-dispatch-simd"]
write = []

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

[[bin]]
name = "piece-tree"
path = "src/main.rs"

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

[[bench]]
name = "create"
path = "benches/create.rs"
harness = false

[[bench]]
name = "insert"
path = "benches/insert.rs"
harness = false

[[bench]]
name = "queries"
path = "benches/queries.rs"
harness = false

[[bench]]
name = "remove"
path = "benches/remove.rs"
harness = false

[dependencies.bytecount]
version = "=0.6.9"
optional = true
default-features = false

[dependencies.cranelift-entity]
version = "=0.132.0"
optional = true
default-features = false

[dependencies.smallvec]
version = "=1.15.1"
features = ["const_generics"]
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.fastrand]
version = "2.4.1"

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

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