File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 0.4.1] - 2023-03-10
9+
10+ ### Fixed
11+
12+ - Size optimization for release mode
13+ - Bump dependencies
14+
815## [ 0.4.0] - 2022-12-21
916
1017### Added
Original file line number Diff line number Diff line change 11[package ]
22name = " git2mail"
3- version = " 0.4.0 "
3+ version = " 0.4.1 "
44authors = [" exti0p" ]
55edition = " 2021"
66license = " LGPL-3.0-only"
@@ -13,14 +13,21 @@ categories = ["command-line-utilities"]
1313# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1414
1515[dependencies ]
16- clap = " 4.0.30 "
16+ clap = " 4.1.4 "
1717itertools = " 0.10.5"
1818openssl = { version = " 0.10.45" , features = [" vendored" ] }
19- regex = " 1.7.0 "
20- reqwest = { version = " 0.11.13 " , features = [" blocking" , " json" ] }
21- serde = { version = " 1.0.151 " , features = [" derive" ] }
22- serde_json = " 1.0.91 "
19+ regex = " 1.7.1 "
20+ reqwest = { version = " 0.11.14 " , features = [" blocking" , " json" ] }
21+ serde = { version = " 1.0.152 " , features = [" derive" ] }
22+ serde_json = " 1.0.92 "
2323
2424# logging
2525log = " 0.4.17"
2626pretty_env_logger = " 0.4.0"
27+
28+ [profile .release ]
29+ opt-level = " z" # Optimize for size
30+ lto = true # Enable Link Time Optimization
31+ codegen-units = 1 # Reduce number of codegen units to increase optimizations
32+ panic = " abort" # Abort on panic
33+ strip = true # Automatically strip symbols from the binary
Original file line number Diff line number Diff line change @@ -578,7 +578,6 @@ fn get_project_root() -> io::Result<PathBuf> {
578578
579579 for path in path_ancestors {
580580 let has_cargo: bool = read_dir ( path) ?
581- . into_iter ( )
582581 . any ( |path| match path {
583582 Ok ( path) => Ok ( path. file_name ( ) ) ,
584583 _ => Err ( "Current path could not be handled" )
You can’t perform that action at this time.
0 commit comments