[package] name = "ropey" version = "2.0.0-alpha.2" edition = "2021" authors = ["Nathan Vegdahl "] description = "A fast and robust text rope for Rust" documentation = "https://docs.rs/ropey" repository = "https://github.com/cessen/ropey" readme = "README.md" license = "MIT OR Apache-2.0" keywords = ["rope", "text", "edit", "buffer"] categories = ["text-processing", "data-structures"] exclude = ["/design/*", "/fuzz", "/.github/*"] # Build with all APIs enabled on docs.rs. [package.metadata.docs.rs] features = [ "metric_chars", "metric_utf16", "metric_lines_lf", "metric_lines_lf_cr", "metric_lines_unicode", ] [features] default = ["metric_lines_lf_cr", "simd"] metric_chars = [] metric_utf16 = [] metric_lines_lf = [] metric_lines_lf_cr = [] metric_lines_unicode = [] simd = ["str_indices/simd"] # DO NOT USE THIS FEATURE. It is for internal debugging and testing purposes # only, and makes Ropey much slower and more memory hungry. It is also not # part of the stable public API, and may be removed or changed in non-breaking # releases. internal_dev_small_chunks = [] [dependencies] str_indices = { version = "0.4", default-features = false } [dev-dependencies] rand = "0.8" proptest = "1.4" criterion = { version = "0.5", features = ["html_reports"] } fnv = "1" fxhash = "0.2" #----------------------------------------- [[bench]] name = "create" harness = false [[bench]] name = "insert" harness = false [[bench]] name = "remove" harness = false [[bench]] name = "queries" harness = false [[bench]] name = "iterators" harness = false [[bench]] name = "hash" harness = false