browser-protocol
A high-performance, fully type-safe Rust client for the Chrome DevTools Protocol (CDP), automatically generated from the official protocol definitions.
🚀 Features
- Full Coverage: Includes types, commands, and events for all CDP domains.
- Type Safety: Leverage Rust's type system to avoid runtime protocol errors.
- Async Ready: Designed to work seamlessly with
tokioandserde. - Zero Warnings: The crate and its documentation are built to be perfectly clean.
- Documentation: All protocol descriptions are included as Rustdoc comments.
📦 Installation
Add this to your Cargo.toml:
[]
= "0.1.0"
= { = "1.0", = ["derive"] }
= "1.0"
🛠 Usage Example
use browser-GetDocumentParams;
use browser-NavigateParams;
🏗 How it was built
This crate is automatically generated using a custom Python script that parses the browser_protocol.json and produces idiomatic Rust modules.
⚖ License
Distributed under the MIT License. See LICENSE for more information.
Disclaimer: This is an automatically generated project. Always check the official CDP documentation for the latest protocol changes.