[package]
edition = "2024"
name = "cj-cli"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "cj — convert CLI output, file types, and strings to JSON/YAML (Rust rewrite of jc)"
homepage = "https://github.com/zhongweili/cj"
readme = false
keywords = [
"json",
"cli",
"parser",
"jc",
"yaml",
]
categories = [
"command-line-utilities",
"encoding",
]
license = "MIT"
repository = "https://github.com/zhongweili/cj"
resolver = "2"
[[bin]]
name = "cj"
path = "src/main.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.atty]
version = "0.2"
[dependencies.cj-core]
version = "0.1.0"
[dependencies.cj-parsers]
version = "0.1.0"
[dependencies.cj-utils]
version = "0.1.0"
[dependencies.colored]
version = "2"
[dependencies.dirs]
version = "5"
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
[dev-dependencies.serde_json]
version = "1"
[lints.clippy]
approx_constant = "allow"
assigning_clones = "allow"
bool_comparison = "allow"
char_lit_as_u8 = "allow"
clone_on_copy = "allow"
collapsible_else_if = "allow"
collapsible_if = "allow"
collapsible_match = "allow"
collapsible_str_replace = "allow"
derivable_impls = "allow"
drain_collect = "allow"
get_first = "allow"
identity_op = "allow"
if_same_then_else = "allow"
int_plus_one = "allow"
into_iter_on_ref = "allow"
iter_nth_zero = "allow"
large_enum_variant = "allow"
len_zero = "allow"
let_and_return = "allow"
manual_find = "allow"
manual_is_ascii_check = "allow"
manual_map = "allow"
manual_pattern_char_comparison = "allow"
manual_range_contains = "allow"
manual_split_once = "allow"
manual_strip = "allow"
manual_unwrap_or = "allow"
manual_unwrap_or_default = "allow"
map_entry = "allow"
map_identity = "allow"
match_like_matches_macro = "allow"
needless_bool_assign = "allow"
needless_borrow = "allow"
needless_late_init = "allow"
needless_lifetimes = "allow"
needless_range_loop = "allow"
needless_return = "allow"
no_effect = "allow"
no_effect_replace = "allow"
nonminimal_bool = "allow"
op_ref = "allow"
option_map_or_none = "allow"
or_fun_call = "allow"
ptr_arg = "allow"
redundant_closure = "allow"
redundant_pattern_matching = "allow"
redundant_slicing = "allow"
regex_creation_in_loops = "allow"
regex_macro = "allow"
search_is_some = "allow"
single_char_pattern = "allow"
single_match = "allow"
to_string_in_format_args = "allow"
trim_split_whitespace = "allow"
type_complexity = "allow"
unnecessary_cast = "allow"
unnecessary_lazy_evaluations = "allow"
unnecessary_map_or = "allow"
unnecessary_to_owned = "allow"
unused_io_amount = "allow"
useless_asref = "allow"
useless_format = "allow"
vec_init_then_push = "allow"
while_let_loop = "allow"
while_let_on_iterator = "allow"
wrong_self_convention = "allow"
[lints.rust]
dead_code = "allow"
non_snake_case = "allow"
unused_assignments = "allow"
unused_imports = "allow"
unused_mut = "allow"
unused_variables = "allow"