mirror of
https://github.com/Noratrieb/jsonformat.git
synced 2026-01-14 14:15:03 +01:00
make separate binary crate
This commit is contained in:
parent
48c10805b7
commit
61e1e5d6fb
4 changed files with 122 additions and 110 deletions
33
Cargo.toml
33
Cargo.toml
|
|
@ -1,37 +1,22 @@
|
|||
[workspace]
|
||||
members = [".", "jsonformat-cli"]
|
||||
|
||||
[package]
|
||||
name = "jsonformat"
|
||||
version = "1.2.0"
|
||||
authors = ["Nilstrieb <nilstrieb@gmail.com>"]
|
||||
edition = "2018"
|
||||
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]
|
||||
clap = { version= "2.33.3", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = "0.3"
|
||||
|
||||
[features]
|
||||
default = ["bin"]
|
||||
bin = ["clap"]
|
||||
|
||||
[lib]
|
||||
name = "jsonformat"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "jsonformat"
|
||||
path = "src/main.rs"
|
||||
required-features = ["bin"]
|
||||
keywords = ["json", "formatting"]
|
||||
categories = ["parser-implementations"]
|
||||
|
||||
[[bench]]
|
||||
name = "bench"
|
||||
harness = false
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = "0.3.5"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue