Function stubr_build::stubr_consumer
source · pub fn stubr_consumer()
Expand description
This introspects package build dependencies and extracts json stubs files
located under a ‘stubs’ directory at package root into ‘target/stubr/
Example
In your build.rs
build script
fn main() { stubr_build::stubr_consumer() }