mirror of
https://github.com/timvisee/ffsend.git
synced 2025-10-03 17:49:15 +02:00
Extract CLI logic to a child project
This commit is contained in:
parent
2df0f8d077
commit
7a56dabd39
11 changed files with 26 additions and 23 deletions
18
Cargo.lock
generated
18
Cargo.lock
generated
|
@ -176,15 +176,6 @@ name = "fake-simd"
|
||||||
version = "0.1.2"
|
version = "0.1.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "ffsend"
|
|
||||||
version = "0.1.0"
|
|
||||||
dependencies = [
|
|
||||||
"clap 2.31.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
||||||
"ffsend-api 0.1.0",
|
|
||||||
"open 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ffsend-api"
|
name = "ffsend-api"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
@ -203,6 +194,15 @@ dependencies = [
|
||||||
"url 1.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 1.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "ffsend-cli"
|
||||||
|
version = "0.1.0"
|
||||||
|
dependencies = [
|
||||||
|
"clap 2.31.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"ffsend-api 0.1.0",
|
||||||
|
"open 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "foreign-types"
|
name = "foreign-types"
|
||||||
version = "0.3.2"
|
version = "0.3.2"
|
||||||
|
|
18
Cargo.toml
18
Cargo.toml
|
@ -1,15 +1,5 @@
|
||||||
[package]
|
|
||||||
name = "ffsend"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["timvisee <timvisee@gmail.com>"]
|
|
||||||
|
|
||||||
[[bin]]
|
|
||||||
name = "ffsend"
|
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
members = ["api"]
|
members = [
|
||||||
|
"api",
|
||||||
[dependencies]
|
"cli",
|
||||||
clap = "2.31"
|
]
|
||||||
ffsend-api = { version = "*", path = "api" }
|
|
||||||
open = "1"
|
|
||||||
|
|
13
cli/Cargo.toml
Normal file
13
cli/Cargo.toml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
[package]
|
||||||
|
name = "ffsend-cli"
|
||||||
|
version = "0.1.0"
|
||||||
|
authors = ["timvisee <timvisee@gmail.com>"]
|
||||||
|
|
||||||
|
[[bin]]
|
||||||
|
path = "src/main.rs"
|
||||||
|
name = "ffsend"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
clap = "2.31"
|
||||||
|
ffsend-api = { version = "*", path = "../api" }
|
||||||
|
open = "1"
|
Loading…
Add table
Add a link
Reference in a new issue