# include Doc
[](https://github.com/simon-bourne/include-doc/actions/workflows/tests.yml)
[](https://crates.io/crates/include-doc)
[](https://docs.rs/include-doc)
[](./LICENSE-APACHE)
Include examples in your Rustdocs.
This crate allows you to include example files in Rustdoc.
## Features
- Write and maintain your examples in a normal Rust file, with full editor support. See [this example](example/src/doc_with_example.rs).
- Automatically hide imports.
- Put many examples into one file, avoiding duplicated boilerplate for setup code. ee [this example](example/src/doc_with_tests.rs).