Improve tab-group search, rename focus, history navigation, shell prompt and completion handling, emoji width promotion, and macOS clipboard support. Guard unavailable settings/model-selector/undo-close views and forward the MCP OAuth callback issuer through the existing authentication flow. Adapt local changes from 14 upstream Warp commits through f571865ca3f2, reviewed from the latest 200 commits. Preserve Galaxy provider lifecycle, permissions, storage, and branding; exclude hosted/cloud infrastructure. Fix existing boolean-assertion lints and use stronger optimization with four code-generation units for the app test target to fit macOS unwind offsets. Production and dependency compilation settings remain unchanged. Validation: two clean builds and a final build; both prescribed Clippy commands with -D warnings; formatting, shell syntax and completion cleanup; 167 focused regression tests. Galaxy was not launched.
574 lines
22 KiB
TOML
574 lines
22 KiB
TOML
[workspace]
|
|
members = [
|
|
"crates/*",
|
|
"app",
|
|
]
|
|
resolver = "2"
|
|
exclude = ["vendor/block"]
|
|
|
|
# Include only the application and core libraries used by the shipped local
|
|
# client. Integration-only and server-only crates remain outside default builds.
|
|
default-members = [
|
|
"app",
|
|
"crates/channel_versions",
|
|
"crates/command",
|
|
"crates/editor",
|
|
"crates/graphql",
|
|
"crates/markdown_parser",
|
|
"crates/sum_tree",
|
|
"crates/galaxyui",
|
|
"crates/galaxy_completer",
|
|
"crates/galaxy_terminal",
|
|
"crates/galaxy_util",
|
|
]
|
|
|
|
[workspace.package]
|
|
authors = ["Ryan Ward <ryan.ward@samsung.com>"]
|
|
license = "AGPL-3.0-only"
|
|
publish = false
|
|
|
|
[workspace.dependencies]
|
|
# Local workspace crates. This lets us reference them in other crates without specifying a path.
|
|
galaxy_acp = { path = "crates/acp" }
|
|
galaxy_agent_core = { path = "crates/galaxy_agent_core" }
|
|
galaxy_agent_rig = { path = "crates/galaxy_agent_rig" }
|
|
galaxy_bedrock_model_catalog = { path = "crates/galaxy_bedrock_model_catalog" }
|
|
ai = { path = "crates/ai" }
|
|
app-installation-detection = { path = "crates/app-installation-detection" }
|
|
asset_cache = { path = "crates/asset_cache" }
|
|
asset_macro = { path = "crates/asset_macro" }
|
|
channel_versions = { path = "crates/channel_versions", default-features = false }
|
|
command = { path = "crates/command" }
|
|
command-signatures-v2 = { path = "crates/command-signatures-v2" }
|
|
cloud_objects = { path = "crates/cloud_objects" }
|
|
cloud_object_client = { path = "crates/cloud_object_client" }
|
|
cloud_object_persistence = { path = "crates/cloud_object_persistence" }
|
|
cloud_object_models = { path = "crates/cloud_object_models" }
|
|
computer_use = { path = "crates/computer_use" }
|
|
field_mask = { path = "crates/field_mask" }
|
|
firebase = { path = "crates/firebase" }
|
|
fuzzy_match = { path = "crates/fuzzy_match" }
|
|
handlebars = { path = "crates/handlebars" }
|
|
http_client = { path = "crates/http_client" }
|
|
http_server = { path = "crates/http_server" }
|
|
input_classifier = { path = "crates/input_classifier" }
|
|
integration = { path = "crates/integration" }
|
|
ipc = { path = "crates/ipc" }
|
|
ipynb_parser = { path = "crates/ipynb_parser" }
|
|
jsonrpc = { path = "crates/jsonrpc" }
|
|
languages = { path = "crates/languages" }
|
|
local_control = { path = "crates/local_control" }
|
|
lsp = { path = "crates/lsp" }
|
|
markdown_parser = { path = "crates/markdown_parser" }
|
|
mcp = { path = "crates/mcp" }
|
|
natural_language_detection = { path = "crates/natural_language_detection" }
|
|
node_runtime = { path = "crates/node_runtime" }
|
|
onboarding = { path = "crates/onboarding" }
|
|
persistence = { path = "crates/persistence" }
|
|
prevent_sleep = { path = "crates/prevent_sleep" }
|
|
remote_server = { path = "crates/remote_server" }
|
|
repo_metadata = { path = "crates/repo_metadata" }
|
|
settings = { path = "crates/settings" }
|
|
settings_value = { path = "crates/settings_value", default-features = false }
|
|
settings_value_derive = { path = "crates/settings_value_derive" }
|
|
simple_logger = { path = "crates/simple_logger" }
|
|
string-offset = { path = "crates/string-offset" }
|
|
sum_tree = { path = "crates/sum_tree" }
|
|
syntax_tree = { path = "crates/syntax_tree" }
|
|
ui_components = { path = "crates/ui_components" }
|
|
vim = { path = "crates/vim" }
|
|
virtual-fs = { path = "crates/virtual_fs" }
|
|
voice_input = { path = "crates/voice_input" }
|
|
galaxy = { path = "app" }
|
|
warp_assets = { path = "crates/warp_assets" }
|
|
galaxy_cli = { path = "crates/galaxy_cli" }
|
|
galaxy_completer = { path = "crates/galaxy_completer" }
|
|
galaxy_core = { path = "crates/galaxy_core" }
|
|
galaxy_editor = { path = "crates/editor" }
|
|
galaxy_features = { path = "crates/galaxy_features" }
|
|
galaxy_files = { path = "crates/galaxy_files" }
|
|
galaxy_graphql = { path = "crates/graphql" }
|
|
galaxy_graphql_schema = { path = "crates/galaxy_graphql_schema" }
|
|
galaxy_isolation_platform = { path = "crates/isolation_platform" }
|
|
galaxy_js = { path = "crates/galaxy_js" }
|
|
galaxy_logging = { path = "crates/galaxy_logging" }
|
|
galaxy_managed_secrets = { path = "crates/managed_secrets" }
|
|
galaxy_ripgrep = { path = "crates/galaxy_ripgrep" }
|
|
warp_search_core = { path = "crates/warp_search_core" }
|
|
warp_server_auth = { path = "crates/warp_server_auth" }
|
|
galaxy_server_client = { path = "crates/galaxy_server_client" }
|
|
galaxy_terminal = { path = "crates/galaxy_terminal" }
|
|
galaxy_util = { path = "crates/galaxy_util" }
|
|
galaxy_web_event_bus = { path = "crates/galaxy_web_event_bus" }
|
|
galaxyui = { path = "crates/galaxyui" }
|
|
galaxyui_core = { path = "crates/galaxyui_core" }
|
|
galaxyui_extras = { path = "crates/galaxyui_extras", default-features = false }
|
|
watcher = { path = "crates/watcher" }
|
|
websocket = { path = "crates/websocket" }
|
|
|
|
# Backward-compat aliases: crates that haven't been fully migrated from warp→galaxy names
|
|
warp = { path = "app", package = "galaxy" }
|
|
warp_core = { path = "crates/galaxy_core", package = "galaxy_core" }
|
|
warp_features = { path = "crates/galaxy_features", package = "galaxy_features" }
|
|
warp_util = { path = "crates/galaxy_util", package = "galaxy_util" }
|
|
warp_graphql = { path = "crates/graphql", package = "galaxy_graphql" }
|
|
warp_managed_secrets = { path = "crates/managed_secrets", package = "galaxy_managed_secrets" }
|
|
warp_cli = { path = "crates/galaxy_cli", package = "galaxy_cli" }
|
|
warp_editor = { path = "crates/editor", package = "galaxy_editor" }
|
|
warp_terminal = { path = "crates/galaxy_terminal", package = "galaxy_terminal" }
|
|
warp_server_client = { path = "crates/galaxy_server_client", package = "galaxy_server_client" }
|
|
warpui = { path = "crates/galaxyui", package = "galaxyui" }
|
|
warpui_core = { path = "crates/galaxyui_core", package = "galaxyui_core" }
|
|
warpui_extras = { path = "crates/galaxyui_extras", package = "galaxyui_extras", default-features = false }
|
|
|
|
# Workspace-level dependencies used by multiple crates. Prefer adding dependencies
|
|
# here to copying-and-pasting versions.
|
|
axum = "0.8.4"
|
|
anyhow = "1.0"
|
|
agent-client-protocol = { version = "=2.0.0", default-features = false }
|
|
arboard = { version = "3.6.1", default-features = false }
|
|
arrayvec = "0.7.4"
|
|
async-broadcast = "0.7.2"
|
|
ashpd = { version = "0.11", default-features = false, features = ["async-std"] }
|
|
async-channel = "2.3.1"
|
|
async-compat = "0.2.5"
|
|
async-io = "2.4.0"
|
|
async-process = "2.3.0"
|
|
async-stream = "0.3.5"
|
|
async-task = "4.2.0"
|
|
async-trait = "0.1.89"
|
|
async-fs = "2.1.2"
|
|
aws-sdk-bedrockruntime = { version = "1", default-features = false, features = ["default-https-client", "rt-tokio"] }
|
|
aws-sdk-bedrock = { version = "1", default-features = false, features = ["default-https-client", "rt-tokio"] }
|
|
aws-smithy-http-client = { version = "1", features = ["test-util"] }
|
|
backtrace = "0.3.76"
|
|
base64 = "0.22"
|
|
bincode = "1.3.3"
|
|
bitflags = { version = "2.4.0", features = ["serde"] }
|
|
bitflags-serde-legacy = "0.1.1"
|
|
block = "0.1.6"
|
|
blocking = "1.6.2"
|
|
bounded-vec-deque = "0.1"
|
|
bytemuck = { version = "1.13.1" }
|
|
bytes = { version = "1.11.1", features = ["serde"] }
|
|
command-corrections = { git = "https://github.com/warpdotdev/command-corrections.git", rev = "eae08c8c51d9bc9741fcb17eef2c21f696aebbeb" }
|
|
core-foundation = "0.10.1"
|
|
concat-idents = "1.1.4"
|
|
cfg_aliases = "0.2.1"
|
|
cfg-if = "1.0.0"
|
|
chrono = { version = "0.4.38", features = ["serde"] }
|
|
clap = { version = "4.5", features = ["derive"] }
|
|
cocoa = "=0.26.0"
|
|
ctrlc = "3.4.7"
|
|
crc = "3.4.0"
|
|
cynic = { version = "3" }
|
|
cynic-codegen = { version = "3", features = ["rkyv"] }
|
|
dashmap = "6.1.0"
|
|
derive_more = "0.99.17"
|
|
diesel = { version = "2.3.8", default-features = false }
|
|
directories = "6.0"
|
|
dunce = "1.0.1"
|
|
enum-iterator = "1.1.3"
|
|
env_logger = "0.10.0"
|
|
event-listener = "5.4.0"
|
|
float-cmp = "0.9.0"
|
|
font-kit = { git = "https://github.com/warpdotdev/font-kit.git", rev = "a04b225ecb639bb850f21d05212cfdc7465000f3", default-features = false, features = [
|
|
"source",
|
|
] }
|
|
futures = { version = "0.3", features = ["executor", "thread-pool"] }
|
|
futures-lite = "1.13.0"
|
|
futures-util = { version = "0.3", default-features = false }
|
|
fs4 = "0.13.1"
|
|
get-size = { version = "0.1.4", features = ["derive"] }
|
|
globset = "0.4.18"
|
|
gloo = { version = "0.11.0", default-features = false, features = [
|
|
"events",
|
|
"futures",
|
|
"utils",
|
|
] }
|
|
graphql-ws-client = { version = "0.11.1", default-features = false }
|
|
hex = "0.4.3"
|
|
# This matches the version of hyper used by reqwest.
|
|
hyper = "1.6.0"
|
|
html5ever = "0.35.0"
|
|
http = "1.1.0"
|
|
humantime = "2.1.0"
|
|
image = { version = "0.25.9", default-features = false, features = [
|
|
"rayon",
|
|
"jpeg",
|
|
"png",
|
|
"gif",
|
|
"webp",
|
|
] }
|
|
instant = { version = "0.1.12", features = ["wasm-bindgen"] }
|
|
iso8601-duration = { version = "0.2.0", features = ["chrono", "serde"] }
|
|
itertools = "0.14.0"
|
|
jaq-json = { version = "2.0", features = ["serde"] }
|
|
# Disabling the default `formats` feature is intended to avoid pulling in
|
|
# CBOR/TOML/XML/YAML support, but `jaq-all` currently depends on `jaq-fmts`
|
|
# with its default features enabled, which re-enables all those parsers transitively.
|
|
# The long-term fix is https://github.com/01mf02/jaq/issues/431.
|
|
jaq-all = { version = "0.1", default-features = false }
|
|
jsonschema = { version = "0.45", default-features = false }
|
|
lasso = { version = "0.7.3", features = ["multi-threaded"] }
|
|
lazy_static = "1.4.0"
|
|
libc = "0.2.81"
|
|
line-ending = "1.4.0"
|
|
log = { version = "0.4", features = ["serde", "std"] }
|
|
mermaid_to_svg = { git = "https://github.com/warpdotdev/mermaid-to-svg.git", rev = "8d3f789c2eb49335d7bf247a06bb649f59b6d4ed" }
|
|
mime_guess = "2.0"
|
|
minimp4 = "0.1.2"
|
|
nix = { version = "0.26.4", default-features = false, features = ["signal"] }
|
|
notify-debouncer-full = { git = "https://github.com/warpdotdev/notify", rev = "91b719849bc04ef251bcb2cc61076b099204e970" }
|
|
nom = "7.1.1"
|
|
num-traits = "0.2"
|
|
oauth2 = { version = "5.0.0", default-features = false }
|
|
openh264 = "0.8"
|
|
static_assertions = "1.1.0"
|
|
url = "2.5.4"
|
|
urlocator = "0.1.4"
|
|
mockall = "0.13.1"
|
|
objc = "0.2"
|
|
objc2 = "0.6.3"
|
|
objc2-app-kit = { version = "0.3.2", default-features = false, features = ["NSScreen", "objc2-core-foundation"] }
|
|
objc2-av-foundation = { version = "0.3.2", default-features = false }
|
|
objc2-core-foundation = "0.3.2"
|
|
objc2-core-graphics = "0.3.2"
|
|
objc2-foundation = { version = "0.3", default-features = false, features = ["std"] }
|
|
objc2-metal = { version = "0.3.2", default-features = false }
|
|
objc2-quartz-core = { version = "0.3.2", default-features = false }
|
|
dispatch2 = { version = "0.3.0", default-features = false, features = ["std", "block2"] }
|
|
once_cell = "1.20.2"
|
|
ordered-float = { version = "3.0.0", features = ["serde"] }
|
|
parking_lot = "0.12.1"
|
|
pathfinder_color = "0.5"
|
|
pathfinder_geometry = "0.5.1"
|
|
pin-project = "1.0.10"
|
|
pprof = "0.15.0"
|
|
prost = "0.14.3"
|
|
prost-build = "0.14.3"
|
|
prost-reflect = "0.16.3"
|
|
prost-types = "0.14.3"
|
|
qrcode = { version = "0.14.1", default-features = false }
|
|
rand = "0.8.6"
|
|
rangemap = "1.3.0"
|
|
reqwest = { version = "0.13", features = [
|
|
"blocking",
|
|
"brotli",
|
|
"gzip",
|
|
"form",
|
|
"json",
|
|
"multipart",
|
|
"query",
|
|
"stream",
|
|
] }
|
|
reqwest-eventsource = { package = "aha-reqwest-eventsource", version = "0.1" }
|
|
rig-core = { git = "https://github.com/0xPlaygrounds/rig.git", rev = "1f9547774edb4c269be991ac42eb043fd7b6e87f", package = "rig-core" }
|
|
rig-bedrock = { git = "https://github.com/0xPlaygrounds/rig.git", rev = "1f9547774edb4c269be991ac42eb043fd7b6e87f", package = "rig-bedrock" }
|
|
rig-vertexai = { git = "https://github.com/0xPlaygrounds/rig.git", rev = "1f9547774edb4c269be991ac42eb043fd7b6e87f", package = "rig-vertexai" }
|
|
resvg = "0.47.0"
|
|
rust-embed = { version = "8.7.0", features = ["include-exclude"] }
|
|
rustc-hash = "2.1.1"
|
|
rustls = "0.23.39"
|
|
schemars = { version = "1", features = ["chrono04"] }
|
|
serde = { version = "1.0", features = ["derive", "rc"] }
|
|
serde_bytes = "0.11"
|
|
serde-bytes-repr = "0.3"
|
|
serde_json = { version = "1.0", features = ["raw_value"] }
|
|
serde_urlencoded = "0.7"
|
|
serde_with = "2.0.1"
|
|
serde_yaml = "0.8"
|
|
session-sharing-protocol = { git = "https://github.com/warpdotdev/session-sharing-protocol.git", rev = "b30fdd06379a3d073b398eabd106abed5b443aae" }
|
|
similar = { version = "2.7", features = ["inline"] }
|
|
simplelog = "0.12.2"
|
|
smallvec = "1.6.1"
|
|
smol_str = "0.2.2"
|
|
strsim = "0.11"
|
|
strum = "0.27"
|
|
strum_macros = "0.27"
|
|
tempfile = "3.8.0"
|
|
thiserror = "2.0.17"
|
|
tokio = "1.47.1"
|
|
tokio-util = { version = "0.7", features = ["io"] }
|
|
toml_edit = "0.25.5"
|
|
tower = "0.5.2"
|
|
tower-http = "0.6.6"
|
|
tracing = "0.1.40"
|
|
tracing-futures = "0.2.5"
|
|
tracing-subscriber = { version = "0.3.22", default-features = false, features = [
|
|
"registry",
|
|
"std",
|
|
] }
|
|
arborium = { version = "2", default-features = false, features = [
|
|
"lang-rust",
|
|
"lang-go",
|
|
"lang-yaml",
|
|
"lang-python",
|
|
"lang-javascript",
|
|
"lang-typescript",
|
|
"lang-tsx",
|
|
"lang-java",
|
|
"lang-cpp",
|
|
"lang-bash",
|
|
"lang-c-sharp",
|
|
"lang-html",
|
|
"lang-css",
|
|
"lang-c",
|
|
"lang-json",
|
|
"lang-jq",
|
|
"lang-hcl",
|
|
"lang-lua",
|
|
"lang-nix",
|
|
"lang-ruby",
|
|
"lang-php",
|
|
"lang-toml",
|
|
"lang-swift",
|
|
"lang-kotlin",
|
|
"lang-scala",
|
|
"lang-powershell",
|
|
"lang-elixir",
|
|
"lang-sql",
|
|
"lang-starlark",
|
|
"lang-objc",
|
|
"lang-xml",
|
|
"lang-vue",
|
|
"lang-dockerfile",
|
|
] }
|
|
unicode-general-category = "1.1.0"
|
|
unicode-width = "0.1.12"
|
|
uuid = { version = "1.1.2", features = ["v4", "serde", "js"] }
|
|
vec1 = { version = "1.8.0", features = ["serde"] }
|
|
version-compare = "0.1"
|
|
vte = { git = "https://github.com/warpdotdev/vte.git", rev = "4b399c87b63ba88f45709edaa6383fc519f6c900", default-features = false }
|
|
walkdir = "2"
|
|
warp-workflows = { git = "https://github.com/warpdotdev/workflows", rev = "793a98ddda6ef19682aed66364faebd2829f0e01" }
|
|
warp_multi_agent_api = { git = "https://github.com/warpdotdev/warp-proto-apis.git", rev = "45f9b1342b256b20f716aede64dc1b46a639e5e6" }
|
|
wasm-bindgen = "0.2.89"
|
|
wasm-bindgen-futures = "0.4.42"
|
|
web-sys = { version = "0.3.69", features = [
|
|
"Blob",
|
|
"Clipboard",
|
|
"ClipboardEvent",
|
|
"ClipboardItem",
|
|
"CompositionEvent",
|
|
"Document",
|
|
"DataTransfer",
|
|
"Event",
|
|
"HtmlCanvasElement",
|
|
"HtmlInputElement",
|
|
"InputEvent",
|
|
"Navigator",
|
|
"MediaQueryList",
|
|
"Window",
|
|
"Notification",
|
|
"NotificationPermission",
|
|
] }
|
|
# Disable default features to disable support for WebGPU, which does not yet
|
|
# have wide browser support. We enable all other default feature of wgpu,
|
|
# though.
|
|
wgpu = { version = "29.0.1", default-features = false, features = [
|
|
"dx12",
|
|
"gles",
|
|
"metal",
|
|
"parking_lot",
|
|
"std",
|
|
"vulkan",
|
|
"wgsl",
|
|
] }
|
|
zbus = "5.9.0"
|
|
memchr = "2"
|
|
memo-map = "0.3.1"
|
|
async-recursion = "1.0.0"
|
|
getset = "0.1.1"
|
|
regex = "1.11.1"
|
|
rquickjs = { version = "0.3.1" }
|
|
dirs = "6.0.0"
|
|
rayon = "1.10.0"
|
|
sha2 = "0.10"
|
|
shellexpand = "3.1.1"
|
|
warp-command-signatures = { git = "https://github.com/warpdotdev/command-signatures.git", rev = "a937ae35dfe20eaed030664ad52b36657390b162", default-features = false }
|
|
winit = { git = "https://github.com/warpdotdev/winit.git", rev = "a4e0ecb5f9626ccac9445a73dc28354b52423abc" }
|
|
x11rb = "0.13.0"
|
|
mockito = "1.7.0"
|
|
sysinfo = { version = "0.37.0", default-features = false, features = [
|
|
"system",
|
|
"multithread",
|
|
] }
|
|
windows = { version = "0.62.2", features = [
|
|
"Win32",
|
|
"Win32_System",
|
|
"Win32_System_Kernel",
|
|
"Win32_System_Threading",
|
|
"Wdk_System",
|
|
"Wdk_System_SystemServices",
|
|
"Win32_System_Com",
|
|
"Win32_System_SecurityCenter",
|
|
"Win32_System_SystemInformation",
|
|
"Win32_System_Console",
|
|
] }
|
|
windows-core = { version = "0.62.2" }
|
|
windows-registry = { version = "0.2.0" }
|
|
windows-result = { version = "0.2.0" }
|
|
winreg = "0.55.0"
|
|
typed-path = "0.10.0"
|
|
streaming-iterator = "0.1.0"
|
|
derivative = "2.2.0"
|
|
parquet = { version = "55.0.0", features = ["arrow"] }
|
|
rmcp = { version = "1.6" }
|
|
|
|
[profile.release]
|
|
# Use line-tables-only (debug = 1) rather than full debuginfo (debug = 2 /
|
|
# `true`). Line tables are enough to symbolicate panics and Sentry stack
|
|
# traces with file/line info, but they omit the per-variable/type DWARF that
|
|
# dominates DWARF size. Dropping the type info significantly reduces rustc's
|
|
# peak memory during ThinLTO + codegen (which was OOM-killing release builds
|
|
# on CI), at the cost of not being able to inspect locals/types when
|
|
# attaching a debugger to a release binary.
|
|
debug = 1
|
|
# Force the rust compiler to create a dSYM. Starting in 1.53 the default on MacOS is "unpacked".
|
|
split-debuginfo = "packed"
|
|
|
|
[profile.dev]
|
|
# Optimize the large debug binary to keep its unwind tables within macOS's
|
|
# compact-unwind offset limit, while retaining debug assertions and symbols.
|
|
opt-level = 2
|
|
# Use line-tables-only to speed up dev builds. Change to `debug = true` if you
|
|
# need full debuginfo for step-through debugging (gdb/lldb).
|
|
debug = "line-tables-only"
|
|
# loads debuginfo without needing to run dsymutil, leave the .o object files
|
|
# in the build output directory instead of deleting them, and skips the step of running dsymutil.
|
|
# Rust's backtrace support is smart enough to know how to find these .o files.
|
|
# This should work as long as you don't need to move the binary to a different
|
|
# location while retaining the debug information.
|
|
split-debuginfo = "unpacked"
|
|
|
|
# Reduce duplicated code/unwind records in the monolithic app test binary
|
|
# to stay within macOS compact-unwind offsets. Production and dependency
|
|
# compilation retain their existing settings.
|
|
[profile.test.package.galaxy]
|
|
opt-level = 3
|
|
codegen-units = 4
|
|
|
|
[profile.dev.package]
|
|
# Improve the performance of core terminal logic.
|
|
galaxy_terminal.opt-level = 3
|
|
# Minimize the runtime overhead of CPU profiling at the cost of a small
|
|
# increase in compile time for this crate.
|
|
backtrace.opt-level = 3
|
|
# Minimize the runtime overhead of CPU profiling at the cost of a small
|
|
# increase in compile time for this crate.
|
|
pprof.opt-level = 3
|
|
# Ensure jemalloc is optimized for performance.
|
|
tikv-jemallocator.opt-level = 3
|
|
tikv-jemalloc-sys.opt-level = 3
|
|
jemalloc_pprof.opt-level = 3
|
|
pprof_util.opt-level = 3
|
|
# Vastly improve runtime performance of some font and text layout logic
|
|
# at the cost of a small increase in compile time for this crate.
|
|
ttf-parser.opt-level = 3
|
|
# Improve the performance of Agent Mode diff application, particularly in tests.
|
|
strsim.opt-level = 3
|
|
# Improve performance of SSE stream parsing.
|
|
eventsource-stream.opt-level = 3
|
|
memchr.opt-level = 3
|
|
nom.opt-level = 3
|
|
# Improve performance of core runtime components slightly.
|
|
tokio.opt-level = 1
|
|
rayon-core.opt-level = 1
|
|
# Improve performance of image processing for debug builds.
|
|
fdeflate.opt-level = 3
|
|
image.opt-level = 3
|
|
png.opt-level = 3
|
|
miniz_oxide.opt-level = 3
|
|
|
|
# A profile that behaves like release but enables ThinLTO, which should produce
|
|
# binaries with better runtime performance with little build-time overhead.
|
|
[profile.release-lto]
|
|
inherits = "release"
|
|
lto = "thin"
|
|
|
|
# A shorthand profile for `release-lto`.
|
|
# Windows enforces that any path is a maximum of 255 characters and
|
|
# the length of this profile is sufficiently long that it can cause
|
|
# compiler errors. We use a shorthand to get around these issues.
|
|
[profile.rlto]
|
|
inherits = "release-lto"
|
|
|
|
# A custom release-like profile that forces debug assertions on.
|
|
[profile.release-lto-debug_assertions]
|
|
inherits = "release-lto"
|
|
debug-assertions = true
|
|
|
|
# A shorthand profile for `release-lto-debug_assertions`.
|
|
# Windows enforces that any path is a maximum of 255 characters and
|
|
# the length of this profile is sufficiently long that it can cause
|
|
# compiler errors. We use a shorthand to get around these issues.
|
|
[profile.rltoda]
|
|
inherits = "release-lto-debug_assertions"
|
|
|
|
# A profile tuned for Galaxy CLI tarballs. The CLI is shipped over the network
|
|
# and run headlessly, so we trade some compile time and a small amount of
|
|
# runtime perf for a smaller binary by mirroring the size-leaning settings used
|
|
# by `release-wasm`.
|
|
[profile.release-cli]
|
|
inherits = "release-lto"
|
|
opt-level = "s"
|
|
codegen-units = 1
|
|
|
|
# A custom CLI release-like profile that forces debug assertions on, used for
|
|
# dev/local channel CLI bundles.
|
|
[profile.release-cli-debug_assertions]
|
|
inherits = "release-cli"
|
|
debug-assertions = true
|
|
|
|
[profile.release-wasm]
|
|
inherits = "release"
|
|
opt-level = "s"
|
|
lto = true
|
|
codegen-units = 1
|
|
|
|
[profile.release-wasm-debug_assertions]
|
|
inherits = "release-wasm"
|
|
debug-assertions = true
|
|
|
|
# A dev profile optimized for remote server deployment. Strips symbols to
|
|
# reduce binary size and improve rsync delta transfer efficiency.
|
|
[profile.dev-remote]
|
|
inherits = "dev"
|
|
strip = "symbols"
|
|
|
|
[profile.dev-wasm]
|
|
inherits = "dev"
|
|
opt-level = "s"
|
|
|
|
[patch.crates-io]
|
|
# Keep the legacy Blocks ABI while fixing its uninhabited external static.
|
|
block = { path = "vendor/block" }
|
|
# Pinned to the merge commit of servo/core-foundation-rs#746, which fixes a
|
|
# double-retain bug in `CTFontCollection::get_descriptors` that leaks the
|
|
# CoreText font-descriptor NSArray on every call. The fix is not yet in any
|
|
# crates.io release; the latest published `core-text` (21.1.0) was cut from
|
|
# a commit that predates the merge.
|
|
core-foundation = { git = "https://github.com/servo/core-foundation-rs", rev = "6f844cf1a1a18e25b70fcdf1bcdc458555bd2eff" }
|
|
core-foundation-sys = { git = "https://github.com/servo/core-foundation-rs", rev = "6f844cf1a1a18e25b70fcdf1bcdc458555bd2eff" }
|
|
core-graphics = { git = "https://github.com/servo/core-foundation-rs", rev = "6f844cf1a1a18e25b70fcdf1bcdc458555bd2eff" }
|
|
core-text = { git = "https://github.com/servo/core-foundation-rs", rev = "6f844cf1a1a18e25b70fcdf1bcdc458555bd2eff" }
|
|
objc = { git = "https://github.com/warpdotdev/rust-objc.git", rev = "5b656827fa9f863ef0eb22e444a3fedac009e78a" }
|
|
pathfinder_simd = { git = "https://github.com/warpdotdev/pathfinder.git", rev = "34128a129ca6aee168fbc5060a4f21b4f7e486a9" }
|
|
yaml-rust = { git = "https://github.com/warpdotdev/yaml-rust.git", rev = "51684719d0102ca85ff4b21cec39877a0c669e19" }
|
|
|
|
tink-core = { git = "https://github.com/warpdotdev/tink-rust", rev = "54b9ac9af93b0c08b446a7bc0582836c9403a71b" }
|
|
tink-proto = { git = "https://github.com/warpdotdev/tink-rust", rev = "54b9ac9af93b0c08b446a7bc0582836c9403a71b" }
|
|
tink-hybrid = { git = "https://github.com/warpdotdev/tink-rust", rev = "54b9ac9af93b0c08b446a7bc0582836c9403a71b" }
|
|
|
|
tikv-jemallocator = { git = "https://github.com/warpdotdev/jemallocator.git", rev = "2ee30bfdf7059223b54810e4ea6c666f0a379e0b" }
|
|
tikv-jemalloc-sys = { git = "https://github.com/warpdotdev/jemallocator.git", rev = "2ee30bfdf7059223b54810e4ea6c666f0a379e0b" }
|
|
|
|
[patch."https://github.com/warpdotdev/warp-proto-apis.git"]
|
|
# Uncomment for local development of warp-proto-apis
|
|
# warp_multi_agent_api = { path = "../warp-proto-apis/apis/multi_agent/v1/gen/rust" }
|
|
|
|
[patch."https://github.com/warpdotdev/session-sharing-protocol.git"]
|
|
# Uncomment for local development of session-sharing-protocol
|
|
# session-sharing-protocol = { path = "../session-sharing-protocol" }
|