fixrs 0.1.1

Blazing-fast CLI to replace Rust qualified paths with use statements, auto-fixing clippy::absolute_paths
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
name: basic
description: 基础绝对长路径替换并注入use
input: |
  use std::fs;

  pub fn my_func() {
      let now = wbase::time::now_secs();
  }
expected: |
  use std::fs;
  use wbase::time::now_secs;

  pub fn my_func() {
      let now = now_secs();
  }