Files
moli/Cargo.toml
T
ldm0 ee50ff58c9 fix(parser): preserve original script positions in CSP reports
Track opt-in original tag positions in html5ever, including UTF-16,
CRLF, character-reference rewinds and chunk boundaries. Carry completed
script start positions through the existing parser handoff and use them
for child Document CSP reports. Register synchronous document.write
handoffs before CSP so unknown provenance remains unknown.

Validation: full workspace fmt, clippy and nextest (22,156 passed,
16 skipped; 32 jobs/threads, no retries), plus 24 upstream/local
html5ever tokenizer and driver tests.
2026-11-21 20:03:33 +08:00

164 lines
5.6 KiB
TOML

[workspace]
resolver = "3"
members = [
"moli",
"moli-action-window",
"moli-bounded-buffer",
"moli-bounded-json",
"moli-broadcast-channel",
"moli-browser-profile",
"moli-canvas",
"moli-charset-parser",
"moli-cookie-cache",
"moli-cookie-db",
"moli-cookie-import",
"moli-protocol-cdp",
"moli-protocol-cdp-defs",
"moli-cookie-store",
"moli-content-type",
"moli-css-parse",
"moli-csp",
"moli-crypto",
"moli-curl",
"moli-dns-resolver",
"moli-disk-pool",
"moli-protocol",
"moli-encoding",
"moli-encoding-detector",
"moli-core",
"moli-import-map",
"moli-inspector-json",
"moli-image",
"moli-indexeddb",
"moli-local-executor",
"moli-layout",
"moli-leveldb-parser",
"moli-message-port",
"moli-multipart",
"moli-xpath",
"moli-module-script-tree",
"moli-module-syntax",
"moli-owner-queue",
"moli-opfs",
"moli-dom",
"moli-parser",
"moli-paint",
"moli-types/moli-command-types",
"moli-types/moli-page-types",
"moli-parkable-image",
"moli-process-signal",
"moli-renderer-v8",
"moli-robots",
"moli-protocol-server",
"moli-script",
"moli-selector",
"moli-session-history",
"moli-site",
"moli-shared-worker",
"moli-storage-service",
"moli-storage-key",
"moli-sqlite",
"moli-streams",
"moli-structured-clone",
"moli-stylesheet-blocking",
"moli-svg",
"moli-system-fonts",
"moli-test-support",
"moli-url",
"moli-url-policy",
"moli-v8-init",
"moli-v8-platform",
"moli-v8-test-util",
"moli-v8-util",
"moli-web-mime",
"moli-web-storage",
"moli-web-bot-auth",
"moli-web-errors",
"moli-protocol-webdriver-bidi",
"moli-protocol-webdriver-classic",
"moli-webcrypto",
"moli-webapi",
"moli-webapi-declare",
"moli-webapi-declare-derive",
"moli-webidl",
"moli-webidl-callback",
"moli-webidl-derive",
"moli-webmcp",
"moli-cookie-jar",
"moli-websocket",
"moli-fetch",
"moli-types/moli-fetch-types",
"moli-types/moli-websocket-types",
"moli-types/moli-indexeddb-types",
"moli-file-api",
"moli-geometry",
"moli-header-field",
"moli-history",
"moli-html-input-type",
"moli-html2md",
"moli-html-input-temporal",
"moli-window-features",
"moli-time",
"moli-trace",
"moli-http-cache",
"moli-wpt-compat"
]
exclude = ["vendor/html5ever-0.40.1", "vendor/url-2.5.8"]
[workspace.package]
license = "MIT OR Apache-2.0"
[patch.crates-io]
# Share glyph preparation between CPU rendering and PDF ink measurement.
glifo = { git = "https://github.com/ldm0/vello", rev = "1f3376b102ca9a0950221f3df09316c4ef1299ba" }
vello_common = { git = "https://github.com/ldm0/vello", rev = "1f3376b102ca9a0950221f3df09316c4ef1299ba" }
# Share AWS-LC 0.46 with aws-lc-rs until upstream openssl-sys updates its backend.
openssl-sys = { git = "https://github.com/lexmount/rust-openssl", rev = "4497b245b09660f838dd00750616929b4cfe52ba" }
parley = { git = "https://github.com/lexmount/parley", rev = "a18cfc3ba6638d44ff0d0c9ce7b0b3396b42e8cf" }
fontique = { git = "https://github.com/lexmount/parley", rev = "a18cfc3ba6638d44ff0d0c9ce7b0b3396b42e8cf" }
# Share fontations between shaping, raster rendering and PDF font subsetting.
subsetter = { git = "https://github.com/lexmount/subsetter", rev = "8d3815245835af309559c3b4a872d6a0a54913a9" }
url = { path = "vendor/url-2.5.8" }
html5ever = { path = "vendor/html5ever-0.40.1" }
xml5ever = { git = "https://github.com/lexmount/html5ever", rev = "4574311c63e79bba7d4ddb98cb0562d8dad499ee" }
curl = { git = "https://github.com/lexmount/curl-rust", rev = "0392e12475d8d1160d4cae07c172cac02797cc25" }
curl-sys = { git = "https://github.com/lexmount/curl-rust", rev = "0392e12475d8d1160d4cae07c172cac02797cc25" }
cookie = { git = "https://github.com/ldm0/cookie-rs", branch = "priority" }
v8 = { path = "vendor/v8-152.2.0" }
deno_v8 = { path = "vendor/deno_v8-0.3.0" }
selectors = { git = "https://github.com/lexmount/stylo", rev = "2bb31060e8ae64cb5a99abf342b86921b8db59c7" }
servo_arc = { git = "https://github.com/lexmount/stylo", rev = "2bb31060e8ae64cb5a99abf342b86921b8db59c7" }
stylo = { git = "https://github.com/lexmount/stylo", rev = "2bb31060e8ae64cb5a99abf342b86921b8db59c7" }
stylo_atoms = { git = "https://github.com/lexmount/stylo", rev = "2bb31060e8ae64cb5a99abf342b86921b8db59c7" }
stylo_dom = { git = "https://github.com/lexmount/stylo", rev = "2bb31060e8ae64cb5a99abf342b86921b8db59c7" }
stylo_static_prefs = { git = "https://github.com/lexmount/stylo", rev = "2bb31060e8ae64cb5a99abf342b86921b8db59c7" }
stylo_traits = { git = "https://github.com/lexmount/stylo", rev = "2bb31060e8ae64cb5a99abf342b86921b8db59c7" }
svgtypes = { git = "https://github.com/lexmount/svgtypes", rev = "520374d714d69f8e2dc93c81a9d6be559ecde3ff" }
# Preserve original SVG selector inputs and collect unclipped source geometry.
usvg = { git = "https://github.com/lexmount/resvg", rev = "a137793a5749c27862b724eef60c4734526b14a0" }
taffy = { git = "https://github.com/ldm0/taffy", rev = "0a337871fa44db7d48571b06668f92737eefa8c2" }
[patch."https://github.com/DioxusLabs/taffy"]
taffy = { git = "https://github.com/ldm0/taffy", rev = "0a337871fa44db7d48571b06668f92737eefa8c2" }
[workspace.lints.clippy]
disallowed_methods = "deny"
disallowed_types = "deny"
enum_variant_names = "allow"
result_unit_err = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"
strip = false
# Production and release-regression binaries favor a compact code working set
# over parallel code generation.
codegen-units = 1
[profile.test]
debug = 1