# 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 = "2021" name = "text-buffer" version = "0.1.0" description = "An implementation of a gap buffer" readme = "README.md" keywords = [ "text", "buffer", "edit", ] categories = ["text-editors"] license = "GPL-3.0-or-later" repository = "https://github.com/CeleritasCelery/rune" [[bench]] name = "benches" harness = false [dependencies.get-size] version = "0.1.4" features = ["derive"] [dependencies.smallvec] version = "1.11.0" features = ["union"] [dependencies.str_indices] version = "0.4.3" [dev-dependencies.criterion] version = "0.5.1" features = ["html_reports"] [dev-dependencies.proptest] version = "1.0" [lints.clippy] all = "warn" as_ptr_cast_mut = "warn" cast_possible_truncation = "allow" cast_possible_wrap = "allow" cast_precision_loss = "allow" cast_ptr_alignment = "allow" cast_sign_loss = "allow" equatable_if_let = "warn" inline_always = "allow" let_and_return = "allow" manual_let_else = "warn" match_bool = "allow" missing_panics_doc = "allow" module_name_repetitions = "allow" needless_pass_by_value = "allow" nonstandard_macro_braces = "warn" or_fun_call = "warn" similar_names = "allow" single_match_else = "allow" unused_self = "allow" [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] elided_lifetimes_in_paths = "allow" explicit_outlives_requirements = "warn" keyword_idents = "deny" macro_use_extern_crate = "deny" meta_variable_misuse = "warn" missing_copy_implementations = "warn" non_ascii_idents = "deny" rust_2018_idioms = "warn" trivial_numeric_casts = "warn" unreachable_pub = "warn" unused_lifetimes = "warn" unused_qualifications = "warn"