# 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 = "tuit" version = "0.3.0-a2+checkboxes" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A no_std, no_alloc TUI library" documentation = "https://docs.rs/crate/tuit" readme = "README.md" keywords = [ "no_std", "tui", "colors", "terminal", "ansi", ] categories = [ "no-std::no-alloc", "command-line-interface", ] license = "GPL-3.0+" [package.metadata.docs.rs] all-features = true [lib] name = "tuit" path = "src/lib.rs" [[example]] name = "bad_benchmark" path = "examples/bad_benchmark.rs" [[example]] name = "buttons" path = "examples/buttons.rs" [[example]] name = "centered" path = "examples/centered.rs" [[example]] name = "checkbox" path = "examples/checkbox.rs" [[example]] name = "prompt" path = "examples/prompt.rs" [[example]] name = "rescale" path = "examples/rescale.rs" [[example]] name = "shelves" path = "examples/shelves.rs" [[example]] name = "split" path = "examples/split.rs" [[example]] name = "stacking" path = "examples/stacking.rs" [[example]] name = "text" path = "examples/text.rs" [[example]] name = "view" path = "examples/view.rs" [dependencies.anyhow] version = "^1.0" [dependencies.env_logger] version = "0.11.5" optional = true [dependencies.log] version = "^0.4" optional = true [dependencies.ndarray] version = "^0.16" optional = true default-features = false [dependencies.owo-colors] version = "^4.0" optional = true [dependencies.thiserror] version = "^1.0" package = "thiserror-core" [dev-dependencies] [features] alloc = [] ansi_renderer = ["owo_colors"] builtin_widgets = [] debug = [ "dep:log", "dep:env_logger", ] default = ["builtin_widgets"] extras = ["dep:ndarray"] owo_colors = ["dep:owo-colors"] std = ["alloc"] [lints.clippy] nursery = "deny" pedantic = "deny" perf = "warn" [lints.clippy.cast_possible_truncation] level = "allow" priority = 1 [lints.clippy.cast_possible_wrap] level = "allow" priority = 1 [lints.clippy.cast_precision_loss] level = "allow" priority = 1 [lints.clippy.cast_sign_loss] level = "warn" priority = 1 [lints.clippy.collapsible_if] level = "allow" priority = 1 [lints.clippy.missing_errors_doc] level = "warn" priority = 1 [lints.clippy.module_name_repetitions] level = "warn" priority = 1 [lints.clippy.needless_borrows_for_generic_args] level = "allow" priority = 1 [lints.clippy.suspicious_doc_comments] level = "warn" priority = 1 [lints.clippy.todo] level = "warn" priority = 1 [lints.clippy.undocumented_unsafe_blocks] level = "deny" priority = 1 [lints.clippy.unwrap_used] level = "warn" priority = 1 [lints.rust] missing_docs = "warn" unsafe_code = "forbid" unused_features = "deny" [lints.rustdoc] broken_intra_doc_links = "deny"