Skip to content

Commit

Permalink
Release 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
owenthewizard committed Jun 19, 2022
1 parent 9b1d4b4 commit d49e489
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 50 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [1.2.0] - 2022-06-18
### Fixed
- Missing some `unsafe` keywords.
- Security issues in dependencies.

### Changed
- Screenshot is now captured with [scrap](https://github.com/owenthewizard/scrap).
- Arguments take `NonZero` types where appropriate.
- Image operations have been broken out into separate units.
- Make use of [imgref](https://crates.io/crates/imgref) instead of custom structures.
- 100% Rust blur routine using [stackblur-iter](https://github.com/LoganDark/stackblur-iter)
- Make use of [blend-srgb](https://crates.io/crates/blend-srgb) instead of manual blending.
- 100% Rust blur routine using [stackblur-iter](https://github.com/LoganDark/stackblur-iter) (resolves #13)

## [1.1.0] - 2020-02-10
### Changed
Expand Down
17 changes: 9 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 13 additions & 37 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "i3lockr"
description = "Distort a screenshot and run i3lock"
version = "1.1.0"
version = "1.2.0"
license = "MIT OR Apache-2.0"
authors = ["Owen Walpole <[email protected]>"]
repository = "https://github.com/owenthewizard/i3lockr"
readme = "README.md"
keywords = ["i3lockr", "i3lock", "i3lock-fancy", "blur", "i3lock-color" ]
categories = ["command-line-utilities", "multimedia::images"]
edition = "2018"
edition = "2021"

[badges]
is-it-maintained-issue-resolution = { repository = "owenthewizard/i3lockr" }
Expand All @@ -18,53 +18,29 @@ maintenance = { status = "actively-developed" }


[dependencies]
blend-srgb = { version = "0.1", optional = true }
imagefmt = { version = "4", default-features = false, optional = true }
imgref = "1"
itertools = "0.10"
libc = "0.2" # should be same as xcb
num_cpus = "1"
rayon = { version = "1", optional = true }
rgb = "0.8"

[dependencies.blend-srgb]
version = "0.1"
optional = true

[dependencies.imagefmt]
version = "4"
default-features = false
optional = true

[dependencies.rayon]
version = "1"
optional = true

[dependencies.scrap]
path = "crates/scrap"

[dependencies.stackblur-iter]
git = "https://github.com/LoganDark/stackblur-iter.git"
branch = "rayon"
version = "0.1"
optional = true
features = ["blend-srgb"]

[dependencies.structopt]
version = "0.3"
default-features = false

[dependencies.xcb]
version = "1"
features = ["randr", "shm"]
scrap = { git = "https://github.com/owenthewizard/scrap" }
stackblur-iter = { git = "https://github.com/LoganDark/stackblur-iter", branch = "rayon", optional = true, features = ["blend-srgb"] }
structopt = { version = "0.3", default-features = false }
xcb = { version = "1", features = ["randr", "shm"] }

[build-dependencies]
structopt = { version = "0.3", default-features = false }

[features]
suggestions = ["structopt/suggestions"]
color = ["structopt/color"]
png = ["imagefmt/png", "blend-srgb"]
jpeg = ["imagefmt/jpeg", "blend-srgb"]
threads = ["rayon", "stackblur-iter/rayon"]
blur = ["stackblur-iter"]
png = ["imagefmt/png", "dep:blend-srgb"]
jpeg = ["imagefmt/jpeg", "dep:blend-srgb"]
threads = ["dep:rayon", "stackblur-iter?/rayon"]
blur = ["dep:stackblur-iter"]
scale = []
brightness = []
verbose = []
Expand Down

0 comments on commit d49e489

Please sign in to comment.