Skip to content
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.

Latest commit

 

History

History
34 lines (25 loc) · 1.54 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.54 KB

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.