Skip to content

Commit

Permalink
chore(cargo): add vendored-jpegxl feature to opt into vendored libjxl
Browse files Browse the repository at this point in the history
  • Loading branch information
mmstick committed Oct 9, 2024
1 parent ec35126 commit cfc88dd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name = "cosmic-bg"
version = "0.1.0"
edition = "2021"

[features]
vendored-jpegxl = ["jpegxl-rs/vendored"]

[dependencies]
color-eyre = "0.6.3"
colorgrad = { workspace = true }
Expand All @@ -11,7 +14,7 @@ dirs = "5.0.1"
eyre = "0.6.12"
fast_image_resize = { version = "4.2.1", features = ["image"] }
image = { workspace = true, features = ["hdr", "jpeg", "png", "rayon", "webp"] }
jpegxl-rs = { version = "0.11.1", features = ["vendored"] }
jpegxl-rs = "0.11.1"
notify = "6.1.1"
rand = "0.8"
ron = { workspace = true }
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ COSMIC session service which applies backgrounds to displays. Supports the follo

Developers should install Rust from from https://rustup.rs/.

- cmake
- just
- cargo / rustc
- libwayland-dev
Expand Down Expand Up @@ -42,4 +43,4 @@ Any contribution intentionally submitted for inclusion in the work by you shall

```
// SPDX-License-Identifier: MPL-2.0
```
```
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ override_dh_auto_clean:
fi

override_dh_auto_build:
just build-vendored
just build-vendored --features vendored-jpegxl

override_dh_install:
just rootdir=$(DESTDIR) install

0 comments on commit cfc88dd

Please sign in to comment.