Commit Graph
58 Commits
Author SHA1 Message Date
Nicolas Stalder 955e652732 Backport PathBuf::from to 0.1 series 2021-02-26 19:03:24 +01:00
Nicolas Stalder 1aa6737a36 Fix std-triggering regression 0.1.1 2021-02-01 01:00:09 +01:00
Nicolas Stalder dac16c41d3 Prepare for a release 2021-01-31 14:20:55 +01:00
Nicolas StalderandNicolas Stalder a70acb24fa Add missing derive feature in serde dependency 2021-01-31 13:39:04 +01:00
Nicolas StalderandNicolas Stalder ade9b72720 path::Path::parent 2021-01-31 13:39:04 +01:00
Nicolas StalderandNicolas Stalder e39ddaefb2 Reliability > efficiency 2021-01-31 13:39:04 +01:00
Nicolas StalderandNicolas Stalder 7e6a230592 Serde+uDebug for PathBuf, Path::exists 2021-01-31 13:39:04 +01:00
Nicolas StalderandNicolas Stalder 2c0dcdc29f Set Path to CStr and add PathBuf
- Same as iqlusion's rewrite, simplify and adjust
to std::fs
2021-01-31 13:39:04 +01:00
Nicolas StalderandNicolas Stalder 7708a4f868 Slight simplification 2021-01-31 13:39:04 +01:00
Nicolas StalderandNicolas Stalder cfcbe2bfaa REPLACE old API with new API
- The old API caused UB and was not very ergonomic
- Tests are also updated: `cargo test --release`
2021-01-31 13:39:04 +01:00
Nicolas StalderandNicolas Stalder 6f4bc5b3b8 Add read_exact/read_to_end methods 2021-01-31 13:39:04 +01:00
Nicolas StalderandNicolas Stalder 68195dd883 Add `Filesystem::open_file_with_options_and_then method 2021-01-31 13:39:04 +01:00
Nicolas StalderandNicolas Stalder 291b395a09 Fix tests and move with_options to File where it belongs 2021-01-31 13:39:04 +01:00
Nicolas StalderandNicolas Stalder e6f60b5793 heapless::Vec clone does *not* clone bytes past "len" 2021-01-31 13:39:04 +01:00
Nicolas StalderandNicolas Stalder 327fa71be3 Stage bugged remove_dir_all method 2021-01-31 13:39:04 +01:00
Nicolas StalderandNicolas Stalder 67d843a615 Mention the new API in docs 2021-01-31 13:39:04 +01:00
Nicolas StalderandNicolas Stalder 6c1831a506 Fix Filesystem::read 2021-01-31 13:39:04 +01:00
Nicolas StalderandNicolas Stalder 89761b3c65 Nicer Filename/Path types, with try_join 2021-01-31 13:39:04 +01:00
Nicolas StalderandNicolas Stalder 66929cfe1c Give File and ReadDir the RefCell<alloc> treatment too 2021-01-31 13:39:04 +01:00
Nicolas StalderandNicolas Stalder 71b5068404 Store Filesystem's Allocation as RefCell, allowing some nesting 2021-01-31 13:39:04 +01:00
Nicolas StalderandNicolas Stalder 3e75276e2d Remove heapless-bytes 2021-01-31 13:39:04 +01:00
Nicolas StalderandNicolas Stalder 4a83fc2149 Some comments, and make ReadDir::close safe 2021-01-31 13:39:04 +01:00
Nicolas StalderandNicolas Stalder 1adcd72c37 Some testing, API fixes 2021-01-31 13:39:04 +01:00
Nicolas StalderandNicolas Stalder 45d8faacd4 WIP: Remove UB by using closures 2021-01-31 13:39:04 +01:00
Nicolas Stalder 274a8dfef7 metadata and another mock storage macro 2020-02-04 23:43:51 +01:00