#dev-tools #domain #protocols #chrome #events #serialization

chrome-devtools-rs

Low-level library for interacting with the Chrome Devtools Protocol

4 releases

0.0.0-alpha.3 Jul 15, 2021
0.0.0-alpha.2 Nov 17, 2020
0.0.0-alpha.1 Jun 8, 2020
0.0.0-alpha.0 Feb 6, 2020

#45 in #chrome

Download history 64/week @ 2025-10-13 65/week @ 2025-10-20 31/week @ 2025-10-27 86/week @ 2025-11-03 19/week @ 2025-11-10 67/week @ 2025-11-17 65/week @ 2025-11-24 92/week @ 2025-12-01 26/week @ 2025-12-08 34/week @ 2025-12-15 29/week @ 2025-12-22 25/week @ 2025-12-29 12/week @ 2026-01-05 12/week @ 2026-01-12 17/week @ 2026-01-19 13/week @ 2026-01-26

66 downloads per month
Used in 4 crates (via wrangler)

MIT license

22KB
516 lines

An experimental new library that serializes and deserializes messages for the Chrome Devtools Protocol.

The Devtools Protocol is divided into a number of domains. Each of these domains have "methods" and "events" that can be both serialized and deserialized by this library.


Chrome Devtools Protocol Wrapper

⚠️ DO NOT USE THIS CRATE ⚠️

The API is extremely unstable, untested, and incomplete. There are a few other crates in the ecosystem that likely better serve your needs.

What's here so far

This repository is home to a wrapper for the Chrome Devtools Protocol written in Rust. It is a work in progress and does not cover all of the possible message types that the protocol emits. If you would like to use this library but it does not support a message type you need, feel free to open a PR.

Dependencies

~2.2–3.5MB
~61K SLoC