Commit Graph

20 Commits

Author SHA1 Message Date
Astro 2eb34db8ed Cargo.toml: add LICENSE 2020-12-13 20:16:26 +01:00
Astro 08262fc3e9 write_value(): take value_buf for serialization from outside
the caller should know the required size of that.
2020-12-12 01:07:24 +01:00
Astro c3e294d211 StoreBackend::Data: don't require Sized 2020-12-11 21:09:08 +01:00
Astro 4db466ffc4 write_value(): don't consume value parameter 2020-12-11 20:55:30 +01:00
Astro 159b5c97d9 rectify #![no_std] accident 2020-12-11 20:29:16 +01:00
Astro 602cc1f0f3 append(): check for not_modified 2020-12-11 20:13:33 +01:00
Astro 91d69474ed StoreBackend::backup_space(): add for statically allocated memory 2020-12-11 19:54:49 +01:00
Astro 0101a4f90a README: update TODO 2020-12-11 19:54:11 +01:00
Astro 532ba8381f read_value()/write_value(): put behind feature postcard-values 2020-12-11 19:13:00 +01:00
Astro fb28e8a9b1 write(): accept both &[u8] and &str for value 2020-12-11 19:08:56 +01:00
Astro f4245ec937 write_int(): remove 2020-12-11 19:08:12 +01:00
Astro 8a2bcf13f8 read_value()/write_value(): implement serialization via postcard crate 2020-12-11 19:01:59 +01:00
Astro 9153240b9b append(): break out pub fn get_bytes_used() 2020-12-11 18:53:17 +01:00
Astro e5f8b6b56e error: fmt WriteError style 2020-12-11 18:11:55 +01:00
Astro a0f34e945d no_flash: init 2020-12-11 18:07:39 +01:00
Astro 57758cdc9a doc 2020-12-11 01:12:51 +01:00
Astro c0da68f48c iter: remove the truncated case
fixes test::write_many
2020-12-11 00:45:22 +01:00
Astro 1a35d195e6 compact: remove leftover 2020-12-11 00:43:27 +01:00
Astro 449f7f5924 refactor for abstract StoreBackend 2020-12-11 00:29:06 +01:00
whitequark 2d09805b42 start with config.rs from artiq's libboard_misoc 2020-12-10 18:19:35 +01:00