You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
* Support integration with [`arbitrary`](https://crates.io/crates/arbitrary) crate (see `arbitrary` feature).
4
4
* Support `Arbitrary` for integer types
5
5
* Support `Arbitrary` for float types
6
+
* Support `Arbitrary` for any inner types
6
7
* Ability to specify boundaries (`greater`, `greater_or_equal`, `less`, `less_or_equal`, `len_char_min`, `len_char_max`) with expressions or named constants.
// It's not possible to generate implementation of `Arbitrary` trait, because we don't know nor
15
+
// type nor validation rules.
16
+
if guard.has_validation(){
17
+
let msg = format!(
18
+
"Cannot derive trait `Arbitrary` for a custom type `{type_name}` which contains validation.\nYou have to implement `Arbitrary` trait manually to guarantee that it respects the validation rules.",
0 commit comments