[package]
edition = "2024"
rust-version = "1.85"
name = "kozan-core"
version = "0.1.0"
authors = ["Youssef Khalil <me@darky.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core DOM engine for the Kozan UI platform"
readme = false
license = "Apache-2.0"
repository = "https://github.com/kozan-rs/kozan"
[lib]
name = "kozan_core"
path = "src/lib.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "layout_fixtures"
path = "tests/layout_fixtures.rs"
[dependencies.app_units]
version = "0.7"
[dependencies.euclid]
version = "0.22"
[dependencies.kozan-macros]
version = "0.1"
[dependencies.kozan-primitives]
version = "0.1"
[dependencies.parley]
version = "0.7"
[dependencies.selectors]
version = "0.36"
[dependencies.servo_arc]
version = "0.4"
[dependencies.smallvec]
version = "1.13"
[dependencies.static_prefs]
version = "0.14"
package = "stylo_static_prefs"
[dependencies.style]
version = "0.14"
package = "stylo"
[dependencies.style_atoms]
version = "0.14"
package = "stylo_atoms"
[dependencies.style_dom]
version = "0.14"
package = "stylo_dom"
[dependencies.style_traits]
version = "0.14"
package = "stylo_traits"
[dependencies.taffy]
version = "0.9"
features = [
"flexbox",
"grid",
"block_layout",
"content_size",
"calc",
"detailed_layout_info",
]
[dependencies.url]
version = "2"
[dependencies.web_atoms]
version = "0.2"
[dev-dependencies.quick-xml]
version = "0.39"
[dev-dependencies.walkdir]
version = "2"
[lints.clippy]
assertions_on_constants = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
elidable_lifetime_names = "allow"
field_reassign_with_default = "allow"
float_cmp = "allow"
if_not_else = "allow"
inline_always = "allow"
items_after_statements = "allow"
manual_let_else = "allow"
manual_map = "allow"
many_single_char_names = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
needless_continue = "allow"
needless_lifetimes = "allow"
needless_pass_by_value = "allow"
ptr_as_ptr = "allow"
range_plus_one = "allow"
redundant_closure_for_method_calls = "allow"
return_self_not_must_use = "allow"
semicolon_if_nothing_returned = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
unchecked_time_subtraction = "allow"
uninlined_format_args = "allow"
unnecessary_operation = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
unused_self = "allow"
used_underscore_binding = "allow"
wildcard_imports = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust.unsafe_code]
level = "allow"
priority = 1