Signed-off-by: Jia Chao <jiac13@chinaunicom.cn>
This commit is contained in:
Jia Chao 2024-07-03 14:56:30 +08:00
commit e7ee80f7cf
3 changed files with 16 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/target

13
Cargo.toml Normal file
View File

@ -0,0 +1,13 @@
[package]
name = "ccutils"
version = "0.1.0"
edition = "2021"
authors = ["Jia Chao <jiachao2130@126.com>"]
license = "MIT"
keywords = ["cc", "utils"]
include = ["src/**/*", "Cargo.toml", "README.md"]
description = "A complex toolset that include various small functions."
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

2
src/lib.rs Normal file
View File

@ -0,0 +1,2 @@
pub type Error = Box<dyn std::error::Error + Send + Sync>;
pub type Result<T> = std::result::Result<T, Error>;