[package]
edition = "2024"
rust-version = "1.89"
name = "htui"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A terminal HTML/CSS renderer with an embedded JavaScript engine — build interactive TUIs from HTML, CSS and JS"
documentation = "https://docs.rs/htui"
readme = "README.md"
keywords = [
"tui",
"terminal",
"html",
"css",
"javascript",
]
categories = [
"command-line-interface",
"gui",
"rendering",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dDostalker/htui"
[lib]
name = "htui"
path = "src/lib.rs"
[[test]]
name = "css_parse_tests"
path = "tests/css_parse_tests.rs"
[[test]]
name = "dom_node_tests"
path = "tests/dom_node_tests.rs"
[[test]]
name = "fetch_e2e_tests"
path = "tests/fetch_e2e_tests.rs"
[[test]]
name = "html_parse_tests"
path = "tests/html_parse_tests.rs"
[[test]]
name = "html_source_tests"
path = "tests/html_source_tests.rs"
[[test]]
name = "layout_a_tests"
path = "tests/layout_a_tests.rs"
[[test]]
name = "layout_aside_tests"
path = "tests/layout_aside_tests.rs"
[[test]]
name = "layout_blockquote_tests"
path = "tests/layout_blockquote_tests.rs"
[[test]]
name = "layout_box_model_tests"
path = "tests/layout_box_model_tests.rs"
[[test]]
name = "layout_class_list_tests"
path = "tests/layout_class_list_tests.rs"
[[test]]
name = "layout_columns_tests"
path = "tests/layout_columns_tests.rs"
[[test]]
name = "layout_data_time_tests"
path = "tests/layout_data_time_tests.rs"
[[test]]
name = "layout_dataset_tests"
path = "tests/layout_dataset_tests.rs"
[[test]]
name = "layout_details_tests"
path = "tests/layout_details_tests.rs"
[[test]]
name = "layout_dialog_template_tests"
path = "tests/layout_dialog_template_tests.rs"
[[test]]
name = "layout_display_tests"
path = "tests/layout_display_tests.rs"
[[test]]
name = "layout_div_tests"
path = "tests/layout_div_tests.rs"
[[test]]
name = "layout_em_tests"
path = "tests/layout_em_tests.rs"
[[test]]
name = "layout_emoji_tests"
path = "tests/layout_emoji_tests.rs"
[[test]]
name = "layout_events_tests"
path = "tests/layout_events_tests.rs"
[[test]]
name = "layout_flex_tests"
path = "tests/layout_flex_tests.rs"
[[test]]
name = "layout_focus_tests"
path = "tests/layout_focus_tests.rs"
[[test]]
name = "layout_font_size_tests"
path = "tests/layout_font_size_tests.rs"
[[test]]
name = "layout_form_elements_tests"
path = "tests/layout_form_elements_tests.rs"
[[test]]
name = "layout_form_tests"
path = "tests/layout_form_tests.rs"
[[test]]
name = "layout_grid_tests"
path = "tests/layout_grid_tests.rs"
[[test]]
name = "layout_header_footer_tests"
path = "tests/layout_header_footer_tests.rs"
[[test]]
name = "layout_html_body_tests"
path = "tests/layout_html_body_tests.rs"
[[test]]
name = "layout_img_tests"
path = "tests/layout_img_tests.rs"
[[test]]
name = "layout_inner_html_tests"
path = "tests/layout_inner_html_tests.rs"
[[test]]
name = "layout_input_tests"
path = "tests/layout_input_tests.rs"
[[test]]
name = "layout_list_tests"
path = "tests/layout_list_tests.rs"
[[test]]
name = "layout_menu_dl_tests"
path = "tests/layout_menu_dl_tests.rs"
[[test]]
name = "layout_noscript_tests"
path = "tests/layout_noscript_tests.rs"
[[test]]
name = "layout_pipeline_tests"
path = "tests/layout_pipeline_tests.rs"
[[test]]
name = "layout_position_tests"
path = "tests/layout_position_tests.rs"
[[test]]
name = "layout_q_abbr_tests"
path = "tests/layout_q_abbr_tests.rs"
[[test]]
name = "layout_span_tests"
path = "tests/layout_span_tests.rs"
[[test]]
name = "layout_table_tests"
path = "tests/layout_table_tests.rs"
[[test]]
name = "layout_tests"
path = "tests/layout_tests.rs"
[[test]]
name = "layout_textarea_tests"
path = "tests/layout_textarea_tests.rs"
[[test]]
name = "layout_tree_tests"
path = "tests/layout_tree_tests.rs"
[[test]]
name = "layout_wrap_runs_tests"
path = "tests/layout_wrap_runs_tests.rs"
[[test]]
name = "layout_wrap_tests"
path = "tests/layout_wrap_tests.rs"
[[test]]
name = "macro_tests"
path = "tests/macro_tests.rs"
[[test]]
name = "query_selector_tests"
path = "tests/query_selector_tests.rs"
[[test]]
name = "render_diff_tests"
path = "tests/render_diff_tests.rs"
[[test]]
name = "resources_tests"
path = "tests/resources_tests.rs"
[[test]]
name = "script_dom_api_tests"
path = "tests/script_dom_api_tests.rs"
[[test]]
name = "script_loop_tests"
path = "tests/script_loop_tests.rs"
[[test]]
name = "scroll_anim_tests"
path = "tests/scroll_anim_tests.rs"
[[test]]
name = "session_tests"
path = "tests/session_tests.rs"
[dependencies.bitflags]
version = "2"
[dependencies.boa_engine]
version = "0.21.1"
default-features = false
[dependencies.compact_str]
version = "0.10.0"
[dependencies.crossterm]
version = "0.29.0"
[dependencies.cssparser]
version = "0.31.2"
[dependencies.html5ever]
version = "0.27"
[dependencies.htui-macros]
version = "0.1.0"
[dependencies.image]
version = "0.25.9"
features = [
"png",
"jpeg",
"webp",
]
default-features = false
[dependencies.indexmap]
version = "2.14"
[dependencies.log]
version = "0.4.29"
features = ["release_max_level_warn"]
[dependencies.markup5ever_rcdom]
version = "0.3"
[dependencies.resvg]
version = "0.48.1"
features = [
"text",
"system-fonts",
]
default-features = false
[dependencies.slotmap]
version = "1.1.1"
[dependencies.thiserror]
version = "2.0.19"
[dependencies.unicode-segmentation]
version = "1.12"
[dependencies.unicode-width]
version = "0.2"
[dev-dependencies.env_logger]
version = "0.11.9"
[lints.clippy]
doc_lazy_continuation = "allow"
module_inception = "allow"
too_many_arguments = "allow"