[package] name = "rat-widget" version = "0.31.0" edition = "2021" authors = ["thscharler "] description = "ratatui widgets extended edition" license = "MIT/Apache-2.0" repository = "https://github.com/thscharler/rat-widget" readme = "readme.md" keywords = ["ratatui", "widget"] categories = ["command-line-interface"] exclude = [".idea/*", ".gitignore", "textarea.gif"] [lints.rust] absolute_paths_not_starting_with_crate = "warn" # box_pointers = "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" # NOT_ACCURATE: missing_copy_implementations = "warn" missing_debug_implementations = "warn" missing_docs = "allow" non_ascii_idents = "warn" noop_method_call = "warn" # NO: or_patterns_back_compat = "warn" semicolon_in_expressions_from_macros = "warn" # NOT_ACCURATE: single_use_lifetimes = "warn" trivial_casts = "warn" trivial_numeric_casts = "warn" unreachable_pub = "warn" # unsafe_code: = "warn" unsafe_op_in_unsafe_fn = "warn" unstable_features = "warn" # NO: unused_crate_dependencies = "warn" # NO: unused_extern_crates = "warn" unused_import_braces = "warn" unused_lifetimes = "warn" unused_qualifications = "warn" # NO: unused_results = "warn" variant_size_differences = "warn" [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"] [dependencies] ratatui = { version = "0.29", features = ["unstable-rendered-line-info"] } crossterm = "0.28" unicode-segmentation = "1.11" unicode-width = "0.2" unicode-display-width = "0.3" log = "0.4" chrono = { version = "0.4", features = ["unstable-locales"] } iset = "0.3" map_range_int = { version = "1.0", path = "../map_range_int" } directories-next = { version = "2.0.0", optional = true } sysinfo = { version = "0.32.0", optional = true } rat-event = { version = "0.26", path = "../rat-event" } rat-reloc = { version = "0.2", path = "../rat-reloc" } rat-focus = { version = "0.29", path = "../rat-focus" } rat-ftable = { version = "0.28", path = "../rat-ftable" } rat-text = { version = "0.29", path = "../rat-text" } rat-menu = { version = "0.31", path = "../rat-menu" } rat-scrolled = { version = "0.27", path = "../rat-scrolled" } rat-popup = { version = "0.28", path = "../rat-popup" } [dev-dependencies] fern = "0.7" anyhow = "1.0" lorem-rustum = "0.0.5" chrono = { version = "0.4", features = ["clock"] } rand = "0.8" format_num_pattern = "0.9" pure-rust-locales = "0.8"