Commit graph

22 commits

Author SHA1 Message Date
Kai Sickeler
47d2a7703c shorten header reading with header function 2016-07-27 19:54:03 +02:00
Kai Sickeler
1c5cb7d21d replaced implementation of reset with call to set function 2016-07-27 18:54:09 +02:00
Kai Sickeler
3445908ef9 better error-handling when reading the unit 2016-07-27 17:40:20 +02:00
Kai Sickeler
769512ada2 added Option<CounterUnit> as member of Struct Counter 2016-07-27 17:40:20 +02:00
Kai Sickeler
aeb27072a7 use CounterUnit::new instead of a pub member 2016-07-27 17:40:20 +02:00
Kai Sickeler
7e4166acbf changed Unit-String to CounterUnit-Type 2016-07-27 17:40:20 +02:00
Kai Sickeler
cd182c73f4 replaced typedef with newtype 2016-07-27 17:40:20 +02:00
Kai Sickeler
33db6da554 added measurement units 2016-07-27 17:40:20 +02:00
9337a14cdd Update all version strings: 0.1.0 -> 0.2.0 2016-07-12 11:51:20 +02:00
d3dc4eb57d libimagcounter: use generate_error_module!() macro and reexport generated types 2016-05-19 18:22:03 +02:00
22e015b8fd libimagcounter: Replace error module imports with macro helper 2016-05-19 18:22:03 +02:00
8602d5855a libimagcounter: Replace error code with code generator macro 2016-05-17 00:26:36 +02:00
Andre Bogus
dfd6a9b0d3 style adaptations
these were introduced following suggestions from
https://crates.io/crate/clippy
2016-05-13 22:26:48 +02:00
15986cba34 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
381a9b3f5b Revert change to unwrap_err() here, trait bounds not fulfilled 2016-04-20 21:46:02 +02:00
d01c2d294e libimagcounter: Replace .err().unwrap() with .unwrap_err() 2016-04-20 21:45:26 +02:00
7ea6dccd29 Enable lints 2016-04-16 17:55:12 +02:00
0524b26fa7 Remove unused imports 2016-04-16 17:55:12 +02:00
1d5ed2c3d5 Remove unused keyword "mut" 2016-04-16 17:55:12 +02:00
20b578cd62 Add README for libimagcounter 2016-03-25 15:56:42 +01:00
78feb53aa8 Add Counter::all_counters() to get all counters 2016-03-19 15:40:01 +01:00
2bc9f2ec25 libimagcounter: init 2016-03-12 16:06:10 +01:00