libatasmart

Crates.iolibatasmart
lib.rslibatasmart
version0.3.1
sourcesrc
created_at2016-02-08 17:50:26.727479
updated_at2023-01-25 18:22:26.229586
descriptionA wrapper around libatasmart-sys raw bindings.
homepagehttps://github.com/cholcombe973/libatasmart
repositoryhttps://github.com/cholcombe973/libatasmart
max_upload_size
id4126
size18,724
Chris Holcombe (cholcombe973)

documentation

https://docs.rs/libatasmart/index.html

README

libatasmart

Rust friendly interface for libatasmart-sys Docs

Using libatasmart might require some compiling. If you're using ubuntu you can install libatasmart-dev and that should be sufficient. Otherwise head on over to http://git.0pointer.net/libatasmart.git/ and pull down the latest copy of the code. Follow the readme instructions in there to get yourself a libatasmart shared library installed. From there this code should work fine.

The backing C library for this code was written roughly 14yrs ago and hasn't really been updated since. If anyone is interested I think it would be worth rewriting this wrapper interface to parse the data blobs given back by the hard drives directly and then just remove the C dependency all together.

Commit count: 60

cargo fmt