Skip to content

Commit

Permalink
chore: rearrange Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
pickfire committed Dec 8, 2018
1 parent 2224d9e commit d75050d
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,36 12,36 @@ license = "MIT OR Apache-2.0"

[dependencies]
serde-transcode = "1.0"
serde_json = { version = "1.0", optional = true }
serde_cbor = { version = "0.9", optional = true }
serde_json = { version = "1.0", optional = true }
serde_toml = { version = "0.4", optional = true, package = 'toml' }

[features]
default = ["json", "cbor", "toml"]
json = ["serde_json"]
default = ["cbor", "json", "toml"]
cbor = ["serde_cbor"]
json = ["serde_json"]
toml = ["serde_toml"]

[[bin]]
name = "cbor2json"
required-features = ["json", "cbor"]
required-features = ["cbor", "json"]

[[bin]]
name = "json2cbor"
required-features = ["json", "cbor"]
name = "cbor2toml"
required-features = ["cbor", "toml"]

[[bin]]
name = "toml2json"
required-features = ["json", "toml"]
name = "json2cbor"
required-features = ["json", "cbor"]

[[bin]]
name = "json2toml"
required-features = ["json", "toml"]

[[bin]]
name = "toml2cbor"
required-features = ["cbor", "toml"]
required-features = ["toml", "cbor"]

[[bin]]
name = "cbor2toml"
required-features = ["cbor", "toml"]
name = "toml2json"
required-features = ["toml", "json"]

0 comments on commit d75050d

Please sign in to comment.