[package]
name = "oxibrowser-core"
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
homepage.workspace = true
readme.workspace = true
keywords.workspace = true
categories.workspace = true
rust-version.workspace = true
description = "Core browser engine: Browser, Session, Page, Frame lifecycle"

[dependencies]
tokio = { workspace = true }
futures = { workspace = true }
async-trait = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
anyhow = { workspace = true }
thiserror = { workspace = true }
base64 = { workspace = true }
tracing = { workspace = true }
url = { workspace = true }
uuid = { workspace = true }
bytes = { workspace = true }
image = { workspace = true }
parking_lot = { workspace = true }
reqwest = { workspace = true }
encoding_rs = { workspace = true }
html5ever = { workspace = true }
markup5ever = { workspace = true }
string_cache = { workspace = true }
boa_engine = { workspace = true }
boa_gc = { workspace = true }
pollster = "0.4"

oxibrowser-webapi = "0.6.0"

[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }

[[bench]]
name = "core_bench"
harness = false
