~ruther/avr-device

ref: 829131b774259ddd7c0572b5793bcc5014c4a75f avr-device/Cargo.toml -rw-r--r-- 1.9 KiB
829131b7 — Rahix Prepare 0.3.4 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
[package]
name = "avr-device"
version = "0.3.4"

authors = ["Rahix <rahix@rahix.de>"]
edition = "2018"
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"]
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"]

[dependencies]
bare-metal = "0.2.5"
vcell = "0.1.2"
cfg-if = "0.1.10"

[dependencies.avr-device-macros]
path = "macros/"
version = "=0.3.4"
optional = true

[build-dependencies]
rustversion = "1.0"
Do not follow this link