Problem
I created a crate with a file that is included at compile time with include_str!. When I generated the docs, I found that the file content was also printed in the documentation, and since it was rather long, it exceeded the dialog box.
Steps
- Include a file in a crate, that is contained within a global constant
- Generate the documentation
- Navigate to the documentation, and see roughly was is in the attached image.
Possible Solution(s)
No response
Notes
Link to image.
Version
cargo 1.55.0 (32da73ab1 2021-08-23)
release: 1.55.0
commit-hash: 32da73ab19417aa89686e1d85c1440b72fdf877d
commit-date: 2021-08-23
Problem
I created a crate with a file that is included at compile time with
include_str!. When I generated the docs, I found that the file content was also printed in the documentation, and since it was rather long, it exceeded the dialog box.Steps
Possible Solution(s)
No response
Notes
Link to image.
Version