From 642a8973a4ff38ae6f82c62b840b11b2df2006ee Mon Sep 17 00:00:00 2001 From: Edward Shen Date: Sun, 31 Oct 2021 16:07:07 -0700 Subject: [PATCH] Fix metadata for cli upload --- Cargo.lock | 27 ++++++++++++++++++++++++--- cli/Cargo.toml | 5 ++++- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8ac8183..d9ba4c0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 3afbc82..4264866 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -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"