Skip to content

Commit

Permalink
Vendor gelatin as a module; remove workspace (#194)
Browse files Browse the repository at this point in the history
* Vendor gelatin as a module; remove workspace

* Restore winit to 0.28; glium to 0.32

* Update tiny-skia to 0.10

* Remove default features

* Restore open to 5.0
  • Loading branch information
DougLau authored Oct 28, 2023
1 parent 25bf592 commit ad5d169
Show file tree
Hide file tree
Showing 85 changed files with 188 additions and 285 deletions.
51 changes: 23 additions & 28 deletions Cargo.lock

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

89 changes: 79 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,81 @@
[workspace]
members = [
"alloy",
"gelatin",
[package]
name = "alloy"
version = "1.0.0"
description = "A fast and minimalistic image viewer based on emulsion"
repository = "https://github.com/ardaku/alloy"
license = "MIT"
readme = "README.md"
edition = "2021"
build = "build.rs"

[package.metadata.bundle]
name = "Emulsion"
identifier = "org.ardaku.alloy"
icon = ["resource_dev/emulsion.png"]
resources = ["LICENSE.txt"]
short_description = "A lightweight and minimalistic image viewer based on emulsion"
copyright = "Copyright (c) 2020 The Emulsion Contributors, Copyright (c) 2022 The Alloy Contributors"
linux_exec_args = "%f"
linux_mime_types = [
"image/jpeg",
"image/jpg",
"image/pjpeg",
"image/png",
"image/apng",
"image/gif",
"image/webp",
"image/tiff",
"image/bmp",
"image/avif",
"image/svg+xml",
"image/svg",
"image/x-png",
"image/x-tga",
"image/x-targa",
"image/x-bmp",
"image/x-icon",
"image/vnd.microsoft.icon",
"image/vnd.radiance",
"image/x‑portable‑bitmap",
"image/x‑portable‑graymap",
"image/x‑portable‑pixmap",
"image/x‑portable‑anymap"
]

[profile.dev.package."*"]
opt-level = 1
[profile.dev.build-override]
opt-level = 1
[profile.release]
lto = "thin"
[features]
avif = ["libavif-image"]

[target.'cfg(windows)'.build-dependencies]
winres = "0.1"

[dependencies]
arboard = "3.2"
backtrace = "0.3"
cgmath = "0.18"
directories-next = "2.0"
env_logger = "0.10"
glium = "0.32"
image = "0.24"
kamadak-exif = "0.5"
lazy_static = "1.4"
lexical-sort = "0.3"
log = "0.4"
open = "5.0"
pico-args = "0.5"
rand = "0.8"
resvg = "0.35"
serde = { version = "1.0.159", features = ["derive"] }
sys-info = "0.9"
thiserror = "1.0"
tiny-skia = "0.10"
toml = "0.7"
trash = { version = "3.0", default-features = false }
typed-builder = "0.14"
usvg = "0.35"
winit = "0.28"

[dependencies.libavif-image]
version = "0.10"
default-features = false
features = ["codec-dav1d"]
optional = true
1 change: 1 addition & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
MIT License

Copyright (c) 2020 The Emulsion Contributors
Copyright (c) 2020 Artúr Barnabás Kovács
Copyright (c) 2022-2023 The Alloy Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
75 changes: 0 additions & 75 deletions alloy/Cargo.toml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes
3 changes: 0 additions & 3 deletions gelatin/.gitignore

This file was deleted.

20 changes: 0 additions & 20 deletions gelatin/.vscode/launch.json

This file was deleted.

22 changes: 0 additions & 22 deletions gelatin/.vscode/tasks.json

This file was deleted.

18 changes: 0 additions & 18 deletions gelatin/Cargo.toml

This file was deleted.

Loading

0 comments on commit ad5d169

Please sign in to comment.