make separate binary crate

This commit is contained in:
nora 2022-04-28 19:56:10 +02:00
parent 48c10805b7
commit 61e1e5d6fb
4 changed files with 122 additions and 110 deletions

23
jsonformat-cli/Cargo.toml Normal file
View file

@ -0,0 +1,23 @@
[package]
name = "jsonformat-cli"
version = "0.1.0"
authors = ["Nilstrieb <nilstrieb@gmail.com>"]
edition = "2021"
license = "MIT"
description = "Formats JSON extremely fast"
homepage = "https://github.com/Nilstrieb/jsonformat"
repository = "https://github.com/Nilstrieb/jsonformat"
readme = "README.md"
keywords = ["json", "formatting", "cli"]
categories = ["command-line-utilities"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
jsonformat = { path = "..", version = "1.2.0" }
clap = "2.33.3"
[[bin]]
name = "jsonformat"
path = "src/main.rs"