generated from PlexSheep/baserepo
feat(cli): add libpt-cli and reexport essential cli deps
cargo devel CI / cargo CI (push) Has been cancelled
Details
cargo devel CI / cargo CI (push) Has been cancelled
Details
This commit is contained in:
parent
940b5ffa1a
commit
5e72ff3fa6
|
@ -5,6 +5,7 @@ members = [
|
||||||
"members/libpt-core",
|
"members/libpt-core",
|
||||||
"members/libpt-log",
|
"members/libpt-log",
|
||||||
"members/libpt-py",
|
"members/libpt-py",
|
||||||
|
"members/libpt-cli",
|
||||||
]
|
]
|
||||||
default-members = [".", "members/libpt-core"]
|
default-members = [".", "members/libpt-core"]
|
||||||
|
|
||||||
|
@ -31,6 +32,7 @@ thiserror = "1.0.56"
|
||||||
libpt-core = { version = "0.4.0", path = "members/libpt-core" }
|
libpt-core = { version = "0.4.0", path = "members/libpt-core" }
|
||||||
libpt-bintols = { version = "0.5.1", path = "members/libpt-bintols" }
|
libpt-bintols = { version = "0.5.1", path = "members/libpt-bintols" }
|
||||||
libpt-log = { version = "0.4.2", path = "members/libpt-log" }
|
libpt-log = { version = "0.4.2", path = "members/libpt-log" }
|
||||||
|
libpt-cli = { version = "0.1.0", path = "members/libpt-cli" }
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "libpt"
|
name = "libpt"
|
||||||
|
@ -52,6 +54,7 @@ core = []
|
||||||
full = ["default", "core", "log", "bintols"]
|
full = ["default", "core", "log", "bintols"]
|
||||||
log = ["dep:libpt-log"]
|
log = ["dep:libpt-log"]
|
||||||
bintols = ["dep:libpt-bintols", "log"]
|
bintols = ["dep:libpt-bintols", "log"]
|
||||||
|
cli = ["dep:libpt-cli", "core"]
|
||||||
# py = ["dep:libpt-py"]
|
# py = ["dep:libpt-py"]
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
@ -66,3 +69,4 @@ crate-type = [
|
||||||
libpt-core = { workspace = true }
|
libpt-core = { workspace = true }
|
||||||
libpt-bintols = { workspace = true, optional = true }
|
libpt-bintols = { workspace = true, optional = true }
|
||||||
libpt-log = { workspace = true, optional = true }
|
libpt-log = { workspace = true, optional = true }
|
||||||
|
libpt-cli = { workspace = true, optional = true }
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
[package]
|
||||||
|
name = "libpt-cli"
|
||||||
|
publish.workspace = true
|
||||||
|
version = "0.1.0"
|
||||||
|
edition.workspace = true
|
||||||
|
authors.workspace = true
|
||||||
|
license.workspace = true
|
||||||
|
description.workspace = true
|
||||||
|
readme.workspace = true
|
||||||
|
homepage.workspace = true
|
||||||
|
repository.workspace = true
|
||||||
|
keywords.workspace = true
|
||||||
|
categories.workspace = true
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
clap = "4.5.7"
|
||||||
|
comfy-table = "7.1.1"
|
||||||
|
console = "0.15.8"
|
||||||
|
dialoguer = "0.11.0"
|
||||||
|
indicatif = "0.17.8"
|
|
@ -0,0 +1,6 @@
|
||||||
|
pub mod repl;
|
||||||
|
|
||||||
|
pub use indicatif;
|
||||||
|
pub use console;
|
||||||
|
pub use dialoguer;
|
||||||
|
pub use comfy_table;
|
Reference in New Issue