mirror of
https://github.com/servo/servo.git
synced 2025-08-29 17:18:23 +01:00
The Servo Browser Engine
Bumps [url](https://github.com/servo/rust-url) from 2.5.3 to 2.5.6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/servo/rust-url/releases">url's releases</a>.</em></p> <blockquote> <h2>v2.5.5</h2> <h2>What's Changed</h2> <ul> <li>ci: downgrade crates when building for Rust 1.67.0 by <a href="https://github.com/mxinden"><code>@mxinden</code></a> in <a href="https://redirect.github.com/servo/rust-url/pull/1003">servo/rust-url#1003</a></li> <li>ci: run unit tests with sanitizers by <a href="https://github.com/mxinden"><code>@mxinden</code></a> in <a href="https://redirect.github.com/servo/rust-url/pull/1002">servo/rust-url#1002</a></li> <li>fix small typo by <a href="https://github.com/hkBst"><code>@hkBst</code></a> in <a href="https://redirect.github.com/servo/rust-url/pull/1011">servo/rust-url#1011</a></li> <li>chore: fix clippy errors on main by <a href="https://github.com/dsherret"><code>@dsherret</code></a> in <a href="https://redirect.github.com/servo/rust-url/pull/1019">servo/rust-url#1019</a></li> <li>perf: remove heap allocation in parse_query by <a href="https://github.com/dsherret"><code>@dsherret</code></a> in <a href="https://redirect.github.com/servo/rust-url/pull/1020">servo/rust-url#1020</a></li> <li>perf: slightly improve parsing a port by <a href="https://github.com/dsherret"><code>@dsherret</code></a> in <a href="https://redirect.github.com/servo/rust-url/pull/1022">servo/rust-url#1022</a></li> <li>perf: improve to_file_path() by <a href="https://github.com/dsherret"><code>@dsherret</code></a> in <a href="https://redirect.github.com/servo/rust-url/pull/1018">servo/rust-url#1018</a></li> <li>perf: make parse_scheme slightly faster by <a href="https://github.com/dsherret"><code>@dsherret</code></a> in <a href="https://redirect.github.com/servo/rust-url/pull/1025">servo/rust-url#1025</a></li> <li>update LICENSE-MIT by <a href="https://github.com/wmjae"><code>@wmjae</code></a> in <a href="https://redirect.github.com/servo/rust-url/pull/1029">servo/rust-url#1029</a></li> <li>perf: url encode path segments in longer string slices by <a href="https://github.com/dsherret"><code>@dsherret</code></a> in <a href="https://redirect.github.com/servo/rust-url/pull/1026">servo/rust-url#1026</a></li> <li>Disable the default features on serde by <a href="https://github.com/rilipco"><code>@rilipco</code></a> in <a href="https://redirect.github.com/servo/rust-url/pull/1033">servo/rust-url#1033</a></li> <li>docs: base url relative join by <a href="https://github.com/tisonkun"><code>@tisonkun</code></a> in <a href="https://redirect.github.com/servo/rust-url/pull/1013">servo/rust-url#1013</a></li> <li>perf: remove heap allocation in parse_host by <a href="https://github.com/dsherret"><code>@dsherret</code></a> in <a href="https://redirect.github.com/servo/rust-url/pull/1021">servo/rust-url#1021</a></li> <li>Update tests to Unicode 16.0 by <a href="https://github.com/hsivonen"><code>@hsivonen</code></a> in <a href="https://redirect.github.com/servo/rust-url/pull/1045">servo/rust-url#1045</a></li> <li>Add some some basic functions to <code>Mime</code> by <a href="https://github.com/mrobinson"><code>@mrobinson</code></a> in <a href="https://redirect.github.com/servo/rust-url/pull/1047">servo/rust-url#1047</a></li> <li>ran <code>cargo clippy --fix -- -Wclippy::use_self</code> by <a href="https://github.com/mrobinson"><code>@mrobinson</code></a> in <a href="https://redirect.github.com/servo/rust-url/pull/1048">servo/rust-url#1048</a></li> <li>Fix MSRV and clippy CI by <a href="https://github.com/Manishearth"><code>@Manishearth</code></a> in <a href="https://redirect.github.com/servo/rust-url/pull/1058">servo/rust-url#1058</a></li> <li>Update <code>Url::domain</code> docs to show that it includes subdomain by <a href="https://github.com/supercoolspy"><code>@supercoolspy</code></a> in <a href="https://redirect.github.com/servo/rust-url/pull/1057">servo/rust-url#1057</a></li> <li>set_hostname should error when encountering colon ':' by <a href="https://github.com/edgul"><code>@edgul</code></a> in <a href="https://redirect.github.com/servo/rust-url/pull/1060">servo/rust-url#1060</a></li> <li>version bump to 2.5.5 by <a href="https://github.com/edgul"><code>@edgul</code></a> in <a href="https://redirect.github.com/servo/rust-url/pull/1061">servo/rust-url#1061</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/mxinden"><code>@mxinden</code></a> made their first contribution in <a href="https://redirect.github.com/servo/rust-url/pull/1003">servo/rust-url#1003</a></li> <li><a href="https://github.com/hkBst"><code>@hkBst</code></a> made their first contribution in <a href="https://redirect.github.com/servo/rust-url/pull/1011">servo/rust-url#1011</a></li> <li><a href="https://github.com/wmjae"><code>@wmjae</code></a> made their first contribution in <a href="https://redirect.github.com/servo/rust-url/pull/1029">servo/rust-url#1029</a></li> <li><a href="https://github.com/rilipco"><code>@rilipco</code></a> made their first contribution in <a href="https://redirect.github.com/servo/rust-url/pull/1033">servo/rust-url#1033</a></li> <li><a href="https://github.com/tisonkun"><code>@tisonkun</code></a> made their first contribution in <a href="https://redirect.github.com/servo/rust-url/pull/1013">servo/rust-url#1013</a></li> <li><a href="https://github.com/supercoolspy"><code>@supercoolspy</code></a> made their first contribution in <a href="https://redirect.github.com/servo/rust-url/pull/1057">servo/rust-url#1057</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/servo/rust-url/compare/v2.5.4...v2.5.5">https://github.com/servo/rust-url/compare/v2.5.4...v2.5.5</a></p> <h2>v2.5.4</h2> <h2>What's Changed</h2> <ul> <li>Revert "Normalize URL paths: convert /.//p, /..//p, and //p to p (<a href="https://redirect.github.com/servo/rust-url/issues/943">#943</a>)" by <a href="https://github.com/valenting"><code>@valenting</code></a> in <a href="https://redirect.github.com/servo/rust-url/pull/999">servo/rust-url#999</a></li> <li>Updates the MSRV to 1.63 required though the libc v0.2.164 dependency</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/servo/rust-url/compare/v2.5.3...v2.5.4">https://github.com/servo/rust-url/compare/v2.5.3...v2.5.4</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/servo/rust-url/commits">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com> |
||
---|---|---|
.cargo | ||
.github | ||
.vscode | ||
components | ||
docs | ||
etc | ||
ports/servoshell | ||
python | ||
resources | ||
support | ||
tests | ||
third_party | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
.python-version | ||
Cargo.lock | ||
Cargo.toml | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
deny.toml | ||
Info.plist | ||
LICENSE | ||
LICENSE_WHATWG_SPECS | ||
mach | ||
mach.bat | ||
PULL_REQUEST_TEMPLATE.md | ||
pyproject.toml | ||
README.md | ||
rust-toolchain.toml | ||
rustfmt.toml | ||
SECURITY.md | ||
servo-tidy.toml | ||
servobuild.example | ||
shell.nix | ||
taplo.toml | ||
uv.toml |
The Servo Parallel Browser Engine Project
Servo is a prototype web browser engine written in the Rust language. It is currently developed on 64-bit macOS, 64-bit Linux, 64-bit Windows, 64-bit OpenHarmony, and Android.
Servo welcomes contribution from everyone. Check out:
- The Servo Book for documentation
- servo.org for news and guides
Coordination of Servo development happens:
- Here in the Github Issues
- On the Servo Zulip
- In video calls advertised in the Servo Project repo.
Getting started
For more detailed build instructions, see the Servo book under Setting up your environment, Building Servo, Building for Android and Building for OpenHarmony.
macOS
- Download and install Xcode and
brew
. - Install
uv
:curl -LsSf https://astral.sh/uv/install.sh | sh
- Install
rustup
:curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Restart your shell to make sure
cargo
is available - Install the other dependencies:
./mach bootstrap
- Build servoshell:
./mach build
Linux
- Install
curl
:- Arch:
sudo pacman -S --needed curl
- Debian, Ubuntu:
sudo apt install curl
- Fedora:
sudo dnf install curl
- Gentoo:
sudo emerge net-misc/curl
- Arch:
- Install
uv
:curl -LsSf https://astral.sh/uv/install.sh | sh
- Install
rustup
:curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Restart your shell to make sure
cargo
is available - Install the other dependencies:
./mach bootstrap
- Build servoshell:
./mach build
Windows
- Download
uv
,choco
, andrustup
- Be sure to select Quick install via the Visual Studio Community installer
- In the Visual Studio Installer, ensure the following components are installed:
- Windows 10/11 SDK (anything >= 10.0.19041.0) (
Microsoft.VisualStudio.Component.Windows{10, 11}SDK.{>=19041}
) - MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest) (
Microsoft.VisualStudio.Component.VC.Tools.x86.x64
) - C++ ATL for latest v143 build tools (x86 & x64) (
Microsoft.VisualStudio.Component.VC.ATL
) - C++ MFC for latest v143 build tools (x86 & x64) (
Microsoft.VisualStudio.Component.VC.ATLMFC
)
- Windows 10/11 SDK (anything >= 10.0.19041.0) (
- Restart your shell to make sure
cargo
is available - Install the other dependencies:
.\mach bootstrap
- Build servoshell:
.\mach build
Android
- Ensure that the following environment variables are set:
ANDROID_SDK_ROOT
ANDROID_NDK_ROOT
:$ANDROID_SDK_ROOT/ndk/26.2.11394342/
ANDROID_SDK_ROOT
can be any directory (such as~/android-sdk
). All of the Android build dependencies will be installed there.
- Install the latest version of the Android command-line
tools to
$ANDROID_SDK_ROOT/cmdline-tools/latest
. - Run the following command to install the necessary components:
sudo $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager --install \ "build-tools;34.0.0" \ "emulator" \ "ndk;26.2.11394342" \ "platform-tools" \ "platforms;android-33" \ "system-images;android-33;google_apis;x86_64"
- Follow the instructions above for the platform you are building on
OpenHarmony
- Follow the instructions above for the platform you are building on to prepare the environment.
- Depending on the target distribution (e.g.
HarmonyOS NEXT
vs pureOpenHarmony
) the build configuration will differ slightly. - Ensure that the following environment variables are set
DEVECO_SDK_HOME
(Required when targetingHarmonyOS NEXT
)OHOS_BASE_SDK_HOME
(Required when targetingOpenHarmony
)OHOS_SDK_NATIVE
(e.g.${DEVECO_SDK_HOME}/default/openharmony/native
or${OHOS_BASE_SDK_HOME}/${API_VERSION}/native
)SERVO_OHOS_SIGNING_CONFIG
: Path to json file containing a valid signing configuration for the demo app.
- Review the detailed instructions at Building for OpenHarmony.
- The target distribution can be modified by passing
--flavor=<default|harmonyos>
tomach <build|package|install>
.