validatable 0.1.0

Define validated data types once and share them between the frontend and backend of isomorphic Rust web applications, with plain, input, and form representations
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: cannot derive unit struct
 --> tests/compile_fail/unit_struct.rs:3:10
  |
3 | #[derive(Validatable)]
  |          ^^^^^^^^^^^
  |
  = note: this error originates in the derive macro `Validatable` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0392]: type parameter `F` is never used
 --> tests/compile_fail/unit_struct.rs:4:13
  |
4 | struct Test<F: FieldFamily>;
  |             ^ unused type parameter
  |
  = help: consider removing `F`, referring to it in a field, or using a marker such as `PhantomData`