Remove `#[serde(default)]` from fields in `pijul_config::Config`

finchie
Jul 29, 2025, 9:48 AM
S2R2V2C64T3JJPMY36G3T3EVRNASGDHSL7OZDFWUIQIZOGAXCC7QC

Dependencies

  • [2] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [3] KWAGWB73 Adding extra dependencies from the config file
  • [4] Z4PPQZUG Refactor `pijul-config` to support layered configuration
  • [5] TV7KEL6Z Make `Choice` fields `pijul_config::Config` non-optional
  • [6] 2TWREKSR Treat missing config file as empty
  • [7] H4AU6QRP New config for HTTP remotes
  • [8] FVU3Y2U3 Adding a local "unrecord_changes" option in addition to the global one
  • [9] SEWGHUHQ .pijul/config: simplify remotes and hooks
  • [10] ZSFJT4SF Allow remotes to have a different push and pull address
  • [11] QCPIBC6M Make the default remote configurable through the cli
  • [*] 2ZKE4XMJ Replace `pijul_repository::init_dot_ignore` with `pijul_config::Config::dot_ignore_contents`

Change contents

  • edit in pijul-config/src/lib.rs at line 51
    [4.5281][4.5281:5303]()
    #[serde(default)]
  • edit in pijul-config/src/lib.rs at line 55
    [2.91124][4.5370:5392]()
    #[serde(default)]
  • edit in pijul-config/src/lib.rs at line 56
    [3.63][4.5393:5415]()
    #[serde(default)]
  • edit in pijul-config/src/defaults.toml at line 3
    [5.120]
    [5.120]
    # Local
    extra_dependencies = []
    remotes = []
    # Shared