🔨 Chrome DevTools Protocol toolkit for Rust
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cdp-definition
cdp-derive
cdp
json
tokio-cdp
.gitignore
.travis.yml
Cargo.toml
README.md
appveyor.yml
bake.sh
rustfmt.toml
update-json.sh

README.md

rust-cdp

Chrome DevTools Protocol toolkit for Rust

Linux/OSX Build Status Windows Build Status

Contents

This repository houses the source for the following Rust libraries, each of which has its own README:

  • cdp: Chrome DevTools Protocol types and (de)serialization for Rust
  • cdp-definition: Types and (de)serialization for the Chrome DevTools Protocol definition JSON
  • cdp-derive: Derive traits from the cdp library
  • tokio-cdp: Chrome DevTools Protocol client/server library for Rust/Tokio

Maintainers

The project should ideally track the Chrome stable release cycle with regard to the version of the protocol it supports.

The update-json.sh script can be used to automatically identify the latest Chrome stable release and download the correspondong Chrome DevTools Protocol specification JSON files.

During development, the cdp crate is configured to automatically generate code from these JSON files as part of the build process. For a release, however, this generated code should be "baked" into the published artifact, saving time for end users and freeing them from having to install the build dependencies. The bake.sh script will perform this task, placing a ready-for-release version of the crate in the cdp-baked directory.