CrabeDeFrance / rtshark

Rust interface to tshark application
Other
33 stars 10 forks source link

Add access to tshark version #20

Closed lrstewart closed 1 month ago

lrstewart commented 2 months ago

I ran into a use case where I needed a feature only available in the latest version of tshark, so I needed to know what version of tshark was being used.

The builder seemed like the most appropriate place for the new method. I suppose it could also just be a stand alone function, but that would mean that the command could never be configured (like, if someday the builder lets you set the location of tshark rather than assuming its in your path).