1[package]
2authors = ["The Knurling Authors"]
3categories = ["embedded", "no-std"]
4description = "Panic handler that exits `probe-run` with an error code"
5edition = "2021"
6keywords = ["knurling", "panic-impl", "defmt", "probe-run"]
7license = "MIT OR Apache-2.0"
8name = "panic-probe"
9readme = "README.md"
10repository = "https://github.com/knurling-rs/defmt"
11version = "0.3.2"
12
13[dependencies]
14cortex-m = "0.7"
15defmt = { version = "0.3", path = "../../defmt", optional = true }
16rtt-target = { version = "0.5", optional = true }
17
18
19[features]
20# Print the panic message using `rtt-target`.
21print-rtt = ["rtt-target"]
22# Print the panic message using `defmt`.
23print-defmt = ["defmt", "defmt-error"]
24
25defmt-error = [] # internal feature, do not use
26
27[package.metadata.docs.rs]
28default-target = "thumbv7m-none-eabi"
29