2 unstable releases

new 0.2.2 Apr 15, 2025
0.1.0 Nov 26, 2024

#71 in #10

Download history 2/week @ 2025-01-04 36/week @ 2025-01-11 63/week @ 2025-01-18 160/week @ 2025-01-25 187/week @ 2025-02-01 85/week @ 2025-02-08 102/week @ 2025-02-15 117/week @ 2025-02-22 61/week @ 2025-03-01 53/week @ 2025-03-08 89/week @ 2025-03-15 69/week @ 2025-03-22 41/week @ 2025-03-29 16/week @ 2025-04-05 174/week @ 2025-04-12

325 downloads per month
Used in 2 crates (via data_bucket)

MIT license

30KB
769 lines

DataBucket

This is a library for writing and reading data files.

Command line tools

The command line tools reside in the tools directory.

create-data-file

Creates a data file with test data. The filename is provided using the --filename command line flag, the number of pages to be written is provided using the --count command line flag which sets amount of data records.

dump-data-file

Loads the data from a file and prints it. The filename is provided using the --filename command line flag.

Example of generated file after dump

--count 10

+-----+----------+
| val | attr     |
+-----+----------+
| 0   | string 0 |
| 1   | string 1 |
| 2   | string 2 |
| 3   | string 3 |
| 4   | string 4 |
| 5   | string 5 |
| 6   | string 6 |
| 7   | string 7 |
| 8   | string 8 |
| 9   | string 9 |
+-----+----------+

Dependencies

~3.5–5MB
~96K SLoC