The Servo Book - 0.0.1browser. If you’d like to embed Servo in your own application, consider using tauri-runtime-verso, a custom Tauri runtime, or servo-gtk, a GTK4-based web browser widget. This book will be your guide to building For example, both of the commands below run the debug build of servoshell with the same options: Runtime dependencies On Linux, servoshell requires: GStreamer ≥ 1.18 gst-plugins-base ≥ 1.18 gst-plugins-good distro, using Nix Make sure you have curl installed (see Tools for Linux) Make sure you have the runtime dependencies installed as well Install Nix, the package manager — the easiest way is to use the installer0 码力 | 107 页 | 2.48 MB | 3 天前3
Rust 程序设计语言 简体中文版 1.85.0另一个核心可以做一些完全不相关的工作, 而且这些工作实际上是同时发生的。 当使用 Rust 中的 async 时,我们总是在处理并发。取决于硬件、操作系统和所使用的异步运 行时(async runtime)– 稍后会介绍更多的异步运行时!并发也可能在底层使用了并行。 现在让我们深入理解 Rust 的异步编程实际上是如何工作的!在接下来的章节中,我们将: • 学习如何使用 Rust 的 async crates。futures crate 是 一个 Rust 异步代码试验的官方仓库,也正是 Future 最初设计的地方。Tokio 是目前 Rust 中 应用最广泛的异步运行时(async runtime),特别是 web 应用。这里还有其他优秀的运行时, 它们可能更适合你的需求。我们在 trpl 的底层使用 tokio crate 是因为它经过了充分测试并 被广泛采用。 在一些场景中,trpl0 码力 | 562 页 | 3.23 MB | 1 月前3
共 2 条
- 1













