Browse Source

把DragonReach的名称改为小写. (#35)

- 原因是rust要求crate名字是snakecase
- 便于用户使用的时候,命令行打字更方便一点.
LoGin 1 year ago
parent
commit
df4e48991b
2 changed files with 2 additions and 4 deletions
  1. 2 2
      Cargo.toml
  2. 0 2
      src/main.rs

+ 2 - 2
Cargo.toml

@@ -1,10 +1,10 @@
 [package]
-name = "dragon_reach"
+name = "dragonreach"
 version = "0.1.0"
 edition = "2021"
 
 [[bin]]
-name = "DragonReach"
+name = "dragonreach"
 path = "src/main.rs"
 
 [[bin]]

+ 0 - 2
src/main.rs

@@ -1,5 +1,3 @@
-#![allow(non_snake_case)]
-
 mod contants;
 mod error;
 mod executor;