From 8ca22e824d1feeb163ffd6bb30cf504fe23bd200 Mon Sep 17 00:00:00 2001 From: Andy Lok Date: Wed, 17 Jul 2024 09:22:00 +0800 Subject: [PATCH] feat: add migration tips (#230) * feat: add migration tips Signed-off-by: andylokandy * fix Signed-off-by: andylokandy --------- Signed-off-by: andylokandy --- CHANGELOG.md | 2 +- README.md | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 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. 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)