Upgrade `validator` to latest version

finchie
May 16, 2025, 2:04 PM
4BRBTOJZITLV74MK6OHQRTAY3FL2FSHVXM42VEZ4YYEUZIUUYQYQC

Dependencies

  • [2] LTI3LT2G Bump all dependencies to latest compatible minor versions
  • [3] 4OJWMSOW Fully replace crate::Identity
  • [4] PNJL5TPZ Version bump
  • [5] 4KJ45IJL Implement new identity management
  • [6] EJ7TFFOW Re-adding Cargo.lock
  • [7] ABPFWGKH Create `pijul-interaction` crate
  • [8] 32G3GOK7 Migrate from `dialoguer` to `pijul-interaction`
  • [9] RDQYEED2 Fixing versions
  • [10] 2MKP7CB7 Move dependencies into workspace `Cargo.toml`
  • [11] N26HD5PF Replace `chrono` with `jiff`
  • [12] QQS7LII4 Add value hints to arguments
  • [13] STG7MO5M Version bump
  • [14] RIZ4IP76 Solving more conflicts
  • [15] DVBSW7SI Bump dependencies with minor-level changes
  • [16] RVAH6PXA Getting libpijul to compile to WASM32
  • [17] EVDH2ECT Migrate from `pijul::identity` to `pijul_identity`
  • [*] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).

Change contents

  • replacement in pijul-identity/src/create.rs at line 72
    [3.1901][3.30896:30970](),[3.30896][3.30896:30970]()
    if input.is_empty() || validator::validate_email(input) {
    [3.1901]
    [3.30970]
    use validator::ValidateEmail;
    if input.is_empty() || input.validate_email() {
  • replacement in pijul/src/commands/identity.rs at line 22
    [3.41310][3.41310:41356]()
    if validator::validate_email(input) {
    [3.41310]
    [3.41356]
    use validator::ValidateEmail;
    if input.validate_email() {
  • replacement in Cargo.toml at line 110
    [2.625][3.7926:7985](),[3.7926][3.7926:7985]()
    validator = { version = "0.15", default-features = false }
    [2.625]
    [2.626]
    validator = "0.20"
  • edit in Cargo.lock at line 1311
    [3.31423][3.31423:31685]()
    version = "0.2.3"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8"
    dependencies = [
    "matches",
    "unicode-bidi",
    "unicode-normalization",
    ]
    [[package]]
    name = "idna"
  • edit in Cargo.lock at line 1703
    [3.38125][3.38125:38317]()
    name = "matches"
    version = "0.1.10"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5"
    [[package]]
  • edit in Cargo.lock at line 3143
    [2.13851][2.13851:13866](),[2.13866][3.67550:67567](),[3.67550][3.67550:67567](),[3.67567][2.13867:13885](),[2.13885][3.67585:67650](),[3.67585][3.67585:67650](),[3.67650][2.13886:13964](),[2.13964][3.67728:67764](),[3.67728][3.67728:67764]()
    ]
    [[package]]
    name = "tinyvec"
    version = "1.9.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "09b3661f17e86524eccd4371ab0429194e0d7c008abb45f7a7495b1719463c71"
    dependencies = [
    "tinyvec_macros",
  • edit in Cargo.lock at line 3146
    [3.67779][3.67779:67977]()
    name = "tinyvec_macros"
    version = "0.1.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
    [[package]]
  • edit in Cargo.lock at line 3297
    [3.17873][3.10369:10382](),[3.71716][3.10369:10382](),[3.71729][3.71729:71751](),[3.71751][2.14694:14713](),[3.9156][3.71770:71835](),[2.14713][3.71770:71835](),[3.15773][3.71770:71835](),[3.71770][3.71770:71835](),[3.71835][2.14714:14792]()
    [[package]]
    name = "unicode-bidi"
    version = "0.3.18"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5"
  • edit in Cargo.lock at line 3303
    [2.14891][3.15854:15854](),[3.17972][3.15854:15854](),[3.10662][3.72110:72154](),[3.15854][3.72110:72154](),[3.17972][3.72110:72154](),[3.72110][3.72110:72154](),[3.72154][2.14892:14911](),[2.14911][3.72173:72238](),[3.72173][3.72173:72238](),[3.72238][2.14912:14990](),[2.14990][3.72316:72347](),[3.72316][3.72316:72347]()
    [[package]]
    name = "unicode-normalization"
    version = "0.1.24"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956"
    dependencies = [
    "tinyvec",
    ]
  • replacement in Cargo.lock at line 3323
    [3.72964][2.15089:15104]()
    "idna 1.0.3",
    [3.72964]
    [3.72979]
    "idna",
  • replacement in Cargo.lock at line 3350
    [3.73261][3.73261:73280]()
    version = "0.15.0"
    [3.73261]
    [3.73280]
    version = "0.20.0"
  • replacement in Cargo.lock at line 3352
    [3.73345][3.73345:73423]()
    checksum = "f07b0a1390e01c0fc35ebb26b28ced33c9a3808f7f9fbe94d3cc01e233bfeed5"
    [3.73345]
    [3.73423]
    checksum = "43fb22e1a008ece370ce08a3e9e4447a910e92621bb49b85d6e48a45397e7cfa"
  • replacement in Cargo.lock at line 3354
    [3.73440][3.73440:73455](),[3.73455][2.15517:15539]()
    "idna 0.2.3",
    "lazy_static 1.5.0",
    [3.73440]
    [3.73477]
    "idna",
    "once_cell",