aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: 81c783b50501eb1ffca5ef78fc9483bb16d5b3a8 (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
32
33
[package]
name = "clint"
version = "0.2.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://github.com/bjc/clint"
edition = "2018"
readme = "README.md"

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

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

[features]
default = ["isr-32", "compiletest_rs/stable"]
const-fn = []

# 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 = []