Compare commits

..

No commits in common. "642a8973a4ff38ae6f82c62b840b11b2df2006ee" and "76e2494011617cd13ad248c181d6ed9d6f270154" have entirely different histories.

3 changed files with 6 additions and 33 deletions

27
Cargo.lock generated
View file

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

View file

@ -2,14 +2,11 @@
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 = "0.1" omegaupload-common = { path = "../common" }
anyhow = "1" anyhow = "1"
atty = "0.2" atty = "0.2"

View file

@ -2,18 +2,15 @@
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 = "1", features = ["serde"] } bytes = { version = "*", 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 = "0.3" headers = "*"
lazy_static = "1" lazy_static = "1"
rand = "0.8" rand = "0.8"
secrecy = "0.8" secrecy = "0.8"