Skip to content

Commit

Permalink
feat: add migration tips (#230)
Browse files Browse the repository at this point in the history
* feat: add migration tips

Signed-off-by: andylokandy <[email protected]>

* fix

Signed-off-by: andylokandy <[email protected]>

---------

Signed-off-by: andylokandy <[email protected]>
  • Loading branch information
andylokandy authored Jul 17, 2024
1 parent 5ba5151 commit 8ca22e8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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"
```

<hr>

<div align="center">

![minitrace: Extremely fast tracing library for Rust](https://raw.githubusercontent.com/tikv/minitrace-rust/master/etc/img/head-img-640.svg)
Expand Down

0 comments on commit 8ca22e8

Please sign in to comment.