diff --git a/CHANGELOG.md b/CHANGELOG.md
index 71b3d05..7ff6963 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,5 @@
-### next
+
+### v2.17.0 - 2024/05/05
- default binding for 'c' in bacon.toml is now the new 'clippy-all' job which does what the old 'clippy' job was doing. 'clippy' job changed to not run on all targets. Default bacon.toml explain how to bind 'c' to clippy instead of 'clippy-all' - Fix #167
- expand env vars in job command unless the job specifies `expand_env_vars = false` - Fix #181
- some file events filtered out from watch (feedback welcome, especially if you notice some failures to recompute)
diff --git a/Cargo.lock b/Cargo.lock
index 68ebb69..0738ebd 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -125,7 +125,7 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
[[package]]
name = "bacon"
-version = "2.16.1-dev"
+version = "2.17.0"
dependencies = [
"anyhow",
"cargo_metadata",
diff --git a/Cargo.toml b/Cargo.toml
index 231f0f1..6637817 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "bacon"
-version = "2.16.1-dev"
+version = "2.17.0"
authors = ["dystroy "]
repository = "https://github.com/Canop/bacon"
description = "background rust compiler"
diff --git a/src/export_settings.rs b/src/export_settings.rs
index c6ea5ad..012f1ff 100644
--- a/src/export_settings.rs
+++ b/src/export_settings.rs
@@ -40,10 +40,10 @@ impl ExportSettings {
self.enabled = enabled;
}
if let Some(path) = &config.path {
- self.path = path.clone();
+ self.path.clone_from(path);
}
if let Some(line_format) = &config.line_format {
- self.line_format = line_format.clone();
+ self.line_format.clone_from(line_format);
}
}
}
diff --git a/src/settings.rs b/src/settings.rs
index 1d51046..6fb9e94 100644
--- a/src/settings.rs
+++ b/src/settings.rs
@@ -82,7 +82,7 @@ impl Settings {
self.keybindings.add_all(keybindings);
}
if config.additional_alias_args.is_some() {
- self.additional_alias_args = config.additional_alias_args.clone();
+ self.additional_alias_args.clone_from(&config.additional_alias_args);
}
for (name, job) in &config.jobs {
self.jobs.insert(name.clone(), job.clone());
@@ -138,9 +138,9 @@ impl Settings {
self.all_features = true;
}
if args.features.is_some() {
- self.features = args.features.clone();
+ self.features.clone_from(&args.features);
}
- self.additional_job_args = args.additional_job_args.clone();
+ self.additional_job_args.clone_from(&args.additional_job_args);
}
pub fn check(&self) -> Result<()> {
if self.jobs.is_empty() {