This crate provides procedural macrs to generate functions that return static slices of struct field names or enum variant names.

Examples

```rust use fievar::Fields;

[derive(Fields)]

struct Token { accesstoken: String, refreshtoken: String, }

asserteq!(&["accesstoken", "refresh_token"], Token::fields()); ```

You can also rename fields. ```rust use fievar::Fields;

[derive(Fields)]

struct Token { #[fievar(name = "accessToken")] accesstoken: String, refreshtoken: String, }

asserteq!(&["accessToken", "refreshtoken"], Token::fields()); ```