[package]
edition = "2024"
rust-version = "1.85"
name = "devup-editor-html"
version = "1.0.21"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTML ↔ Document conversion + clipboard-mode support (tables, Notion heuristics, data-devup-props round-trip) for devup-editor"
homepage = "https://github.com/dev-five-git/devup-editor"
readme = false
license = "Apache-2.0"
repository = "https://github.com/dev-five-git/devup-editor"
resolver = "2"
[lib]
name = "devup_editor_html"
path = "src/lib.rs"
[[test]]
name = "clipboard"
path = "tests/clipboard.rs"
[[test]]
name = "href_parity"
path = "tests/href_parity.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
[dependencies.base64]
version = "0.22"
[dependencies.devup-editor-core]
version = "1.0.21"
[dependencies.html5ever]
version = "0.38"
[dependencies.markup5ever]
version = "0.38"
[dependencies.markup5ever_rcdom]
version = "0.38"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[lints.clippy]
all = "warn"
branches_sharing_code = "allow"
cognitive_complexity = "allow"
doc_markdown = "allow"
format_push_string = "allow"
items_after_statements = "allow"
manual_contains = "allow"
manual_let_else = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_for_each = "allow"
needless_lifetimes = "allow"
needless_pass_by_value = "allow"
no_effect_underscore_binding = "allow"
option_if_let_else = "allow"
pedantic = "warn"
redundant_closure = "allow"
redundant_closure_for_method_calls = "allow"
ref_option = "allow"
return_self_not_must_use = "allow"
should_panic_without_expect = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
uninlined_format_args = "allow"
unnecessary_debug_formatting = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
unused_self = "allow"
used_underscore_items = "allow"
wildcard_imports = "allow"
[lints.rust]
unsafe_code = "warn"