aboutsummaryrefslogtreecommitdiff
path: root/embassy-time
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2023-10-16 20:07:48 +0200
committerDario Nieuwenhuis <[email protected]>2023-10-16 20:11:35 +0200
commit213b4c9dca2e541c00e702b4476db3612f4d62b9 (patch)
treef72cd3ee20e6e30e8e77a634144cb026c3ddd732 /embassy-time
parent889d482d2d56f278826b0b1b59c53c22f91ef413 (diff)
time: add `links` key, release v0.1.5.
Diffstat (limited to 'embassy-time')
-rw-r--r--embassy-time/CHANGELOG.md7
-rw-r--r--embassy-time/Cargo.toml8
-rw-r--r--embassy-time/build.rs3
3 files changed, 17 insertions, 1 deletions
diff --git a/embassy-time/CHANGELOG.md b/embassy-time/CHANGELOG.md
index 0dd938c20..6e79addf6 100644
--- a/embassy-time/CHANGELOG.md
+++ b/embassy-time/CHANGELOG.md
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7 7
8## 0.1.5 - 2023-10-16
9
10- Added `links` key to Cargo.toml, to prevent multiple copies of this crate in the same binary.
11 Needed because different copies might get different tick rates, causing
12 wrong delays if the time driver is using one copy and user code is using another.
13 This is especially common when mixing crates from crates.io and git.
14
8## 0.1.4 - 2023-10-12 15## 0.1.4 - 2023-10-12
9 16
10- Added more tick rates 17- Added more tick rates
diff --git a/embassy-time/Cargo.toml b/embassy-time/Cargo.toml
index e4b88d784..87b57d1e1 100644
--- a/embassy-time/Cargo.toml
+++ b/embassy-time/Cargo.toml
@@ -1,6 +1,6 @@
1[package] 1[package]
2name = "embassy-time" 2name = "embassy-time"
3version = "0.1.4" 3version = "0.1.5"
4edition = "2021" 4edition = "2021"
5description = "Instant and Duration for embedded no-std systems, with async timer support" 5description = "Instant and Duration for embedded no-std systems, with async timer support"
6repository = "https://github.com/embassy-rs/embassy" 6repository = "https://github.com/embassy-rs/embassy"
@@ -13,6 +13,12 @@ categories = [
13 "asynchronous", 13 "asynchronous",
14] 14]
15 15
16# Prevent multiple copies of this crate in the same binary.
17# Needed because different copies might get different tick rates, causing
18# wrong delays if the time driver is using one copy and user code is using another.
19# This is especially common when mixing crates from crates.io and git.
20links = "embassy-time"
21
16[package.metadata.embassy_docs] 22[package.metadata.embassy_docs]
17src_base = "https://github.com/embassy-rs/embassy/blob/embassy-time-v$VERSION/embassy-time/src/" 23src_base = "https://github.com/embassy-rs/embassy/blob/embassy-time-v$VERSION/embassy-time/src/"
18src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-time/src/" 24src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-time/src/"
diff --git a/embassy-time/build.rs b/embassy-time/build.rs
new file mode 100644
index 000000000..5b0095661
--- /dev/null
+++ b/embassy-time/build.rs
@@ -0,0 +1,3 @@
1// empty, needed to be able to use `links` in Cargo.toml.
2
3fn main() {}