Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vendor gelatin as a module; remove workspace #194

Merged
merged 5 commits into from
Oct 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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