~ruther/avr-device

ref: 6a9771e12cadbcdab7b5fe4967b2224535fff31a avr-device/Cargo.toml -rw-r--r-- 2.0 KiB
6a9771e1 — Michael Büsch Cargo.toml: Update edition to 2021 2 years ago
                                                                                
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
[package]
name = "avr-device"
version = "0.3.4"

authors = ["Rahix <rahix@rahix.de>"]
edition = "2021"
description = "Register access crate for AVR microcontrollers"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Rahix/avr-device"
readme = "README.md"
keywords = ["avr", "arduino"]
categories = ["no-std", "embedded", "hardware-support"]

include = [
    "/src/**/*.rs",
    "/LICENSE-*",
    "/README.md",
    "/build.rs",
]

[package.metadata.docs.rs]
features = ["docsrs"]

[features]
device-selected = []
at90usb1286 = ["device-selected"]
atmega1280 = ["device-selected"]
atmega1284p = ["device-selected"]
atmega128rfa1 = ["device-selected"]
atmega164pa = ["device-selected"]
atmega168 = ["device-selected"]
atmega2560 = ["device-selected"]
atmega8 = ["device-selected"]
atmega8u2 = ["device-selected"]
atmega328p = ["device-selected"]
atmega328pb = ["device-selected"]
atmega4809 = ["device-selected"]
atmega48p = ["device-selected"]
atmega32u4 = ["device-selected"]
atmega64 = ["device-selected"]
atmega644 = ["device-selected"]
attiny13a = ["device-selected"]
attiny167 = ["device-selected"]
attiny202 = ["device-selected"]
attiny2313 = ["device-selected"]
attiny2313a = ["device-selected"]
attiny816 = ["device-selected"]
attiny84 = ["device-selected"]
attiny841 = ["device-selected"]
attiny85 = ["device-selected"]
attiny861 = ["device-selected"]
attiny88 = ["device-selected"]
attiny1614 = ["device-selected"]
rt = ["avr-device-macros"]

# Unfortunately, we can only build documentation for a subset of the supported
# MCUs on docs.rs.  If you think a very popular chip is missing from the list,
# feel free to add it here.
docsrs = ["rt", "atmega328p", "atmega32u4", "atmega2560", "attiny85", "atmega4809"]

# Enable ufmt::uDebug impls for certain types to aid efficient debugging.
udebug = ["dep:ufmt"]

[dependencies]
bare-metal = "1.0.0"
vcell = "0.1.2"
cfg-if = "0.1.10"
ufmt = { version = "0.2.0", optional = true }

[dependencies.avr-device-macros]
path = "macros/"
version = "=0.3.4"
optional = true
Do not follow this link