Compare commits

..

2 commits

Author SHA1 Message Date
642a8973a4
Fix metadata for cli upload 2021-10-31 16:08:49 -07:00
8454607859
Add metadata for omegaupload-common 2021-10-31 16:06:23 -07:00
3 changed files with 33 additions and 6 deletions

27
Cargo.lock generated
View file

@ -951,7 +951,7 @@ dependencies = [
"anyhow", "anyhow",
"atty", "atty",
"clap", "clap",
"omegaupload-common", "omegaupload-common 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"reqwest", "reqwest",
"rpassword", "rpassword",
] ]
@ -978,6 +978,27 @@ dependencies = [
"web-sys", "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]] [[package]]
name = "omegaupload-server" name = "omegaupload-server"
version = "0.1.0" version = "0.1.0"
@ -990,7 +1011,7 @@ dependencies = [
"futures", "futures",
"headers", "headers",
"lazy_static", "lazy_static",
"omegaupload-common", "omegaupload-common 0.1.0",
"rand", "rand",
"rocksdb", "rocksdb",
"serde", "serde",
@ -1014,7 +1035,7 @@ dependencies = [
"gloo-console", "gloo-console",
"http", "http",
"js-sys", "js-sys",
"omegaupload-common", "omegaupload-common 0.1.0",
"reqwasm", "reqwasm",
"serde", "serde",
"tree_magic_mini", "tree_magic_mini",

View file

@ -2,11 +2,14 @@
name = "omegaupload" name = "omegaupload"
version = "0.1.0" version = "0.1.0"
edition = "2021" 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 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
omegaupload-common = { path = "../common" } omegaupload-common = "0.1"
anyhow = "1" anyhow = "1"
atty = "0.2" atty = "0.2"

View file

@ -2,15 +2,18 @@
name = "omegaupload-common" name = "omegaupload-common"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
description = "Common library for OmegaUpload"
repository = "https://git.eddie.sh/edward/omegaupload"
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
base64 = "0.13" base64 = "0.13"
bytes = { version = "*", features = ["serde"] } bytes = { version = "1", features = ["serde"] }
chacha20poly1305 = { version = "0.9", features = ["stream"] } chacha20poly1305 = { version = "0.9", features = ["stream"] }
chrono = { version = "0.4", features = ["serde"] } chrono = { version = "0.4", features = ["serde"] }
headers = "*" headers = "0.3"
lazy_static = "1" lazy_static = "1"
rand = "0.8" rand = "0.8"
secrecy = "0.8" secrecy = "0.8"