# 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 = "rat-text" version = "0.29.1" authors = ["thscharler "] build = false exclude = [ ".idea/*", ".gitignore", ] autobins = false autoexamples = false autotests = false autobenches = false description = "ratatui text input widgets" readme = "readme.md" keywords = [ "ratatui", "widget", "text", ] categories = ["command-line-interface"] license = "MIT/Apache-2.0" repository = "https://github.com/thscharler/rat-text" [lib] name = "rat_text" path = "src/lib.rs" [[example]] name = "textarea1" path = "examples/textarea1.rs" [[example]] name = "textinput1" path = "examples/textinput1.rs" [[example]] name = "textmask1" path = "examples/textmask1.rs" [[test]] name = "test_core" path = "tests/test_core.rs" [[test]] name = "test_masked" path = "tests/test_masked.rs" [[test]] name = "test_textrope" path = "tests/test_textrope.rs" [[test]] name = "test_textstring" path = "tests/test_textstring.rs" [dependencies.chrono] version = "0.4" features = ["unstable-locales"] [dependencies.crossterm] version = "0.28" [dependencies.dyn-clone] version = "1.0.17" [dependencies.format_num_pattern] version = "0.9" [dependencies.iset] version = "0.3" [dependencies.log] version = "0.4" [dependencies.memchr] version = "2.7.2" [dependencies.pure-rust-locales] version = "0.8" [dependencies.rat-cursor] version = "0.25" [dependencies.rat-event] version = "0.26" [dependencies.rat-focus] version = "0.29" [dependencies.rat-reloc] version = "0.2" [dependencies.rat-scrolled] version = "0.27" [dependencies.ratatui] version = "0.29" [dependencies.ropey] version = "1.6.1" [dependencies.rust_decimal] version = "1.34" [dependencies.rust_decimal_macros] version = "1.34" [dependencies.unicode-display-width] version = "0.3" [dependencies.unicode-segmentation] version = "1.11" [dependencies.unicode-width] version = "0.2" [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.fern] version = "0.7" [dev-dependencies.lorem-rustum] version = "0.0.5" [features] unstable-widget-ref = ["ratatui/unstable-widget-ref"] [lints.clippy] collapsible_else_if = "allow" collapsible_if = "allow" comparison_chain = "allow" if_same_then_else = "allow" [lints.rust] absolute_paths_not_starting_with_crate = "warn" elided_lifetimes_in_paths = "warn" explicit_outlives_requirements = "warn" keyword_idents = "warn" macro_use_extern_crate = "warn" meta_variable_misuse = "warn" missing_abi = "warn" missing_debug_implementations = "warn" missing_docs = "allow" non_ascii_idents = "warn" noop_method_call = "warn" semicolon_in_expressions_from_macros = "warn" trivial_casts = "warn" trivial_numeric_casts = "warn" unreachable_pub = "warn" unsafe_op_in_unsafe_fn = "warn" unstable_features = "warn" unused_import_braces = "warn" unused_lifetimes = "warn" unused_qualifications = "warn" variant_size_differences = "warn"