Servo is now available on crates.io

474 points - last Monday at 12:12 PM

Source

Comments

nicoburns last Monday at 1:47 PM
Some notes:

- The docs.rs docs are still building, but the docs from the recent RC are available [0]

- The Slint project have an example of embedding Servo into Slint [1] which is good example of how to use the embedding API, and should be relatively easy to adapt to any other GUI framework which renders using wgpu.

- Stylo [2] and WebRender [3] have both also been published to crates.io, and can be useful standalone (Stylo has actually been getting monthly releases for ~year but we never really publicised that).

- Ongoing releases on a monthly cadance are planned

[0]: https://docs.rs/servo/0.1.0-rc2/servo

[1]: https://github.com/slint-ui/slint/tree/master/examples/servo

[2]: https://docs.rs/stylo

[3]: https://docs.rs/webrender

simonw last Monday at 3:11 PM
Here's a vibe-coded "servo-shot" CLI tool which uses this crate to render an image of a web page: https://github.com/simonw/research/tree/main/servo-crate-exp...

  git clone https://github.com/simonw/research
  cd research/servo-crate-exploration/servo-shot
  cargo build
  ./target/debug/servo-shot https://news.ycombinator.com/
Here's the image it generated: https://gist.github.com/simonw/c2cb4fcb15b0837bbc4540c3d398c...
rafaelmn last Monday at 3:22 PM
This should be the real benchmark of AI coding skills - how fast do we get safe/modern infrastructure/tooling that everyone agrees we need but nobody can fund the development.

If Anthropic wants marketing for Mythos without publishing it - show us servo contrib log or something like that. It aligns nicely with their fundamental infrastructure safety goals.

I'd trust that way more than x% increase on y bench.

Hire a core contributor on Servo or Rust, give him unlimited model access and let's see how far we get with each release.

giovannibonetti last Monday at 4:22 PM
For those of you using a browser to generate PDFs, the Rust crate you should look into is Typst [1]. Regardless of your application language, you can use their CLI.

It takes some time to get used to their DSL to write PDFs, but nowadays with AI that shouldn't take too long.

[1] https://crates.io/crates/typst

phaistra last Monday at 1:57 PM
Is there a table of implemented RFCs? Something similar to http://caniuse.com where we can see what HTML/JS/CSS standards and features are implemented? If it exists, I can't seem to find it. Closest thing seems to be "experimental features" page but its not quite detailed enough.
givemeethekeys last Monday at 3:59 PM
So, since this is the top post on Hacker News, and the website's description is a bit too high level for me, what does Servo let me do? By "web technologies", does it mean "put a web browser inside your desktop app"?
apitman last Monday at 2:41 PM
> As you can see from the version number, this release is not a 1.0 release. In fact, we still haven’t finished discussing what 1.0 means for Servo

Wait, crate versions go up to 1.0?

EDIT: Sorry, while crate stability may be an interesting conversation, this isn't the place for it. But I can't delete this comment. Please downvote it. Mods feel free to delete or demote it.

nmvk last Monday at 6:44 PM
Really excited to see this. I contributed to Servo open source 10 years ago, and it was a very cool experience.
tracker1 last Monday at 4:06 PM
I was a little curious to see if there was any Tauri integration, and it looks like there is (tauri-runtime-verso) ... Not sure where that comes out size-wise compared to Electron at that point though. My main desire there would be for Linux/flathub distribution of an app I've been working on.
grimgrin last Monday at 2:44 PM
when servo is ready i have plans to swap it into qutebrowser which ive been growing fonder of
solomatov last Monday at 3:00 PM
What this crate could be used for?
Talderigi last Monday at 1:56 PM
Is Servo production-ready enough to replace or embed alongside engines like WebKit or Blink?
z3ratul163071 last Monday at 4:22 PM
we've come full circle. they've invented rust to do servo with it.
hybirdss last Monday at 4:39 PM
feels like we're actually getting new browser engines this decade and it's kind of strange
phplovesong last Monday at 2:26 PM
Did firefox drop servo? I recalled they where in the progress of "rewrite in rust"?
tusharkhatri369 last Monday at 3:47 PM
Sounds great, would use the crate from now on. its more convenient that way
9fwfj9r last Monday at 1:56 PM
It's a great move. The early development of Rust aimed to support Servo. However, it's still disappointing that the script engine uses SpiderMonkey, which is purely C++.
diath last Monday at 2:09 PM
Too little too late now that the new meta is to use system provided webviews so you don't have to ship a big ass web renderer per app.