aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorHenrik Tjäder <henrik@tjaders.com>2020-06-10 12:07:23 +0000
committerHenrik Tjäder <henrik@tjaders.com>2020-06-10 13:31:48 +0000
commit5f61f7b75fa049af0f21576232c3d45022a8af77 (patch)
treeef5fd8e6b705f396eccdc34ec2b26ff29866ab88 /Cargo.toml
parent0b3cc87f2d590868963c32543ac3772a0b2dee28 (diff)
Use cargo feature instead of conditional compilation hacks
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 603129a..fbc56c4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -39,6 +39,10 @@ name = "t-cfg"
required-features = ["__v7"]
[[example]]
+name = "t-cfg-resources"
+required-features = ["__min_r1_43"]
+
+[[example]]
name = "t-schedule"
required-features = ["__v7"]
@@ -77,6 +81,7 @@ heterogeneous = ["cortex-m-rtfm-macros/heterogeneous", "microamp"]
homogeneous = ["cortex-m-rtfm-macros/homogeneous"]
# used for testing this crate; do not use in applications
__v7 =[]
+__min_r1_43 =[]
[profile.release]
codegen-units = 1