mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
b1b1c1f4e3c5a6d04b629dea8feee822a1735887
Bumps [tinyvec](https://github.com/Lokathor/tinyvec) from 1.10.0 to 1.11.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Lokathor/tinyvec/blob/main/CHANGELOG.md">tinyvec's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <h2>1.11</h2> <ul> <li>switched from <code>serde</code> dep to <code>serde_core</code> dep, which should allow more parallelization in builds for downstream users.</li> <li>add <code>as_mut_inner</code> method when the <code>latest_stable_rust</code> feature is enabled</li> <li>add <code>is_full</code> method to check if the size is equal to the capacity</li> <li>add <code>defmt</code> support</li> </ul> <h2>1.10</h2> <ul> <li>Minimum rust version is now 1.55, and the non-const-generic impls are removed. This reduces build times by over a second on average, which is significant enough for a library crate.</li> </ul> <h2>1.9</h2> <ul> <li>Adds a <code>latest_stable_rust</code> cargo feature, which will automatically pull in other cargo features related to the latest Stable version of rust.</li> <li>Adds <code>ArrayVec::try_from_array_len</code></li> <li>Adds <code>TinyVec::into_vec</code> and <code>TinyVec::into_boxed_slice</code></li> <li>Adds support for <code>generic-array</code> crate</li> <li>Adds support for the <code>borsh</code> crate</li> </ul> <h2>1.8.1</h2> <ul> <li><a href="https://github.com/e00E">e00E</a> updated the rustc features so that they all correctly depend on the lower version feature. <a href="https://redirect.github.com/Lokathor/tinyvec/pull/199">pr 199</a></li> </ul> <h2>1.8</h2> <ul> <li><a href="https://github.com/Fuuzetsu">Fuuzetsu</a> added the <code>ArrayVec::as_inner</code> method. <a href="https://redirect.github.com/Lokathor/tinyvec/pull/197">pr 197</a></li> </ul> <h2>1.7</h2> <ul> <li><a href="https://github.com/Fuuzetsu">Fuuzetsu</a> added the <code>rustc_1_61</code> cargo feature, which adds the <code>retain_mut</code> method. <a href="https://redirect.github.com/Lokathor/tinyvec/pull/198">pr 198</a></li> </ul> <h2>1.6.1</h2> <ul> <li><a href="https://github.com/e00E">e00E</a> fixed the Arbitrary impl to work on Stable without using a feature gate. <a href="https://redirect.github.com/Lokathor/tinyvec/pull/180">pr 180</a></li> </ul> <h2>1.6.0</h2> <ul> <li><a href="https://github.com/i509VCB">i509VCB</a> added the <code>try_</code> functions for fallable reallocation.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="d6c8a5f222"><code>d6c8a5f</code></a> chore: Release</li> <li><a href="4348329ebe"><code>4348329</code></a> changelog</li> <li><a href="834172bbcd"><code>834172b</code></a> changelog</li> <li><a href="01b7a9fe9d"><code>01b7a9f</code></a> Add defmt support (<a href="https://redirect.github.com/Lokathor/tinyvec/issues/216">#216</a>)</li> <li><a href="bb18ff1618"><code>bb18ff1</code></a> Add is_full method (<a href="https://redirect.github.com/Lokathor/tinyvec/issues/217">#217</a>)</li> <li><a href="219f2874bd"><code>219f287</code></a> Add as_mut_inner method (<a href="https://redirect.github.com/Lokathor/tinyvec/issues/215">#215</a>)</li> <li><a href="5809985ddf"><code>5809985</code></a> chore: switch to serde_core (<a href="https://redirect.github.com/Lokathor/tinyvec/issues/213">#213</a>)</li> <li><a href="10f783e57a"><code>10f783e</code></a> Remove leftover comment from before the const generic days (<a href="https://redirect.github.com/Lokathor/tinyvec/issues/214">#214</a>)</li> <li><a href="842e1692b3"><code>842e169</code></a> chore: improve code comments clarity (<a href="https://redirect.github.com/Lokathor/tinyvec/issues/212">#212</a>)</li> <li><a href="a6db082130"><code>a6db082</code></a> Make Debug instances behave like those for slices (<a href="https://redirect.github.com/Lokathor/tinyvec/issues/211">#211</a>)</li> <li>See full diff in <a href="https://github.com/Lokathor/tinyvec/compare/v1.10.0...v1.11.0">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 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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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 Getting the Code and Building Servo.
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
cargois 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
cargois 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)
- Windows 10/11 SDK (anything >= 10.0.19041.0) (
- Restart your shell to make sure
cargois available - Install the other dependencies:
.\mach bootstrap - Build servoshell:
.\mach build
Android
- Ensure that the following environment variables are set:
ANDROID_SDK_ROOTANDROID_NDK_ROOT:$ANDROID_SDK_ROOT/ndk/28.2.13676358/ANDROID_SDK_ROOTcan 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;28.2.13676358" \ "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 NEXTvs 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/nativeor${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>.
Languages
Rust
87.7%
Python
6%
WebIDL
3.1%
HTML
2%
JavaScript
0.5%
Other
0.5%