52 lines
967 B
TOML
52 lines
967 B
TOML
[package]
|
|
name = "browser_runtime"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
# The browser runtime orchestrates browsing contexts and user-visible browser behavior.
|
|
# Owns:
|
|
# - tabs and browsing contexts
|
|
# - navigation lifecycle
|
|
# - session/history
|
|
# - permission decisions (policy)
|
|
# Depends on engine crates via narrow interfaces.
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
# Internal crates (downward dependencies)
|
|
web_api = { path = "../web_api" }
|
|
net = { path = "../net" }
|
|
storage = { path = "../storage" }
|
|
shared = { path = "../shared" }
|
|
|
|
# Logging / tracing
|
|
tracing.workspace = true
|
|
log.workspace = true
|
|
|
|
# Error handling
|
|
anyhow.workspace = true
|
|
thiserror.workspace = true
|
|
|
|
# Utilities
|
|
once_cell.workspace = true
|
|
smallvec.workspace = true
|
|
indexmap.workspace = true
|
|
|
|
|
|
# --- Feature flags ---
|
|
|
|
[features]
|
|
default = []
|
|
|
|
# Enable stricter checks and extra invariants useful in development.
|
|
dev_invariants = []
|
|
|
|
|
|
# --- Lints ---
|
|
|
|
[lints]
|
|
workspace = true
|