Commit Graph

15 Commits

Author SHA1 Message Date
Robin Krahl
0a22aa1101 Release v0.5.0 2024-10-25 10:57:54 +02:00
Robin Krahl
0988ecd8a8 Add CI job for avr target 2024-10-22 16:58:41 +02:00
Robin Krahl
a1f8d9e87b core: Add support for heapless-bytes
Similar to the existing support for multiple heapless versions, this
patch also adds support for heapless-bytes 0.3 and 0.4.
2024-09-13 11:44:54 +02:00
Robin Krahl
932a40f2da core: Make heapless support optional and support multiple versions
The DynFile::read_to_end, DynFilesystem::read and
DynFilesystem::read_chunk methods use a heapless::Vec to store a
flexible amount of data.  This patch introduces a Vec trait that
abstracts over different versions of heapless so that we can optionally
support multiple heapless versions at the same time.

Fixes: https://github.com/trussed-dev/littlefs2/issues/77
2024-09-13 11:44:33 +02:00
Robin Krahl
69ff97406d Remove dir-entry-path feature
The dir-entry-path feature has been enabled by default and only adds a
very small overhead.  To decrease complexity, this patch removes the
feature and always enables the previously feature-gated code.

Fixes: https://github.com/trussed-dev/littlefs2/issues/76
2024-09-13 11:04:11 +02:00
Robin Krahl
7356da54d1 Introduce littlefs2-core crate
To make it easier to maintain applications using littlefs2, this patch
introduces a littlefs2-core crate with the basic types and traits used
by littlefs2, but without a specific implementation.

Fixes: https://github.com/trussed-dev/littlefs2/issues/55
2024-08-12 08:30:25 +02:00
Robin Krahl
f6b90f52b3 Extend CI checks
This patch adds clippy and rustfmt to the CI and fails the workflow if
cargo doc shows a warning.
2024-08-08 17:58:25 +02:00
Robin Krahl
9ed715b850 Remove deploy docs job
This job no longer works so this patch removes it from the GitHub
Actions workflow.  Users should refer to docs.rs instead.
2024-07-03 16:43:56 +02:00
Robin Krahl
be44c0b252 Fix compilation without default features 2024-06-02 20:29:25 +02:00
Lachezar Lechev
0a66788666 ci: add builds for more targets & update checkout
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-04-21 18:26:30 +02:00
Robin Krahl
22e3129a0a Pin Rust version to 1.66.1
This fixes an issue with Rust 1.67.0, possibly related to changes to the
layout of types without a specified representation.
	https://github.com/trussed-dev/littlefs2/issues/26
2023-01-27 14:13:32 +01:00
Robin Krahl
2253947083 ci: Only deploy docs on main 2023-01-27 14:13:32 +01:00
Nicolas Stalder
ea43a15dcb Trial funding button 2021-03-14 15:42:25 +01:00
Nicolas Stalder
d33bbe6f5a Fix CI 2021-02-26 22:57:22 +01:00
Nicolas Stalder
dac16c41d3 Prepare for a release 2021-01-31 14:20:55 +01:00