#newtype

  1. email_address

    提供一个符合RFC的EmailAddress新类型实现

    v0.2.9 196K #email #address #newtype #parser #rfc-compliant #validation #str
  2. nutype

    具有保证的新类型

    v0.4.3 215K #validation #newtype #sanitization #invariants #derive #proc-macro #regex
  3. text-size

    文本偏移的新类型

    v1.1.1 209K #text #offset #newtype #u32 #range #string #wrapper
  4. debug-ignore

    一个新类型包装器,在打印Debug输出时跳过字段

    v1.0.5 206K #debugging #fields #output #ignore #skip #printing #newtype
  5. index_vec

    Vecusize提供新类型风格的助手

    v0.1.4 3.7K #vec #newtype #usize #index #indexed #integer #signed-integer
  6. g2p

    创建实现快速有限域算术的类型

    v1.1.0 115K #finite-fields #galois #newtype #macro
  7. newtype-uuid

    UUID的新类型包装器

    v1.1.0 58K #uuid #unique-identifier #newtype #unique #guid
  8. cozy-chess

    Rust 国际象棋和Chess960走法生成库

    v0.3.4 #chess #move #bitboard #chess-engine #board #generation #newtype
  9. diesel-derive-newtype

    自动将新类型与其包装类型连接到Diesel

    v2.1.2 14K #newtype #diesel #derive #automatic #connect #custom-derive #traits
  10. aliri_braid

    通过使用强类型来减少样板代码,改进和强化您的字符串

    v0.4.0 108K #string #newtype #validation #normalization #wrapper #reduce-boilerplate
  11. open-enum

    使用新类型结构和相关常量生成“开放”无字段枚举的属性,这些枚举接受任何整数值

    v0.5.2 5.9K #enums #open #integer #integer-value #newtype
  12. as_variant

    将具有新类型变体的枚举转换为 Option 的宏

    v1.2.0 7.9K #macro #enums #variant #convert #newtype #options
  13. opentalk-diesel-newtype

    用于 OpenTalk crate 的 diesel 类型的新类型推导

    v0.12.0 3.1K #diesel #newtype #open-talk #type
  14. from_variants

    Rust 宏,自动生成新类型枚举的转换

    v1.0.2 14K #enums #variant #convert #automatic #newtype #generate #macro
  15. ref-ops

    为指向新类型的引用实现 ops 特性的逃生门

    v0.2.5 #newtype #ops #traits #ref #impl #no-alloc
  16. newtype-derive-2018

    用于从新类型结构推导常见特性的宏

    v0.2.3 #macro-derive #newtype #macro #derive #custom-derive #macro-attr #generics
  17. rvstruct

    为 Rust 中的值类实现辅助宏

    v0.3.2 31K #newtype #class #macro-derive #value
  18. align_constr

    类似于 aligned,但更好。其对齐不仅受底层类型固有的对齐要求约束,还受“对齐约束原型”的对齐要求约束的新类型

    v0.2.0 #alignment #traits #maths #archetypes #constraint #newtype #requirements
  19. dynp

    强调使用新类型模式的动态属性系统

    v0.1.12 #newtype #properties #pattern #system #dynamic #type-safe #emphasizes
  20. string-newtype

    类似字符串类型的新类型惯用法助手

    v0.1.1 #newtype #string #wrapper
  21. pack1

    不同原始类型的大端新类型

    v1.0.0 #byte-array #newtype #primitive #types #different #alignment
  22. metfor

    气象公式和常量

    v0.9.0 #meteorology #weather #constants #calculations #units #formulas #newtype
  23. microtype

    简化微类型的创建

    v0.7.6 360 #newtype #microtypes #compile-time #bug #types #primitive #logic
  24. nova

    支持 serde 和 sqlx 的宏来推导新类型

    v0.5.4 #newtype #sqlx #macro-derive #serde #copy #debugging #clone
  25. id_collections

    Rust 的面向索引编程

    v1.0.1 #id #newtype #index #map #vec #data-structures #integer-value
  26. thisisplural

    使用#[derive(Plural)]为 Vec 或 HashMap 等任何集合类型创建无摩擦的新类型

    v0.4.0 #collection #hash-map #newtype #vec #derive
  27. typed-fields

    生成新类型的宏集合

    v0.2.0 #newtype #macro #generate #secret #types #fields #url
  28. ser_der

    为 der crate 创建新类型以允许 serde 的反序列化和序列化

    v0.1.0-alpha.1 #der #newtype #ser #asn1
  29. shrinkwraprs

    自动推导 Rust 转换特征 -- 让使用新类型变得容易

    v0.3.0 17K #newtype #conversion #convert
  30. eso

    构建类似 Cow 的容器的类型机械

    v0.0.2 #reference #string #container #lifetime #newtype #building-block #cow
  31. newtype-ops

    为许多新类型推导操作符。比 newtype_derive 更强大。

    v0.1.4 3.6K #newtype #operator #macro #helper #wartier #newtype-derive #foo
  32. phantom_newtype

    无需宏的轻量级新类型

    v0.2.0 #newtype #amount #macro #id #type #enums #archetypes
  33. newtype_derive

    用于从新类型结构推导常见特性的宏

    v0.1.6 22K #newtype #macro #wrapper #derive #custom-derive
  34. text_unit

    文本偏移的新类型

    v0.1.10 2.3K #offset #newtype #text #u32 #wrappers
  35. aliri_braid_examples

    演示了如何使用 aliri_braid 包的示例

    v0.4.0 #string #newtype #normalization #validation
  36. wrapped_slab

    WrappedSlab:基于Slab自动生成newtype惯用法

    v0.2.2 #slab #key #newtype #generate #guarantees #replace #auto-generate
  37. the-newtype

    Newtype 特性

    v0.1.1 #newtype #traits #automatic #wrap
  38. newtype-enum

    转换枚举及其变体类型的特性

    v0.1.0 300 #enums #newtype #macro
  39. inline_newtype

    受 Kotlin 的 inline class 启发的 newtype 宏

    v0.1.1 #newtype #inline #kotlin #class #macro #field #transform
  40. 尝试使用 DuckDuckGo 进行搜索。搜索.

  41. enumorph

    派生宏,用于生成 TryFromFrom 实现以在 newtype 枚举变体及其包装值之间进行转换

    v0.1.2 #enums #variant #macro #generate #newtype #values #macro-derive
  42. synonym

    可自定义的派生宏,用于创建 newtype。它会查看基础类型以选择应实现哪些特性。

    v0.1.5 850 #newtype #synonyms #macro-derive #alias
  43. derive-for

    定义使用相同 derive 程序性宏的结构体的宏

    v1.2.2 190 #macro-derive #newtype #structs #deriving #transparent #procedural #proc-macro
  44. validated_newtype

    具有检查谓词的 newtype(主要用于 serde)

    v0.1.1 #newtype #serde #validation
  45. fmt_adapter

    newtype 适配器,用于任何格式化特性

    v0.2.1 #fmt #adapter #newtype #format #displayfromdebug
  46. bip21

    Rust 风格的、合规的、灵活且性能良好的 BIP21 包

    v0.5.0 4.0K #newtype #parser #bitcoin #newtypes
  47. nutype_macros

    具有保证的新类型

    v0.4.3 212K #validation #newtype #sanitization #invariants #derive #regex
  48. newtype

    为元组结构体提供 newtype 语义的自定义推导

    v0.2.1 #semantics #tuple #structs #give
  49. 用法

    newtype 模式的便捷替代方案

    v1.4.0 #newtype #classification #alternative
  50. ln-types

    与闪电网络相关的常见类型

    v0.2.1 #lightning #newtype #networking #newtypes
  51. trapper

    创建不需要拥有其内部值的 newtype

    v2.0.0 #newtype #wrapper #dont #ownership #require #transparent #i32
  52. serde_newtype

    用于与 serde 一起使用的生成具有有效性检查的 newtype 的宏

    v0.1.1 #newtype #serde #generate #macro #check #validity
  53. ratio-def

    定义单位比率的 newtype

    v0.3.1 #ratio #newtype #unit #define
  54. forward-traits

    通用 trait-转发 crate

    v3.1.0 #traits #forwarding #newtype #delegation #forward #trait
  55. bitcoin-units

    基本比特币数值单位,如金额

    v0.1.2 28K #bitcoin #newtype #newtypes
  56. forwarding_gen

    通过转发 trait 方法在 Rust 中模拟 OOP 继承的语法处理

    v0.1.0 #forwarding #oop #inheritance #composition #newtype #reusability #design-pattern
  57. ckb-verification

    CKB 验证

    v0.118.0-rc1 1.8K #ckb #verification #struct #nervos #newtype #abstraction #component
  58. stockfighter

    StockFighter 的完整 API

    v0.2.1 #complete #api #set #api-key #nightly #newtype
  59. g2gen

    一个宏,用于创建实现快速有限域算术的类型

    v1.1.0 111K #finite-fields #newtype #macro #galois
  60. oxidate

    将字符串转换为 Rust AST

    v0.1.0 #ast #parse #ast-node #string #turns #newtype #syn
  61. my-own-uuid

    用于生成 Uuid Newtypes 的宏

    v0.1.2 #uuid #own #newtype #macro #generate #wrapper
  62. 不变性

    创建强制不变性的包装类型

    v0.0.2 #invariants #newtype #wrapper #wrapper-type
  63. from_tuple

    从元组派生结构体

    v0.1.2 #tuple #struct #field #unique #derive #newtype #i32
  64. rvs_derive

    为 Rust 中的值类实现辅助宏

    v0.3.2 31K #newtype #class #value
  65. rcstruct

    生成透明的 Struct(Rc<RefCell<Struct>>) newtypes

    v0.2.0 #newtype #transparent #struct #generate #refcell #rc-ref-cell-struct #running
  66. exitfailure

    用于主函数中与 ? 一起使用的基本 newtype 包装器

    v0.5.1 6.9K #failure #newtype #error #cli #command-line #error-message
  67. byte-fmt

    B64 和 AB newtype 用于解析和打印

    v0.3.0-rc1 #base64 #newtype #abe
  68. microtype-macro

    用于生成微类型的过程宏

    v0.2.6 320 #proc-macro #microtype #generate #microtypes #types #newtype #string
  69. id-derive

    基于派生的 Rust 中整数字符 ID 的 newtype 模式

    v0.1.0 #id #derive #newtype #pattern #integral #identifier #derive-based
  70. fast_new_type

    实现用于其他类型包装的常见特质的 proc_macro 属性

    v0.1.7 #attributes #construct #newtype #macro #attribute #proc-macro-attributes
  71. opentalk-diesel-newtype-impl

    OpenTalk 软件包中使用的 diesel 类型的新type 派生 - 过程宏实现

    v0.12.0 3.8K #diesel #open-talk #newtype #proc-macro #type
  72. open-enum-derive

    使用新类型结构和相关常量生成“开放”的 C 类似枚举的属性,这些枚举可以接受任何整数值

    v0.5.2 5.3K #枚举 #打开 #整数 #新类型 #枚举 #整数值
  73. the-newtype-core

    新类型特质核心

    v0.1.1 110 #新类型 #特质 #the-newtype-core