mirror of
https://github.com/jht5945/rust_util.git
synced 2025-12-27 15:40:03 +08:00
feat: add use clap
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "rust_util"
|
||||
version = "0.6.25"
|
||||
version = "0.6.26"
|
||||
authors = ["Hatter Jiang <jht5945@gmail.com>"]
|
||||
edition = "2018"
|
||||
description = "Hatter's Rust Util"
|
||||
@@ -10,11 +10,13 @@ readme = "README.md"
|
||||
[features]
|
||||
default = [] #["serde", "serde_json"]
|
||||
# use_serde = ["serde", "serde_json"]
|
||||
use_clap = ["clap"]
|
||||
|
||||
[dependencies]
|
||||
libc = "0.2.65"
|
||||
term = "0.5.2"
|
||||
term_size = "0.3.1"
|
||||
lazy_static = "1.3.0"
|
||||
clap = { version = "2.0", optional = true }
|
||||
# serde = { version = "1.0", features = ["derive"], optional = true }
|
||||
# serde_json = { version = "1.0", optional = true }
|
||||
|
||||
Reference in New Issue
Block a user