Update yanked png, change to thin lto, fix cli commands
This commit is contained in:
parent
c58569eaa0
commit
4dbc26e18c
2
.github/workflows/linux_cli.yml
vendored
2
.github/workflows/linux_cli.yml
vendored
|
@ -25,7 +25,7 @@ jobs:
|
|||
run: rustup default ${{ matrix.toolchain }}
|
||||
|
||||
- name: Enable LTO
|
||||
run: sed -i 's/#lto = "fat"/lto = "fat"/g' Cargo.toml
|
||||
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml
|
||||
if: ${{ (matrix.type == 'release') }}
|
||||
|
||||
- name: Build Release
|
||||
|
|
2
.github/workflows/linux_cli_eyra.yml
vendored
2
.github/workflows/linux_cli_eyra.yml
vendored
|
@ -33,7 +33,7 @@ jobs:
|
|||
cd ..
|
||||
|
||||
- name: Enable LTO
|
||||
run: sed -i 's/#lto = "fat"/lto = "fat"/g' Cargo.toml
|
||||
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml
|
||||
if: ${{ (matrix.type == 'release') }}
|
||||
|
||||
- name: Build Release
|
||||
|
|
8
.github/workflows/linux_gui.yml
vendored
8
.github/workflows/linux_gui.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
|||
run: rustup default ${{ matrix.toolchain }}
|
||||
|
||||
- name: Enable LTO
|
||||
run: sed -i 's/#lto = "fat"/lto = "fat"/g' Cargo.toml
|
||||
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml
|
||||
if: ${{ (matrix.type == 'release') }}
|
||||
|
||||
- name: Build Release Krokiet
|
||||
|
@ -52,7 +52,7 @@ jobs:
|
|||
run: rustup default ${{ matrix.toolchain }}
|
||||
|
||||
- name: Enable LTO
|
||||
run: sed -i 's/#lto = "fat"/lto = "fat"/g' Cargo.toml
|
||||
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml
|
||||
if: ${{ (matrix.type == 'release') }}
|
||||
|
||||
- name: Build Release Krokiet heif
|
||||
|
@ -82,7 +82,7 @@ jobs:
|
|||
run: rustup default ${{ matrix.toolchain }}
|
||||
|
||||
- name: Enable LTO
|
||||
run: sed -i 's/#lto = "fat"/lto = "fat"/g' Cargo.toml
|
||||
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml
|
||||
if: ${{ (matrix.type == 'release') }}
|
||||
|
||||
- name: Build Release Heif Libraw
|
||||
|
@ -124,7 +124,7 @@ jobs:
|
|||
run: rustup default ${{ matrix.toolchain }}
|
||||
|
||||
- name: Enable LTO
|
||||
run: sed -i 's/#lto = "fat"/lto = "fat"/g' Cargo.toml
|
||||
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml
|
||||
if: ${{ (matrix.type == 'release') }}
|
||||
|
||||
- name: Build Release
|
||||
|
|
2
.github/workflows/mac.yml
vendored
2
.github/workflows/mac.yml
vendored
|
@ -31,7 +31,7 @@ jobs:
|
|||
run: rustup default ${{ matrix.toolchain }}
|
||||
|
||||
- name: Enable LTO
|
||||
run: sed -i '' 's/#lto = "fat"/lto = "fat"/g' Cargo.toml
|
||||
run: sed -i '' 's/#lto = "thin"/lto = "thin"/g' Cargo.toml
|
||||
if: ${{ (matrix.type == 'release') }}
|
||||
|
||||
- name: Build Release
|
||||
|
|
4
.github/workflows/windows.yml
vendored
4
.github/workflows/windows.yml
vendored
|
@ -31,7 +31,7 @@ jobs:
|
|||
rustup target add x86_64-pc-windows-gnu
|
||||
|
||||
- name: Enable LTO
|
||||
run: sed -i 's/#lto = "fat"/lto = "fat"/g' Cargo.toml
|
||||
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml
|
||||
|
||||
- name: Compile Krokiet
|
||||
run: cargo build --release --target x86_64-pc-windows-gnu --bin krokiet
|
||||
|
@ -79,7 +79,7 @@ jobs:
|
|||
run: rustup default stable-x86_64-pc-windows-gnu
|
||||
|
||||
- name: Enable LTO
|
||||
run: sed -i 's/#lto = "fat"/lto = "fat"/g' Cargo.toml
|
||||
run: sed -i 's/#lto = "thin"/lto = "thin"/g' Cargo.toml
|
||||
|
||||
- name: Compile Krokiet
|
||||
run: cargo build --release --bin krokiet
|
||||
|
|
413
Cargo.lock
generated
413
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -19,7 +19,7 @@ panic = "unwind"
|
|||
|
||||
# LTO setting is disabled by default, because release mode is usually needed to develop app and compilation with LTO would take a lot of time
|
||||
# But it is used to optimize release builds(and probably also in CI, where time is not so important as in local development)
|
||||
#lto = "fat"
|
||||
#lto = "thin"
|
||||
|
||||
# Optimize all dependencies except application/workspaces, even in debug builds
|
||||
[profile.dev.package."*"]
|
||||
|
|
|
@ -428,7 +428,7 @@ pub struct CommonCliItems {
|
|||
long_help = "List of checked files with provided extension(s). There are also helpful macros which allow to easy use a typical extensions like:\nIMAGE(\"jpg,kra,gif,png,bmp,tiff,hdr,svg\"),\nTEXT(\"txt,doc,docx,odt,rtf\"),\nVIDEO(\"mp4,flv,mkv,webm,vob,ogv,gifv,avi,mov,wmv,mpg,m4v,m4p,mpeg,3gp\") or\nMUSIC(\"mp3,flac,ogg,tta,wma,webm\")\n "
|
||||
)]
|
||||
pub allowed_extensions: Vec<String>,
|
||||
#[clap(short = 'E', long, help = "Excluded file extension(s)", long_help = "List of extensions, that will be removed from search.\n ")]
|
||||
#[clap(short = 'L', long, help = "Excluded file extension(s)", long_help = "List of extensions, that will be removed from search.\n ")]
|
||||
pub excluded_extensions: Vec<String>,
|
||||
#[clap(flatten)]
|
||||
pub file_to_save: FileToSave,
|
||||
|
|
|
@ -17,7 +17,7 @@ chrono = "0.4.34"
|
|||
open = "5.0"
|
||||
crossbeam-channel = "0.5"
|
||||
handsome_logger = "0.8"
|
||||
rfd = { version = "0.13", default-features = false, features = ["xdg-portal", "async-std"] }
|
||||
rfd = { version = "0.14", default-features = false, features = ["xdg-portal", "async-std"] }
|
||||
home = "0.5"
|
||||
log = "0.4.20"
|
||||
serde = "1.0"
|
||||
|
@ -39,7 +39,7 @@ once_cell = "1.19"
|
|||
# Try to use only needed features from https://github.com/slint-ui/slint/blob/master/api/rs/slint/Cargo.toml#L23-L31
|
||||
#slint = { path = "/home/rafal/test/slint/api/rs/slint/", default-features = false, features = ["std",
|
||||
#slint = { git = "https://github.com/slint-ui/slint.git", default-features = false, features = [
|
||||
slint = { version = "1.4", default-features = false, features = [
|
||||
slint = { version = "1.4", default-features = false, features = [
|
||||
"std",
|
||||
"backend-winit",
|
||||
"compat-1-2"
|
||||
|
@ -47,7 +47,7 @@ once_cell = "1.19"
|
|||
[build-dependencies]
|
||||
#slint-build = { path = "/home/rafal/test/slint/api/rs/build/"}
|
||||
#slint-build = { git = "https://github.com/slint-ui/slint.git" }
|
||||
slint-build = "1.4"
|
||||
slint-build = "1.4"
|
||||
|
||||
[features]
|
||||
default = ["winit_femtovg", "winit_software"]
|
||||
|
|
Loading…
Reference in a new issue