Use `serde_derive` instead of `serde`'s `derive` feature'

finchie
May 15, 2025, 9:09 AM
QAS4VLXUNSYY53SSYJECRM6JSKTM47SCSKLJANRNXOROFWVE7UJAC

Dependencies

  • [2] 2MKP7CB7 Move dependencies into workspace `Cargo.toml`
  • [3] I52XSRUH Massive cleanup, and simplification
  • [4] BV4PLHOV Remove dependency on `once_cell`
  • [5] BECIRKR2 Avoid a double formatting
  • [6] 6F6AAHK4 Simplifying pijul::commands::log, and fixing Broken Pipe errors
  • [7] Y6TBQN7M Automatically format `pijul` crate
  • [8] 4KJ45IJL Implement new identity management
  • [9] NAUECZW3 Fixing the map between keys and identities
  • [10] ABQDWHNG Migrate from `pijul::repository` to `pijul-repository`
  • [11] 4OJWMSOW Fully replace crate::Identity
  • [12] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [13] F2S6XETO Fixing log --hash-only
  • [14] OU6JOR3C Add path filtering for log, add json output for log
  • [15] 32G3GOK7 Migrate from `dialoguer` to `pijul-interaction`
  • [16] ATUZBEPE Add hunk paths to log ouput
  • [*] SU3JX6SE Create `pijul-identity` crate
  • [*] EJ7TFFOW Re-adding Cargo.lock

Change contents

  • replacement in pijul-identity/src/lib.rs at line 56
    [3.25][3.2104:2141](),[3.791][3.2104:2141](),[3.2104][3.2104:2141]()
    use serde::{Deserialize, Serialize};
    [3.791]
    [3.0]
    use serde_derive::{Deserialize, Serialize};
  • edit in pijul-identity/Cargo.toml at line 25
    [2.1464]
    [2.1464]
    serde_derive.workspace = true
  • edit in pijul/src/commands/log.rs at line 17
    [3.269][3.269:291]()
    use serde::Serialize;
  • replacement in pijul/src/commands/log.rs at line 182
    [3.4790][3.4790:4811]()
    #[derive(Serialize)]
    [3.4790]
    [3.0]
    #[derive(serde_derive::Serialize)]
  • replacement in pijul/src/commands/log.rs at line 289
    [3.7605][3.7605:7638]()
    impl Serialize for LogIterator {
    [3.7605]
    [3.7638]
    impl serde::Serialize for LogIterator {
  • replacement in Cargo.toml at line 90
    [2.7494][2.7494:7545]()
    serde = { version = "1.0", features = ["derive"] }
    [2.7494]
    [2.7545]
    # The versions of `serde` and `serde_derive` must be exactly equal, see:
    # https://github.com/serde-rs/serde/issues/2584
    serde = "1.0"
  • edit in Cargo.toml at line 95
    [2.7566]
    [2.7566]
  • edit in Cargo.lock at line 1982
    [18.1435]
    [18.1435]
    "serde_derive",