upend/cli/Cargo.toml
Tomáš Mládek 42ab70fd07 ci: switch to Earthly
Squashed commit of the following:

commit 06baa23fc8
Author: Tomáš Mládek <t@mldk.cz>
Date:   Wed Aug 23 11:10:19 2023 +0200

    ci, fix: forgot push

commit 6494be49d2
Author: Tomáš Mládek <t@mldk.cz>
Date:   Wed Aug 23 11:01:14 2023 +0200

    fix, ci: docker tag arg

commit 38682ba930
Author: Tomáš Mládek <t@mldk.cz>
Date:   Wed Aug 23 10:54:45 2023 +0200

    ci: parallelize push steps

commit 5eeab18aa0
Author: Tomáš Mládek <t@mldk.cz>
Date:   Wed Aug 23 10:52:37 2023 +0200

    ci, fix: docker login

commit ce10d0d04a
Author: Tomáš Mládek <t@mldk.cz>
Date:   Wed Aug 23 10:41:52 2023 +0200

    ci: remove earthly verbose

commit ff9b842968
Author: Tomáš Mládek <t@mldk.cz>
Date:   Wed Aug 23 10:41:23 2023 +0200

    ci, fix: typo

commit df80ee0610
Author: Tomáš Mládek <t@mldk.cz>
Date:   Wed Aug 23 10:06:47 2023 +0200

    ci, refactor: better step names

commit 80093f8964
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 650824df99
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 3b53e2dc64
Author: Tomáš Mládek <t@mldk.cz>
Date:   Wed Aug 23 08:01:43 2023 +0200

    ci: EARTHLY_VERBOSE=1

commit cec95ea29a
Author: Tomáš Mládek <t@mldk.cz>
Date:   Wed Aug 23 07:10:09 2023 +0200

    ci: earthly bootstrap after conf

commit 7afe653d57
Author: Tomáš Mládek <t@mldk.cz>
Date:   Wed Aug 23 07:04:08 2023 +0200

    ci, fix: remove ssh_key secret

commit b549d891ed
Author: Tomáš Mládek <t@mldk.cz>
Date:   Tue Aug 22 22:02:01 2023 +0200

    ci, fix: missing gpg-agent

commit 47938c7147
Author: Tomáš Mládek <t@mldk.cz>
Date:   Tue Aug 22 20:55:15 2023 +0200

    ci, fix: unify earthly config

commit 7b89ea7ef4
Author: Tomáš Mládek <t@mldk.cz>
Date:   Tue Aug 22 19:59:37 2023 +0200

    ci: publishing docker, appimage, nightlies

commit f4f94d9864
Author: Tomáš Mládek <t@mldk.cz>
Date:   Tue Aug 22 18:19:00 2023 +0200

    ci: add lint & test step

commit be180ed59b
Author: Tomáš Mládek <t@mldk.cz>
Date:   Mon Aug 21 16:13:03 2023 +0200

    ci, wip: earthly integration

commit 39db638cbd
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 5188336c7e
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 27f7941020
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 53e775b85d
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 26bec32803
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

108 lines
2.4 KiB
TOML

[package]
name = "upend-cli"
authors = ["Tomáš Mládek <t@mldk.cz>"]
version = "0.1.0"
edition = "2021"
[dependencies]
upend-base = { path = "../base" }
upend-db = { path = "../db" }
clap = { version = "4.2.4", features = ["derive", "env", "color", "string", "cargo"] }
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"] }
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"
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",
] }
uuid = { version = "1.4", features = ["v4"] }
filebuffer = "0.4.0"
tempfile = "^3.2.0"
walkdir = "2"
rand = "0.8"
mime = "^0.3.16"
tree_magic_mini = { version = "3.0.2", features = ["with-gpl-data"] }
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 }
webpage = { version = "1.5.0", optional = true, default-features = false }
id3 = { version = "1.0.2", optional = true }
kamadak-exif = { version = "0.5.4", optional = true }
shadow-rs = { version = "0.23", default-features = false }
reqwest = { version = "0.11.16", features = ["blocking", "json"] }
url = "2"
bytes = "1.4.0"
signal-hook = "0.3.15"
[build-dependencies]
shadow-rs = { version = "0.23" }
[features]
default = [
"desktop",
"previews",
"previews-image",
"extractors-web",
"extractors-audio",
"extractors-exif",
"extractors-media",
]
desktop = ["webbrowser", "opener", "is_executable"]
previews = []
previews-image = ["image", "webp", "kamadak-exif"]
extractors-web = ["webpage"]
extractors-audio = ["id3"]
extractors-exif = ["kamadak-exif"]
extractors-media = []