doxygen-rs

Transform Doxygen to Rustdoc.

Docs available here

Installation

Add this to your Cargo.toml toml [dependencies] doxygen-rs = "0.4"

Usage with Bindgen

Available on >=0.63 bindgen

```rs

[derive(Debug)]

struct Cb;

impl ParseCallbacks for Cb { fn processcomment(&self, comment: &str) -> Option { Some(doxygenrs::transform(comment)) } } ```

Example

```rust use doxygen_rs::transform;

let rustdoc = transform("@brief Example Doxygen brief"); assert_eq!(rustdoc, "Example Doxygen brief\n\n"); ```