aboutsummaryrefslogtreecommitdiff
path: root/rtic-macros/Cargo.toml
blob: c38f575ed477a7dc1af9e3f97ced1320e9f44468 (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
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
[package]
authors = [
  "The Real-Time Interrupt-driven Concurrency developers",
  "Emil Fresk <emil.fresk@gmail.com>",
  "Henrik Tjäder <henrik@tjaders.com>",
  "Jorge Aparicio <jorge@japaric.io>",
  "Per Lindgren <per.lindgren@ltu.se>",
]
categories = ["concurrency", "embedded", "no-std", "asynchronous"]
description = "Procedural macros, syntax parsing, and codegen of the RTIC crate"
documentation = "https://rtic-rs.github.io/rtic/api/rtic"
edition = "2021"
keywords = [
  "embedded",
  "async",
  "runtime",
  "no-std",
  "rtos",
]
license = "MIT OR Apache-2.0"
name = "rtic-macros"
readme = "../README.md"
repository = "https://github.com/rtic-rs/rtic"

version = "2.1.3"

[package.metadata.docs.rs]
features = ["test-template"]

[lib]
proc-macro = true

[features]
default = []

# list of supported codegen backends
cortex-m-source-masking = []
cortex-m-basepri = []
riscv-esp32c3 = []
riscv-esp32c6 = []
# riscv-clic = []
# riscv-ch32 = []
riscv-slic = []
riscv-clint = ["riscv-slic"]
riscv-mecall= ["riscv-slic"]

# backend API test
test-template = []

[dependencies]
indexmap = "2.0.0"
proc-macro2 = "1.0.49"
proc-macro-error2 = "2.0"
quote = "1.0.23"
syn = { version = "2.0.48", features = ["extra-traits", "full"] }

[dev-dependencies]
trybuild = "1.0.73"