Everything in Rust on Servo 0.7 (trimmed: no WebXR, WebGPU, multiprocess): tabs and windows, address bar with suggestions, history, bookmarks and reading list, downloads with resume and external download managers, encrypted password vault with autofill, ad blocker (adblock-rust, 22 lists), VPN through Tor or a proxy and secure DNS via a local bridge proxy, picture in picture, Discord Rich Presence, media player and visualizer, spell check, site apps, user scripts and styles, import from other browsers, gamepads, Web Bluetooth, and every setting of the original Nacre in a plain egui interface. Not compiled yet; docs/HANDOFF.md has the first build checklist. Co-Authored-By: Claude Opus 5.5 <[email protected]>
89 lines
2.6 KiB
TOML
89 lines
2.6 KiB
TOML
[package]
|
|
name = "nacre"
|
|
version = "0.4.0"
|
|
edition = "2024"
|
|
rust-version = "1.88"
|
|
description = "Nacre, a web browser built on Servo"
|
|
license = "MPL-2.0"
|
|
publish = false
|
|
|
|
[[bin]]
|
|
name = "nacre"
|
|
path = "src/main.rs"
|
|
|
|
[features]
|
|
default = ["media"]
|
|
# Audio and video through GStreamer. Without it pages load but <video>/<audio> stay silent.
|
|
media = ["servo/media-gstreamer"]
|
|
|
|
[dependencies]
|
|
# The engine. Trimmed: no webxr, webgpu, multiprocess, vello.
|
|
servo = { version = "=0.7.0", default-features = false, features = [
|
|
"bundled_freetype",
|
|
"clipboard",
|
|
"js_jit",
|
|
"webgl",
|
|
"webcrypto",
|
|
"brotli-compression-stream",
|
|
"gamepad",
|
|
"bluetooth",
|
|
"native-bluetooth",
|
|
] }
|
|
|
|
# Window, GL and UI. Versions follow what Servo 0.7 and egui 0.37 use so the types are shared.
|
|
winit = { version = "0.30.13", default-features = false, features = ["rwh_06", "x11", "wayland", "wayland-csd-adwaita"] }
|
|
egui = { version = "0.37", default-features = false, features = ["default_fonts"] }
|
|
egui_glow = { version = "0.37", default-features = false, features = ["winit", "x11", "wayland", "clipboard"] }
|
|
glow = "0.17"
|
|
euclid = "0.22"
|
|
dpi = "0.1"
|
|
raw-window-handle = "0.6"
|
|
keyboard-types = "0.8.3"
|
|
url = "2.5"
|
|
http = "1.4"
|
|
rustls = { version = "0.23", default-features = false, features = ["aws_lc_rs", "std"] }
|
|
content-security-policy = "0.9"
|
|
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "ico", "webp", "gif", "bmp"] }
|
|
log = "0.4"
|
|
|
|
# Ad blocking
|
|
adblock = { version = "0.13.5", default-features = false, features = ["embedded-domain-resolver", "full-regex-handling"] }
|
|
|
|
# Nacre's own HTTP (downloads, filter lists, updates, DoH)
|
|
ureq = { version = "3.5", default-features = false, features = ["rustls-no-provider", "rustls-webpki-roots", "gzip", "brotli"] }
|
|
|
|
# Storage and formats (rusqlite: the same version Servo uses, for importing other browsers)
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
dirs = "6"
|
|
rusqlite = { version = "0.38", features = ["bundled"] }
|
|
base64 = "0.22"
|
|
|
|
# Password vault
|
|
chacha20poly1305 = "0.10"
|
|
argon2 = "0.5"
|
|
getrandom = "0.3"
|
|
|
|
# Gamepads (Servo gets gamepad input from the embedder)
|
|
gilrs = "0.11"
|
|
|
|
# Small features
|
|
rfd = { version = "0.17", default-features = false, features = ["xdg-portal", "pollster"] }
|
|
qrcode = { version = "0.14", default-features = false }
|
|
spellbook = "0.4"
|
|
arboard = { version = "3.6", default-features = false, features = ["wayland-data-control"] }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
debug = false
|
|
strip = true
|
|
codegen-units = 16
|
|
|
|
[profile.dev]
|
|
opt-level = 1
|
|
|
|
[profile.dev.package."*"]
|
|
opt-level = 2
|