[package]
name = "fastcode"
description = "Fast to writing your code with extension function and popular crates."
homepage = "https://github.com/Reknij/fastcode"
repository = "https://github.com/Reknij/fastcode"
version = "0.1.0"
edition = "2024"
authors = ["Jinker"]
license = "MIT"
readme = "README.md"
[dependencies]
async-trait = { version = "0.1", optional = true }
num_enum = { version = "0.7", optional = true }
tokio = { version = "1", optional = true }
thiserror = { version = "2", optional = true }
colored = { version = "2.0", optional = true }
tracing-subscriber = { version = "0.3", optional = true }
jiff = { version = "0.2", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
serde_json = { version = "1.0", optional = true }
tracing = { version = "0.1", optional = true }
[features]
default = ["basic"]
tracing_log = ["dep:tracing"]
colored = ["dep:colored"]
async-trait = ["dep:async-trait"]
tokio = ["dep:tokio"]
num-enum = ["dep:num_enum"]
error = ["dep:thiserror"]
color = ["dep:colored"]
tracing = ["dep:tracing-subscriber", "dep:tracing"]
serde = ["dep:serde", "dep:serde_json"]
jiff = ["dep:jiff"]
common = []
basic = ["colored", "common"]
full = [
"common",
"async-trait",
"tokio",
"num-enum",
"error",
"color",
"tracing",
"tracing_log",
"jiff",
"serde",
]