Skip to content

semicoleon/build-ctx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demonstrates how a library crate can access build time information about an end-user crate via a build script.

You can run the user binaries with

cargo run --bin app_init

and

cargo run --bin app_main

Crates

  • user: The "user" of our library crate build-ctx which calls into build-ctx-codegen in its build script.
  • build-ctx: The actual library crate that will provide most of the functionality to the dependent crate.
  • build-ctx-codegen: The crate that the build script will call to do the code generation required for build-ctx to do its work.

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages