Fix metadata for cli upload

This commit is contained in:
Edward Shen 2021-10-31 16:07:07 -07:00
parent 8454607859
commit 642a8973a4
Signed by: edward
GPG key ID: 19182661E818369F
2 changed files with 28 additions and 4 deletions

27
Cargo.lock generated
View file

@ -951,7 +951,7 @@ dependencies = [
"anyhow",
"atty",
"clap",
"omegaupload-common",
"omegaupload-common 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"reqwest",
"rpassword",
]
@ -978,6 +978,27 @@ dependencies = [
"web-sys",
]
[[package]]
name = "omegaupload-common"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c36a9c19b1b84731bf3f90c646f168d54e1ef7b7ca91c2a8b2d39fa61ac2d95f"
dependencies = [
"argon2",
"base64",
"bytes",
"chacha20poly1305",
"chrono",
"headers",
"lazy_static",
"rand",
"secrecy",
"serde",
"thiserror",
"typenum",
"url",
]
[[package]]
name = "omegaupload-server"
version = "0.1.0"
@ -990,7 +1011,7 @@ dependencies = [
"futures",
"headers",
"lazy_static",
"omegaupload-common",
"omegaupload-common 0.1.0",
"rand",
"rocksdb",
"serde",
@ -1014,7 +1035,7 @@ dependencies = [
"gloo-console",
"http",
"js-sys",
"omegaupload-common",
"omegaupload-common 0.1.0",
"reqwasm",
"serde",
"tree_magic_mini",

View file

@ -2,11 +2,14 @@
name = "omegaupload"
version = "0.1.0"
edition = "2021"
description = "OmegaUpload CLI tool"
repository = "https://git.eddie.sh/edward/omegaupload"
license = "GPL-3.0-or-later"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
omegaupload-common = { path = "../common" }
omegaupload-common = "0.1"
anyhow = "1"
atty = "0.2"