#macros #cdp #chrome #build-tool #devtools

auto_generate_cdp

experimental crate to generate the Chrome Devtools Protocol

24 releases

0.3.2 Nov 22, 2021
0.3.1 Nov 22, 2021
0.2.9 May 23, 2021
0.1.12 May 3, 2021
0.1.8 Apr 29, 2021

#50 in Build Utils

Download history 46/week @ 2021-08-16 23/week @ 2021-09-13 23/week @ 2021-09-27 23/week @ 2021-10-04 23/week @ 2021-10-11 1/week @ 2021-10-18 3/week @ 2021-11-01 25/week @ 2021-11-08 18/week @ 2021-11-15 41/week @ 2021-11-22

87 downloads per month

Custom license

77KB
1.5K SLoC

auto_generate_cdp

experimental crate to generate the Chrome Devtools Protocol.

Usage

Cargo.toml


[dependencies]
serde = {version = "1", features = ["derive"]}
serde_json = '1'

[build-dependencies]
auto_generate_cdp = "0.2.9"

build.rs

use auto_generate_cdp::init;

fn main() {
  init();
}

this will generate protocol.rs when you do cargo check or cargo build in your src folder which you can use in your crate

Dependencies

~3–7MB
~170K SLoC

Ia