read-only 0.1.1

Read-only field exposure and safe composition helpers via proc macros
Documentation
1
2
3
4
5
6
7
error: input must be a struct with fields
 --> tests/macro/fail/empty_struct.rs:3:1
  |
3 | #[cast]
  | ^^^^^^^
  |
  = note: this error originates in the attribute macro `cast` (in Nightly builds, run with -Z macro-backtrace for more info)