[[bench]]
harness = false
name = "compute_blocks"
path = "benches/compute_blocks.rs"
[[bench]]
harness = false
name = "layout"
path = "benches/layout.rs"
[dependencies.jugar-probar]
default-features = false
optional = true
version = "1.0"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.trueno]
optional = true
version = "0.11"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.proptest]
version = "1.9"
[features]
brick = ["dep:jugar-probar"]
default = ["simd", "brick"]
simd = ["dep:trueno"]
[lib]
name = "presentar_core"
path = "src/lib.rs"
[lints.clippy]
cargo_common_metadata = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
expect_used = "allow"
float_cmp = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
option_if_let_else = "allow"
redundant_pub_crate = "allow"
return_self_not_must_use = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
unused_self = "allow"
unwrap_used = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unreachable_pub = "warn"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "warn"
[package]
authors = ["Pragmatic AI Labs"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Core types and traits for Presentar UI framework"
edition = "2021"
license = "MIT"
name = "presentar-core"
readme = false
repository = "https://github.com/paiml/presentar"
rust-version = "1.75"
version = "0.3.1"
[[test]]
name = "integration"
path = "tests/integration.rs"