Giters
greyblake
/
nutype
Rust newtype with guarantees πΊπ¦ π¦
Geek Repo:
Geek Repo
Github PK Tool:
Github PK Tool
Stargazers:
1211
Watchers:
6
Issues:
57
Forks:
19
greyblake/nutype Issues
Use #[diagnostic] to improve error messages
Updated
21 days ago
Support for borrowing newtypes
Updated
a month ago
Comments count
1
Support Arbitrary for String types
Closed
2 months ago
Is a generic newtype possible?
Updated
2 months ago
Comments count
4
Consider switching to `predicates` crate for predicates
Closed
2 months ago
Comments count
1
Add const getter for Copy types
Updated
3 months ago
Comments count
4
Consider implementing From<T> where T: Into<#inner_type>?
Closed
3 months ago
Comments count
12
Add meaningful error messages
Closed
3 months ago
Comments count
3
Considering `try_` prefix for creating nutype objects
Closed
8 months ago
Comments count
2
Consider making `::new` to be `const fn`
Updated
3 months ago
Comments count
11
Unable to use validation in no-std crate
Closed
4 months ago
Comments count
3
Suggestion: Add `#[inline(always)]` to most derives
Closed
5 months ago
Comments count
9
Support Arbitrary for `any` types
Closed
4 months ago
Add typos crate to CI
Closed
5 months ago
Support Arbitrary for float types
Closed
5 months ago
Comments count
1
Ability to derive `fake-rs`'s `Dummy` trait
Closed
5 months ago
Comments count
7
Respect constant names in validation rules
Closed
5 months ago
Comments count
1
Add a proper support for NonZero integers
Updated
6 months ago
Improve docs in README / lib.rs
Closed
6 months ago
Rename char_len_max and char_len_min to len_char_max and len_char_min
Closed
6 months ago
Add minimal docs for nutype::nutype
Closed
6 months ago
Add examples
Closed
6 months ago
Allow to pass `mut` with callback to sanitize without spacifing full type
Closed
7 months ago
Incompatibility with Ron crate prevents Nutype deserialization from RON format
Closed
9 months ago
Comments count
9
Rename error variants to have Violated postfix
Closed
9 months ago
[BREAKING] Rename min_len and max_len on String-based types
Closed
9 months ago
Comments count
1
Rename validator `with =` to `predicate = `
Closed
10 months ago
Comments count
1
Unify the error types in the nutype package
Updated
10 months ago
Comments count
1
Move derive into nutype attributes
Closed
10 months ago
DRY logic in the module generation
Closed
10 months ago
Comments count
2
Use Expr for default values instead of TokenStream
Closed
10 months ago
Use cfg-if instead of match_feature
Closed
10 months ago
Rewrite parse logic for float types with syn::parser::Parse
Closed
10 months ago
Comments count
1
Consider using darling for proc macro parsing
Closed
10 months ago
Comments count
1
[BREAKING] Remove derive(*)
Closed
10 months ago
Comments count
1
Migrate to syn 2.x
Closed
a year ago
Comments count
1
Support deriving Deref
Closed
a year ago
Should define a Error type rather than generate error type for every struct
Closed
a year ago
Comments count
1
Refactor: match_feature
Closed
a year ago
Feature request: enable setting custom default values
Closed
a year ago
Comments count
3
String len validation: bytes VS chars
Closed
a year ago
Allow deriving TryFrom for types with validation
Closed
a year ago
Comments count
1
Allow derive(Eq, Ord) on float based types
Closed
a year ago
Comments count
1
Add `finite` validation rule on f32,f64 types
Closed
a year ago
Inner refactoring: Rename StandardTrait -> TransparentTrait or ProxyTrait
Closed
a year ago
Comments count
1
Refactor: use format_ident!
Closed
a year ago
Support derive for JsonSchema
Closed
a year ago
Comments count
8
Best practice in Rust: "fallible new" vs TryFrom?
Closed
a year ago
Comments count
6
Refactor: move `gen_impl_into_inner` into common
Closed
a year ago
[Bug] Unknown validation rule `not_empty`
Closed
a year ago
Comments count
2
Previous
Next