textproc/xt-rs - The NetBSD Packages Collection

Translate between serialized data formats

xt is a cross-format translator for JSON, YAML, TOML, and MessagePack.

xt is built to do one thing well, and tries to maintain a minimal interface and
feature set.
The most common options are -t to specify an output format other than JSON, and
one or more files to read from rather than standard input.

Some of xt's notable features include:
 - Automatic Format Detection
   When the input format is not specified with the -f option, xt can detect it
   automatically by file extension, or by examining the content of the input
   stream itself.
 - Multi-Document Support
   With most output formats, xt can translate multiple input files, each
   containing one or more independent documents, to a single output stream.
   For example, a set of YAML files with documents separated by --- markers can
   translate to a single stream of newline-delimited JSON objects. With format
   detection enabled, xt can even translate input files in different formats to
   a single output.
 - Streaming Translation
   xt can translate multi-document inputs from unbounded sources like shell
   pipes with minimal buffering, while still supporting features like automatic
   format detection. Streaming is enabled automatically whenever it's required.

Build dependencies

lang/rust pkgtools/mktools devel/pkgconf pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64xt-rs-0.18.3.tgz
NetBSD 10.0aarch64xt-rs-0.18.2.tgz
NetBSD 10.0aarch64xt-rs-0.19.0.tgz
NetBSD 10.0earmv7hfxt-rs-0.18.3.tgz
NetBSD 10.0earmv7hfxt-rs-0.18.2.tgz
NetBSD 10.0earmv7hfxt-rs-0.19.0.tgz
NetBSD 10.0i386xt-rs-0.19.0.tgz
NetBSD 10.0i386xt-rs-0.18.3.tgz
NetBSD 10.0powerpcxt-rs-0.18.2.tgz
NetBSD 10.0x86_64xt-rs-0.19.0.tgz
NetBSD 10.0x86_64xt-rs-0.18.3.tgz
NetBSD 9.0aarch64xt-rs-0.18.3.tgz
NetBSD 9.0aarch64xt-rs-0.18.2.tgz
NetBSD 9.0earmv7hfxt-rs-0.18.3.tgz
NetBSD 9.0earmv7hfxt-rs-0.18.2.tgz
NetBSD 9.0earmv7hfxt-rs-0.19.0.tgz
NetBSD 9.0i386xt-rs-0.19.0.tgz
NetBSD 9.0i386xt-rs-0.18.3.tgz
NetBSD 9.0powerpcxt-rs-0.18.3.tgz
NetBSD 9.0powerpcxt-rs-0.18.2.tgz
NetBSD 9.0x86_64xt-rs-0.19.0.tgz
NetBSD 9.0x86_64xt-rs-0.18.3.tgz
NetBSD 9.3x86_64xt-rs-0.19.0.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.