[package]
edition = "2024"
name = "html_view"
version = "0.2.1"
authors = ["Jack Geraghty (jmg049) <jgeraghty049@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library for rendering HTML content in a native tauri application."
documentation = "https://github.com/jmg049/HTMLView"
readme = "README.md"
keywords = [
"html",
"tauri",
"gui",
"rendering",
]
categories = ["gui"]
license = "MIT"
repository = "https://github.com/jmg049/HTMLView"
[features]
bundled = ["ureq"]
default = []
[lib]
name = "html_view"
path = "src/lib.rs"
[[example]]
name = "advanced"
path = "examples/advanced.rs"
[[example]]
name = "all_options"
path = "examples/all_options.rs"
[[example]]
name = "app_directory"
path = "examples/app_directory.rs"
[[example]]
name = "base_dir"
path = "examples/base_dir.rs"
[[example]]
name = "custom_toolbar"
path = "examples/custom_toolbar.rs"
[[example]]
name = "dialogs"
path = "examples/dialogs.rs"
[[example]]
name = "error_handling"
path = "examples/error_handling.rs"
[[example]]
name = "local_file"
path = "examples/local_file.rs"
[[example]]
name = "refresh_demo"
path = "examples/refresh_demo.rs"
[[example]]
name = "remote_url"
path = "examples/remote_url.rs"
[[example]]
name = "simple"
path = "examples/simple.rs"
[[example]]
name = "timeout"
path = "examples/timeout.rs"
[[example]]
name = "transparent"
path = "examples/transparent.rs"
[[test]]
name = "builder_tests"
path = "tests/builder_tests.rs"
[[test]]
name = "bundled_binary"
path = "tests/bundled_binary.rs"
[[test]]
name = "error_handling"
path = "tests/error_handling.rs"
[[test]]
name = "launcher_tests"
path = "tests/launcher_tests.rs"
[[test]]
name = "locator_integration"
path = "tests/locator_integration.rs"
[[test]]
name = "version_compatibility"
path = "tests/version_compatibility.rs"
[[test]]
name = "viewer_lifecycle"
path = "tests/viewer_lifecycle.rs"
[dependencies.html_view_shared]
version = "0.2.0"
[dependencies.serde_json]
version = "1.0.149"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.url]
version = "2.5"
features = ["serde"]
[dependencies.uuid]
version = "1.21"
features = [
"v4",
"serde",
]
[dev-dependencies.tempfile]
version = "3.5"
[build-dependencies.ureq]
version = "3.2.0"
features = ["_tls"]
optional = true
default-features = false