# 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-widget" version = "0.31.0" authors = ["thscharler "] build = false exclude = [ ".idea/*", ".gitignore", "textarea.gif", ] autobins = false autoexamples = false autotests = false autobenches = false description = "ratatui widgets extended edition" readme = "readme.md" keywords = [ "ratatui", "widget", ] categories = ["command-line-interface"] license = "MIT/Apache-2.0" repository = "https://github.com/thscharler/rat-widget" [lib] name = "rat_widget" path = "src/lib.rs" [[example]] name = "button1" path = "examples/button1.rs" [[example]] name = "calendar1" path = "examples/calendar1.rs" [[example]] name = "checkbox1" path = "examples/checkbox1.rs" [[example]] name = "choice1" path = "examples/choice1.rs" [[example]] name = "clipper1" path = "examples/clipper1.rs" [[example]] name = "dateinput1" path = "examples/dateinput1.rs" [[example]] name = "doubleclick" path = "examples/doubleclick.rs" [[example]] name = "file_dialog1" path = "examples/file_dialog1.rs" [[example]] name = "keybinding" path = "examples/keybinding.rs" [[example]] name = "menu_status1" path = "examples/menu_status1.rs" [[example]] name = "menubar1" path = "examples/menubar1.rs" [[example]] name = "pager1" path = "examples/pager1.rs" [[example]] name = "pager2" path = "examples/pager2.rs" [[example]] name = "paragraph1" path = "examples/paragraph1.rs" [[example]] name = "popup_menu1" path = "examples/popup_menu1.rs" [[example]] name = "radio1" path = "examples/radio1.rs" [[example]] name = "reset" path = "examples/reset.rs" [[example]] name = "rlist1" path = "examples/rlist1.rs" [[example]] name = "slider1" path = "examples/slider1.rs" [[example]] name = "split1" path = "examples/split1.rs" [[example]] name = "tabbed1" path = "examples/tabbed1.rs" [[example]] name = "table_edit1" path = "examples/table_edit1.rs" [[example]] name = "table_edit2" path = "examples/table_edit2.rs" [[example]] name = "view1" path = "examples/view1.rs" [[test]] name = "test_splitter" path = "tests/test_splitter.rs" [[test]] name = "test_splitter2" path = "tests/test_splitter2.rs" [dependencies.chrono] version = "0.4" features = ["unstable-locales"] [dependencies.crossterm] version = "0.28" [dependencies.directories-next] version = "2.0.0" optional = true [dependencies.iset] version = "0.3" [dependencies.log] version = "0.4" [dependencies.map_range_int] version = "1.0" [dependencies.rat-event] version = "0.26" [dependencies.rat-focus] version = "0.29" [dependencies.rat-ftable] version = "0.28" [dependencies.rat-menu] version = "0.31" [dependencies.rat-popup] version = "0.28" [dependencies.rat-reloc] version = "0.2" [dependencies.rat-scrolled] version = "0.27" [dependencies.rat-text] version = "0.29" [dependencies.ratatui] version = "0.29" features = ["unstable-rendered-line-info"] [dependencies.sysinfo] version = "0.32.0" optional = true [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.chrono] version = "0.4" features = ["clock"] [dev-dependencies.fern] version = "0.7" [dev-dependencies.format_num_pattern] version = "0.9" [dev-dependencies.lorem-rustum] version = "0.0.5" [dev-dependencies.pure-rust-locales] version = "0.8" [dev-dependencies.rand] version = "0.8" [features] unstable-widget-ref = [ "ratatui/unstable-widget-ref", "rat-ftable/unstable-widget-ref", "rat-scrolled/unstable-widget-ref", "rat-text/unstable-widget-ref", "rat-menu/unstable-widget-ref", ] user_directories = [ "dep:directories-next", "dep:sysinfo", ] [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"