-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCargo.toml
78 lines (60 loc) · 1.82 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[package]
name = "avr-progmem"
version = "0.4.0"
authors = ["Cryptjar <[email protected]>"]
license = "Apache-2.0"
edition = "2018"
description = "Progmem utilities for the AVR architectures"
keywords = ["avr", "arduino", "flash", "lpm", "pgm"]
categories = ["embedded", "no-std", "hardware-support", "memory-management"]
repository = "https://github.com/Cryptjar/avr-progmem-rs"
exclude = ["/.cargo/"]
[package.metadata.docs.rs]
all-features = true
# Profiles only needed for the examples to make them compile
[profile.dev]
panic = "abort"
lto = true
opt-level = "s"
# Profiles only needed for the examples to make them compile
[profile.release]
panic = "abort"
lto = true
opt-level = "s"
[features]
default = ["lpm-asm-loop", "ufmt"]
# Deprecated, the assembly loop is now the only implementation. Enabling
# (or disabling) this feature makes no difference, anymore.
lpm-asm-loop = []
# Enables some tweak to ease debugging, should not be use in production
dev = []
# Enables unsize utilities, such as wrapper coercing.
# However, this requires additional nightly Rust features, which might be unstable.
unsize = []
[dependencies]
cfg-if = "1.0"
[dependencies.derivative]
version = "2.2.0"
features = [ "use_core" ]
[dependencies.ufmt]
version = "0.2"
optional = true
[dev-dependencies]
panic-halt = "0.2.0"
ufmt = "0.2"
embedded-hal = "0.2"
[dev-dependencies.void]
version = "1.0"
default-features = false
[dev-dependencies.avr-device]
version = "0.5"
features = ["atmega328p", "rt"]
[dev-dependencies.arduino-hal]
# It is not yet available via crates.io
git = "https://github.com/Rahix/avr-hal.git"
rev = "190f2c3cb8d29e10f71119352b912369dc5a1fb7"
features = ["arduino-uno"]
[dev-dependencies.atmega-hal]
# It is not yet available via crates.io
git = "https://github.com/Rahix/avr-hal.git"
rev = "190f2c3cb8d29e10f71119352b912369dc5a1fb7"