-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
73 lines (59 loc) · 1.52 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[package]
name = "babelfish"
version = "0.2.1"
authors = ["Ivan Tham <[email protected]>"]
edition = "2018"
description = "Universal translater for encodings"
repository = "https://github.com/pickfire/babelfish"
readme = "README.md"
keywords = ["translate", "convert", "format", "cbor2json"]
categories = ["command-line-utilities", "encoding"]
license = "MIT OR Apache-2.0"
[dependencies]
serde-transcode = "1.0"
serde_cbor = { version = "0.11", optional = true }
serde_json = { version = "1.0", optional = true }
serde_toml = { version = "0.5", optional = true, package = 'toml' }
serde_yaml = { version = "0.8", optional = true }
[features]
default = ["cbor", "json", "toml", "yaml"]
cbor = ["serde_cbor"]
json = ["serde_json"]
toml = ["serde_toml"]
yaml = ["serde_yaml"]
[[bin]]
name = "cbor2json"
required-features = ["cbor", "json"]
[[bin]]
name = "cbor2toml"
required-features = ["cbor", "toml"]
[[bin]]
name = "cbor2yaml"
required-features = ["cbor", "yaml"]
[[bin]]
name = "json2cbor"
required-features = ["json", "cbor"]
[[bin]]
name = "json2toml"
required-features = ["json", "toml"]
[[bin]]
name = "json2yaml"
required-features = ["json", "yaml"]
[[bin]]
name = "toml2cbor"
required-features = ["toml", "cbor"]
[[bin]]
name = "toml2json"
required-features = ["toml", "json"]
[[bin]]
name = "toml2yaml"
required-features = ["toml", "yaml"]
[[bin]]
name = "yaml2cbor"
required-features = ["yaml", "cbor"]
[[bin]]
name = "yaml2json"
required-features = ["yaml", "json"]
[[bin]]
name = "yaml2toml"
required-features = ["yaml", "toml"]