2023-04-20 16:02:41 +02:00
|
|
|
[package]
|
2023-04-24 23:00:21 +02:00
|
|
|
name = "upend-cli"
|
|
|
|
authors = ["Tomáš Mládek <t@mldk.cz>"]
|
2023-04-20 16:02:41 +02:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[dependencies]
|
2023-06-25 15:29:52 +02:00
|
|
|
upend-base = { path = "../base" }
|
|
|
|
upend-db = { path = "../db" }
|
ci: switch to Earthly
Squashed commit of the following:
commit 06baa23fc82f1f723bbfb1ab69c97802d28efa19
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 11:10:19 2023 +0200
ci, fix: forgot push
commit 6494be49d282368dd7c4aa78f56ccb33acac3eaa
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 11:01:14 2023 +0200
fix, ci: docker tag arg
commit 38682ba930abfeec5bf7facffbd0b94f6d61af9e
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 10:54:45 2023 +0200
ci: parallelize push steps
commit 5eeab18aa0d3fa3a7ef88e71cb5e9b5be5e7b9df
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 10:52:37 2023 +0200
ci, fix: docker login
commit ce10d0d04a55282cb4d95136e695705f95f11a86
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 10:41:52 2023 +0200
ci: remove earthly verbose
commit ff9b84296868bd18f004bdfcc23832acadeac388
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 10:41:23 2023 +0200
ci, fix: typo
commit df80ee061006c5eaa9b729a69818fd8bd273865c
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 10:06:47 2023 +0200
ci, refactor: better step names
commit 80093f8964cfd4cfa9e8b5ce4b6854c5c48060e4
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 10:05:03 2023 +0200
ci, fix: earthly config for publish:appimage step
commit 650824df99495afcc3feb4fcaa3e336b691d3008
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 10:04:50 2023 +0200
ci, refactor: only explicitly copy AppImages in sign target
commit 3b53e2dc6475e55f64fa9d00a2f2d31f07a9d8bb
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 08:01:43 2023 +0200
ci: EARTHLY_VERBOSE=1
commit cec95ea29a4f207fe1b7790b70562b1eeabee195
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 07:10:09 2023 +0200
ci: earthly bootstrap after conf
commit 7afe653d575a8ff76488d8fe3a93bc5e679124e5
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 07:04:08 2023 +0200
ci, fix: remove ssh_key secret
commit b549d891ed789743066d3c29e12b6b82fcab35a3
Author: Tomáš Mládek <t@mldk.cz>
Date: Tue Aug 22 22:02:01 2023 +0200
ci, fix: missing gpg-agent
commit 47938c71474ec39b0d989742f9e1446b6df94bca
Author: Tomáš Mládek <t@mldk.cz>
Date: Tue Aug 22 20:55:15 2023 +0200
ci, fix: unify earthly config
commit 7b89ea7ef4957a9925c4250c662bdd4d204b53dd
Author: Tomáš Mládek <t@mldk.cz>
Date: Tue Aug 22 19:59:37 2023 +0200
ci: publishing docker, appimage, nightlies
commit f4f94d98644c7cc1506103538a30db241108b589
Author: Tomáš Mládek <t@mldk.cz>
Date: Tue Aug 22 18:19:00 2023 +0200
ci: add lint & test step
commit be180ed59b216cfc85953ac5841eb11933a3a000
Author: Tomáš Mládek <t@mldk.cz>
Date: Mon Aug 21 16:13:03 2023 +0200
ci, wip: earthly integration
commit 39db638cbdaaf5a436de8d531da2f68f85264430
Author: Tomáš Mládek <t@mldk.cz>
Date: Mon Aug 21 16:12:21 2023 +0200
ci: use `upend --version` for AppImage, move get_version.sh logic to cli
commit 5188336c7eca877c0174ffa655893b287bc97baa
Author: Tomáš Mládek <t@mldk.cz>
Date: Mon Aug 21 12:30:47 2023 +0200
ci: refix AppImage, switch to appimage-builder, build docker
commit 27f7941020bcf2e103d1e476038a6bc65f4153ea
Author: Tomáš Mládek <t@mldk.cz>
Date: Sat Aug 19 18:55:03 2023 +0200
wip: remote woodpecker CI config for the time being
commit 53e775b85d2408060b034c2eff76e81b30b3dae5
Author: Tomáš Mládek <t@mldk.cz>
Date: Sat Aug 19 18:47:59 2023 +0200
wip: delete .env
it's interpreted by Earthly and I'm not sure it's necessary anyway
commit 26bec328036c03dcb9a1917f9cf531bf7d10bb7d
Author: Tomáš Mládek <t@mldk.cz>
Date: Sat Aug 19 18:47:32 2023 +0200
wip: initial somewhat functional Earthfile
2023-08-23 12:13:24 +02:00
|
|
|
clap = { version = "4.2.4", features = ["derive", "env", "color", "string", "cargo"] }
|
2023-04-20 16:02:41 +02:00
|
|
|
|
|
|
|
log = "0.4"
|
|
|
|
tracing = "0.1"
|
|
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
|
|
|
|
|
|
anyhow = "1.0"
|
|
|
|
thiserror = "1.0"
|
|
|
|
|
|
|
|
rayon = "1.4.0"
|
|
|
|
num_cpus = "1.13"
|
|
|
|
futures = "0.3.24"
|
|
|
|
futures-util = "~0.3.12"
|
|
|
|
lazy_static = "1.4.0"
|
|
|
|
once_cell = "1.7.2"
|
|
|
|
lru = "0.7.0"
|
|
|
|
|
|
|
|
diesel = { version = "1.4", features = [
|
|
|
|
"sqlite",
|
|
|
|
"r2d2",
|
|
|
|
"chrono",
|
|
|
|
"serde_json",
|
|
|
|
] }
|
|
|
|
diesel_migrations = "1.4"
|
|
|
|
libsqlite3-sys = { version = "^0", features = ["bundled"] }
|
|
|
|
|
2023-05-22 19:29:08 +02:00
|
|
|
actix = "0.13"
|
|
|
|
actix-files = "0.6"
|
|
|
|
actix-rt = "2"
|
|
|
|
actix-web = "4"
|
|
|
|
actix_derive = "0.6"
|
|
|
|
actix-cors = "0.6"
|
|
|
|
actix-multipart = "0.6.0"
|
2023-04-20 16:02:41 +02:00
|
|
|
jsonwebtoken = "8"
|
|
|
|
|
|
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
|
|
|
lexpr = "0.2.6"
|
|
|
|
regex = "1"
|
|
|
|
|
|
|
|
multibase = "0.9"
|
|
|
|
multihash = { version = "*", default-features = false, features = [
|
|
|
|
"alloc",
|
|
|
|
"multihash-impl",
|
|
|
|
"sha2",
|
|
|
|
"identity",
|
|
|
|
] }
|
2023-06-29 12:58:06 +02:00
|
|
|
uuid = { version = "1.4", features = ["v4"] }
|
2023-04-20 16:02:41 +02:00
|
|
|
|
|
|
|
filebuffer = "0.4.0"
|
|
|
|
tempfile = "^3.2.0"
|
|
|
|
walkdir = "2"
|
|
|
|
|
|
|
|
rand = "0.8"
|
|
|
|
|
|
|
|
mime = "^0.3.16"
|
2023-06-25 15:29:52 +02:00
|
|
|
tree_magic_mini = { version = "3.0.2", features = ["with-gpl-data"] }
|
2023-04-20 16:02:41 +02:00
|
|
|
|
|
|
|
opener = { version = "^0.5.0", optional = true }
|
|
|
|
is_executable = { version = "1.0.1", optional = true }
|
|
|
|
webbrowser = { version = "^0.5.5", optional = true }
|
|
|
|
|
|
|
|
nonempty = "0.6.0"
|
|
|
|
|
|
|
|
image = { version = "0.23.14", optional = true }
|
|
|
|
webp = { version = "0.2.0", optional = true }
|
|
|
|
|
2023-06-25 15:29:52 +02:00
|
|
|
webpage = { version = "1.5.0", optional = true, default-features = false }
|
2023-04-20 16:02:41 +02:00
|
|
|
id3 = { version = "1.0.2", optional = true }
|
|
|
|
kamadak-exif = { version = "0.5.4", optional = true }
|
|
|
|
|
2023-07-11 16:13:27 +02:00
|
|
|
shadow-rs = { version = "0.23", default-features = false }
|
2023-04-25 19:27:31 +02:00
|
|
|
reqwest = { version = "0.11.16", features = ["blocking", "json"] }
|
2023-05-19 17:30:09 +02:00
|
|
|
url = "2"
|
2023-04-20 16:02:41 +02:00
|
|
|
|
2023-05-23 23:07:27 +02:00
|
|
|
bytes = "1.4.0"
|
2023-06-08 19:38:56 +02:00
|
|
|
signal-hook = "0.3.15"
|
2023-05-23 23:07:27 +02:00
|
|
|
|
2023-04-20 16:02:41 +02:00
|
|
|
[build-dependencies]
|
ci: switch to Earthly
Squashed commit of the following:
commit 06baa23fc82f1f723bbfb1ab69c97802d28efa19
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 11:10:19 2023 +0200
ci, fix: forgot push
commit 6494be49d282368dd7c4aa78f56ccb33acac3eaa
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 11:01:14 2023 +0200
fix, ci: docker tag arg
commit 38682ba930abfeec5bf7facffbd0b94f6d61af9e
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 10:54:45 2023 +0200
ci: parallelize push steps
commit 5eeab18aa0d3fa3a7ef88e71cb5e9b5be5e7b9df
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 10:52:37 2023 +0200
ci, fix: docker login
commit ce10d0d04a55282cb4d95136e695705f95f11a86
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 10:41:52 2023 +0200
ci: remove earthly verbose
commit ff9b84296868bd18f004bdfcc23832acadeac388
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 10:41:23 2023 +0200
ci, fix: typo
commit df80ee061006c5eaa9b729a69818fd8bd273865c
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 10:06:47 2023 +0200
ci, refactor: better step names
commit 80093f8964cfd4cfa9e8b5ce4b6854c5c48060e4
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 10:05:03 2023 +0200
ci, fix: earthly config for publish:appimage step
commit 650824df99495afcc3feb4fcaa3e336b691d3008
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 10:04:50 2023 +0200
ci, refactor: only explicitly copy AppImages in sign target
commit 3b53e2dc6475e55f64fa9d00a2f2d31f07a9d8bb
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 08:01:43 2023 +0200
ci: EARTHLY_VERBOSE=1
commit cec95ea29a4f207fe1b7790b70562b1eeabee195
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 07:10:09 2023 +0200
ci: earthly bootstrap after conf
commit 7afe653d575a8ff76488d8fe3a93bc5e679124e5
Author: Tomáš Mládek <t@mldk.cz>
Date: Wed Aug 23 07:04:08 2023 +0200
ci, fix: remove ssh_key secret
commit b549d891ed789743066d3c29e12b6b82fcab35a3
Author: Tomáš Mládek <t@mldk.cz>
Date: Tue Aug 22 22:02:01 2023 +0200
ci, fix: missing gpg-agent
commit 47938c71474ec39b0d989742f9e1446b6df94bca
Author: Tomáš Mládek <t@mldk.cz>
Date: Tue Aug 22 20:55:15 2023 +0200
ci, fix: unify earthly config
commit 7b89ea7ef4957a9925c4250c662bdd4d204b53dd
Author: Tomáš Mládek <t@mldk.cz>
Date: Tue Aug 22 19:59:37 2023 +0200
ci: publishing docker, appimage, nightlies
commit f4f94d98644c7cc1506103538a30db241108b589
Author: Tomáš Mládek <t@mldk.cz>
Date: Tue Aug 22 18:19:00 2023 +0200
ci: add lint & test step
commit be180ed59b216cfc85953ac5841eb11933a3a000
Author: Tomáš Mládek <t@mldk.cz>
Date: Mon Aug 21 16:13:03 2023 +0200
ci, wip: earthly integration
commit 39db638cbdaaf5a436de8d531da2f68f85264430
Author: Tomáš Mládek <t@mldk.cz>
Date: Mon Aug 21 16:12:21 2023 +0200
ci: use `upend --version` for AppImage, move get_version.sh logic to cli
commit 5188336c7eca877c0174ffa655893b287bc97baa
Author: Tomáš Mládek <t@mldk.cz>
Date: Mon Aug 21 12:30:47 2023 +0200
ci: refix AppImage, switch to appimage-builder, build docker
commit 27f7941020bcf2e103d1e476038a6bc65f4153ea
Author: Tomáš Mládek <t@mldk.cz>
Date: Sat Aug 19 18:55:03 2023 +0200
wip: remote woodpecker CI config for the time being
commit 53e775b85d2408060b034c2eff76e81b30b3dae5
Author: Tomáš Mládek <t@mldk.cz>
Date: Sat Aug 19 18:47:59 2023 +0200
wip: delete .env
it's interpreted by Earthly and I'm not sure it's necessary anyway
commit 26bec328036c03dcb9a1917f9cf531bf7d10bb7d
Author: Tomáš Mládek <t@mldk.cz>
Date: Sat Aug 19 18:47:32 2023 +0200
wip: initial somewhat functional Earthfile
2023-08-23 12:13:24 +02:00
|
|
|
shadow-rs = { version = "0.23" }
|
2023-04-20 16:02:41 +02:00
|
|
|
|
|
|
|
[features]
|
2023-06-25 15:29:52 +02:00
|
|
|
default = [
|
|
|
|
"desktop",
|
|
|
|
"previews",
|
|
|
|
"previews-image",
|
|
|
|
"extractors-web",
|
|
|
|
"extractors-audio",
|
2023-07-28 17:49:14 +02:00
|
|
|
"extractors-exif",
|
2023-06-25 15:29:52 +02:00
|
|
|
"extractors-media",
|
|
|
|
]
|
2023-04-20 16:02:41 +02:00
|
|
|
desktop = ["webbrowser", "opener", "is_executable"]
|
|
|
|
previews = []
|
|
|
|
previews-image = ["image", "webp", "kamadak-exif"]
|
|
|
|
extractors-web = ["webpage"]
|
|
|
|
extractors-audio = ["id3"]
|
2023-07-28 17:49:14 +02:00
|
|
|
extractors-exif = ["kamadak-exif"]
|
2023-04-20 16:02:41 +02:00
|
|
|
extractors-media = []
|