A crate used to make struct and its fields public
add the dependency to your Cargo.toml
toml
[dependencies]
public = { git = "https://github.com/yuchunzhou/public", branch = "main" }
then, mark the struct with the make_public
macro
```rust
extern crate public;
struct Foo { a: i8, b: char, c: String, } ```
the struct Foo
and its fields will be exported to the outside world, also you can limit the items' visibility within a
given scope like the pub
restrictions in Rust.