Crates.io | tonic-disable-doctest |
lib.rs | tonic-disable-doctest |
version | 0.1.0 |
source | src |
created_at | 2023-05-25 11:21:52.69341 |
updated_at | 2023-05-25 11:21:52.69341 |
description | Disable doctest in autogenerated code preserving docstring |
homepage | |
repository | https://github.com/sukhmel/tonic-disable-doctest |
max_upload_size | |
id | 874227 |
size | 8,147 |
Separate docstring for specific structs autogenerated by tonic_build
. This may be handy in cases where comments for autogeneration input contain code that will be incorrectly treated as rust code and you have no control over the input. This will disable doctest of these docs while retaining the docstring in a separate struct.