aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: 0cf28f709ee3a2e932990874916067f9118cffe8 (plain)
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
[package]
name = "clint"
version = "0.3.0"
description = "CLosure INTerrupt handlers."
categories = ["no-std", "embedded", "hardware-support", "asynchronous"]
keywords = ["interrupt", "peripheral"]
license = "LGPL-3.0-or-later"
authors = ["Brian Cully <bjc@kublai.com>"]
repository = "https://git.spork.org/clint.git"
edition = "2018"
readme = "README.md"

[dev-dependencies]
cortex-m = "~0.6"
cortex-m-rt = "~0.6"
compiletest_rs = "~0.3"

[target.'cfg(all(target_arch = "arm", target_os = "none"))'.dependencies]
cortex-m = "~0.6"

[features]
default = ["isr-32"]

# Number of ISR closures to hold in a HandlerTable. This is pretty
# clumsy, but doesn't require const generics.
isr-8 = []
isr-16 = []
isr-32 = []
isr-64 = []
isr-128 = []
isr-256 = []