-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
Cargo.toml
54 lines (46 loc) · 1.38 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[workspace]
members = ["core"]
[workspace.package]
edition = "2021"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/trussed-dev/littlefs2"
[package]
name = "littlefs2"
description = "Idiomatic Rust API for littlefs"
version = "0.5.0"
authors = ["Nicolas Stalder <[email protected]>", "Brandon Edens <[email protected]>", "The Trussed developers"]
readme = "README.md"
categories = ["embedded", "filesystem", "no-std"]
documentation = "https://docs.rs/littlefs2"
edition.workspace = true
license.workspace = true
repository.workspace = true
[dependencies]
delog = "0.1.0"
generic-array = "0.14"
heapless = "0.7"
littlefs2-core = { version = "0.1", path = "core" }
littlefs2-sys = "0.2"
[dev-dependencies]
ssmarshal = "1"
serde = { version = "1.0", default-features = false, features = ["derive"] }
# trybuild = "1"
[features]
default = ["serde"]
serde = ["littlefs2-core/serde"]
# enable assertions in backend C code
ll-assertions = ["littlefs2-sys/assertions"]
# enable trace in backend C code
ll-trace = ["littlefs2-sys/trace"]
c-stubs = []
log-all = []
log-none = []
log-info = []
log-debug = []
log-warn = []
log-error = []
# TODO: LFS_NAME_MAX (and maybe other sizes) are baked into the
# compiled C library. For instance, the `lfs_info` struct has a
# member `char name[LFS_NAME_MAX+1]`.
# This means that if we change `traits::Storage::FILENAME_MAX_PLUS_ONE`,
# we need to pass this on!