Skip to content

Commit 3cdc932

Browse files
committed
Set config defaults to provide backwards compatibility
1 parent 2a107ba commit 3cdc932

File tree

6 files changed

+13
-5
lines changed

6 files changed

+13
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased](https://github.com/nerou42/network-journal/compare/v0.6.0...HEAD)
8+
## [Unreleased](https://github.com/nerou42/network-journal/compare/v0.6.1...HEAD)
9+
10+
## [0.6.1](https://github.com/nerou42/network-journal/compare/v0.6.0...v0.6.1) - 2025-12-07
11+
12+
### Fixed
13+
14+
- Set config defaults to provide backwards compatibility
15+
916

1017
## [0.6.0](https://github.com/nerou42/network-journal/compare/v0.5.3...v0.6.0) - 2025-12-06
1118

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "network-journal"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
authors = ["nerou GmbH"]
55
description = "Collect network reports (like CSP, NEL, DMARC etc.) and print them to file"
66
repository = "https://github.com/nerou42/network-journal"

network-journal.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
%global debug_package %{nil}
33

44
Name: network-journal
5-
Version: 0.6.0
5+
Version: 0.6.1
66
Release: 1%{?dist}
77
Summary: Webserver and IMAP client to collect standardized browser and mailer reports
88

pkg/network-journal.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
%global debug_package %{nil}
33

44
Name: network-journal
5-
Version: 0.6.0
5+
Version: 0.6.1
66
Release: 1%{?dist}
77
Summary: Webserver and IMAP client to collect standardized browser and mailer reports
88

src/config.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ use std::path::PathBuf;
2121
use serde::{Deserialize, Serialize};
2222

2323
#[derive(Serialize, Deserialize, Clone, Debug)]
24+
#[serde(default)]
2425
pub struct NetworkJournalConfig {
2526
/// listen address, defaults to 127.0.0.1
2627
pub listen: String,

0 commit comments

Comments
 (0)