From 7173ad0a42e1108758dadd20799c718b138e31a0 Mon Sep 17 00:00:00 2001 From: andylokandy Date: Tue, 16 Jul 2024 22:21:24 +0800 Subject: [PATCH 1/2] feat: add migration tips Signed-off-by: andylokandy --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index f178a5ef..9252b22b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,18 @@ +> [!WARNING] +> `minitrace` has been renamed to [`fastrace`](https://github.com/fastracelabs/fastrace). Please follow the migration guide to update your code. **This repository is no longer maintained.** + +Edit your `Cargo.toml` and find and replace `minitrace` with `fastrace` in the source code: + +```diff +# Cargo.toml + +[dependencies] +- minitrace = "0.6" ++ fastrace = "0.6" +``` + +
+
![minitrace: Extremely fast tracing library for Rust](https://raw.githubusercontent.com/tikv/minitrace-rust/master/etc/img/head-img-640.svg) From 9551ff532683df5b1659424a6321b054ea0f6c43 Mon Sep 17 00:00:00 2001 From: andylokandy Date: Tue, 16 Jul 2024 22:29:06 +0800 Subject: [PATCH 2/2] fix Signed-off-by: andylokandy --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 322eff68..93b33851 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,4 +75,4 @@ ## v0.2.0 - All API get redesigned for better egnormic experience. -- Attribute macro `#[trace]` automactically detects `async fn` and crate `async-trait`, and since that, `#[trace_async]` is removed. +- Attribute macro `#[trace]` automatically detects `async fn` and crate `async-trait`, and since that, `#[trace_async]` is removed.