- bump serde_json from 1.0.132 to 1.0.133
- bump quick-xml from 0.37.0 to 0.37.1
- updated dependencies
- bump csv from 1.3.0 to 1.3.1
- bump serde from 1.0.214 to 1.0.215
- bump serde from 1.0.213 to 1.0.214
- bump quick-xml from 0.36.2 to 0.37.0, which introduces the following change:
Handle only those boolean representations that are allowed by Xml Schema which is only
"true"
,"1"
,"false"
, and"0"
. Previously the following values also was accepted:bool
XML content true
"True"
,"TRUE"
,"t"
,"Yes"
,"YES"
,"yes"
,"y"
false
"False"
,"FALSE"
,"f"
,"No"
,"NO"
,"no"
,"n"
- bump serde from 1.0.210 to 1.0.213
- bump serde_json from 1.0.131 to 1.0.132
- bump serde_json from 1.0.128 to 1.0.131
- bump quick-xml from 0.36.1 to 0.36.2
- bump serde from 1.0.209 to 1.0.210
- bump serde_json from 1.0.127 to 1.0.128
- bump serde from 1.0.208 to 1.0.209
- bump serde_json from 1.0.125 to 1.0.127
- bump serde from 1.0.205 to 1.0.208
- bump serde_json from 1.0.122 to 1.0.125
- bump serde from 1.0.204 to 1.0.205
- switching to maintained quick-xml library for XML deserialization
This is a major, breaking change and the resulting JSON will have a different
structure. In particular:
- document root node gets preserved as the outermost objects only key (#48):
<root/>
becomes{"root": {}}
(instead of{}
) - attributes start with an @-character to distinguish them from inner tags:
<tag attribute="value"><inner/></tag>
becomes{"tag":{"@attribute":"value","inner":{}}}
(instead of{"attribute":"value","inner":{}}
) - text nodes are now called
$text
instead of$value
:<key>value</key>
becomes{"key":{"$text":"value"}}
(instead of{"$value":"value"}
)
- document root node gets preserved as the outermost objects only key (#48):
- bump serde_json from 1.0.120 to 1.0.122
- bump serde from 1.0.203 to 1.0.204
- bump serde_json from 1.0.117 to 1.0.120
- added RSV format support
- bump serde from 1.0.201 to 1.0.203
- bump serde from 1.0.200 to 1.0.201
- bump serde_json from 1.0.116 to 1.0.117
- bump serde from 1.0.198 to 1.0.200
- bump serde from 1.0.197 to 1.0.198
- bump serde_json from 1.0.115 to 1.0.116
- bump serde_yaml from 0.9.33 to 0.9.34 Note that this library has now been declared deprecated by it's maintainer and we'll be looking for a carefully chosen replacement - do raise an issue if you have any suggestions, needs to serde deserialize yaml
- bump serde_json from 1.0.114 to 1.0.115
- bumped rust version to 1.74 for clap 4.5.1, used in rpm packaging
- added support to wrap jaq in addition to jq, jaq is preferred with a fallback to jq if not found
- bump serde_yaml from 0.9.32 to 0.9.33
- bump serde from 1.0.196 to 1.0.197
- bump serde_json from 1.0.113 to 1.0.114
- bump serde_yaml from 0.9.31 to 0.9.32
- bump serde from 1.0.195 to 1.0.196
- bump serde_json from 1.0.112 to 1.0.113
- bump serde_yaml from 0.9.30 to 0.9.31
- added INI format support
- on
cq --help
, display both csv2json & jq usage
- minor cleanup, re-add -? & -help argument support to csv2json, lost in 0.4.0 due to using argh lib
- use array instead of HashMap, trade in jq arg parsing speed for smaller binary
- switching to simpler, but for this use case more flexible, pico-args library
- simplified & deduplicated argument parsing logic
- added csv2json argument to disable string trimming: starting and trailing whitespace characters will get removed from strings by default, ex. "foo, bar" will now yield "bar", not " bar", can be disabled with --no-trim
- added support to cq for the same CSV related arguments as csv2json
- added support for integer and floating point numbers when parsing CSV files
- skip filenames passed to jq arguments, ex. --from-file
- bump serde from 1.0.192 to 1.0.195
- bump serde_json from 1.0.108 to 1.0.111
- bump serde_yaml from 0.9.29 to 0.9.30
- fix feature selection
- switch to the std-library is_terminal function
- increase minimum rust version to 1.70
- bump toml from 0.8.2 to 0.8.8
- bump serde_yaml from 0.9.27 to 0.9.29
- bump serde from 1.0.190 to 1.0.192
- bump serde_json from 1.0.107 to 1.0.108
- bump serde_yaml from 0.9.25 to 0.9.27
- bump csv from 1.2.2 to 1.3.0
- bump rustix from 0.38.9 to 0.38.19 (GHSA-c827-hfw6-qwvm)
- bump toml from 0.8.1 to 0.8.2
- bump serde from 1.0.188 to 1.0.190
- bump toml from 0.8.0 to 0.8.1
- bump toml from 0.7.7 to 0.8.0, changes tuple variants from being an array to being a table with the key being the variant name and the value being the array, matching serde_json's behavior
- bump serde_json from 1.0.105 to 1.0.107
- bump toml from 0.7.6 to 0.7.7
- bump serde from 1.0.183 to 1.0.188
- bump serde_json from 1.0.104 to 1.0.105
- bump argh from 0.1.10 to 0.1.12
- bump serde from 1.0.180 to 1.0.183
- bump serde from 1.0.179 to 1.0.180
- bump serde from 1.0.175 to 1.0.179
- bump serde_json from 1.0.103 to 1.0.104
- bump serde from 1.0.171 to 1.0.175
- bump serde_json from 1.0.100 to 1.0.103
- bump serde_yaml from 0.9.22 to 0.9.25, fixes serializing using quoted style around scalar that has digits with leading zero
- bump serde from 1.0.164 to 1.0.171, which bumps syn from 2.0.18 to 2.0.25
- bump serde_json from 1.0.99 to 1.0.100
- bump toml from 0.7.5 to 0.7.6
- bump is-terminal from 0.4.8 to 0.4.9
- bump is-terminal from 0.4.7 to 0.4.8, which bumps rustix from 0.37 to 0.38, changing some APIs and improving compile-time
- added csv2json arguments for changing default delimiter, quote & escape characters
- added support for files in arguments to *2json tools
- added YAML multi-document support
- added CSV format support
- initial release, covering TOML, XML and YAML formats and for each a tool for converting from STDIN to STDOUT and a jq wrapper