# 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.
#
# Local copy keeps the registry manifest shape and narrows log features so
# GPUI and Servo can share the same workspace dependency graph.

[package]
edition = "2024"
name = "gpui_sum_tree"
version = "0.2.2"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A sum tree data structure, a concurrency-friendly B-tree"
readme = false
license = "Apache-2.0"
resolver = "2"

[lib]
name = "gpui_sum_tree"
path = "src/sum_tree.rs"
doctest = false

[dependencies.arrayvec]
version = "0.7.1"

[dependencies.log]
version = "0.4.16"

[dependencies.rayon]
version = "1.8"

[dev-dependencies.ctor]
version = "0.4.0"

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

[lints.clippy]
dbg_macro = "deny"
declare_interior_mutable_const = "deny"
disallowed_methods = "deny"
large_enum_variant = "allow"
let_underscore_future = "allow"
nonminimal_bool = "allow"
redundant_clone = "deny"
single_range_in_vec_init = "allow"
todo = "deny"
too_many_arguments = "allow"
type_complexity = "allow"

[lints.clippy.style]
level = "allow"
priority = -1

[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
