[Media] tennis 0.7.0 (from zig to rust)

178 points gurgeous 49 comments
[Media] tennis 0.7.0 (from zig to rust)

Hi all. tennis is a small cli for printing stylish CSV tables in your terminal. Rows are truncated to fit and it'll automatically pick a nice color theme. I just pushed the 0.7.0 release, which ports tennis from zig to rust and adds some much-requested features. I've been working on the port for a month but accelerated the effort based on recent events in zig land.

https://github.com/gurgeous/tennis

(note - this is not ai slop and I never use ai on reddit)

FYI the macos-intel and windows builds are tested in CI, but I don't have access to real machines. This was the case for 0.6.0 as well, but since this is a rewrite there might be regressions. Let me know if you see anything amiss.

Tennis contains an (unreleased) crate that does all the work, similar to `tabled` or `comfy`. Since tennis is laser focused on "one line per row" I figured people might want to use tennis in their own projects. The crate supports both manually (fluent) options and a derive macro for structs. I am making some effort to reclaim the tennis crate name from a squatter. I can release the crate publicly after that if there is interest.