# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "wd_tools" version = "0.13.14" authors = ["wangdong <1443965173@qq.com>"] description = "tools for rust" readme = "README.md" license = "MIT/Apache-2.0" [dependencies.anyhow] version = "1.0.69" optional = true [dependencies.async-trait] version = "0.1.79" optional = true [dependencies.base64] version = "0.21.0" optional = true [dependencies.chrono] version = "0.4.23" optional = true [dependencies.futures] version = "0.3.28" optional = true [dependencies.lazy_static] version = "1.4.0" optional = true [dependencies.lru] version = "0.12.1" optional = true [dependencies.pin-project-lite] version = "0.2.9" optional = true [dependencies.regex] version = "1.10.5" optional = true [dependencies.reqwest] version = "0.12.0" features = ["json"] optional = true [dependencies.rust-crypto] version = "0.2.36" optional = true [dependencies.rustc-serialize] version = "0.3.24" optional = true [dependencies.tokio] version = "1.26.0" optional = true [dependencies.uuid] version = "1.3.0" optional = true [dependencies.wd_sonyflake] version = "0.0.1" optional = true [features] b64 = [ "base64", "anyhow", ] chan = [ "tokio/time", "futures", "pin-project-lite", ] coll = [] ctx = [ "pin-project-lite", "sha1", "tokio/macros", ] default = [] fs = ["tokio/fs"] full = [ "b64", "md5", "point-free", "hex", "ptr", "snowflake", "uid", "time", "sync", "fs", "pool", "chan", "coll", "ctx", "http", "mutex", "regex_simple", "global", ] global = [] hex = ["rustc-serialize"] http = [ "anyhow", "ctx", "ptr", "reqwest", "async-trait", ] md5 = ["rust-crypto"] mutex = [] point-free = [] pool = [ "tokio/rt-multi-thread", "tokio/time", "async-trait", ] ptr = [] regex_simple = ["regex"] sha1 = ["rust-crypto"] snowflake = [ "wd_sonyflake", "lazy_static", ] sync = [ "anyhow", "lru", "tokio/sync", "tokio/time", "tokio/rt-multi-thread", "tokio/macros", "pin-project-lite", ] time = ["chrono"] uid = [ "uuid/v4", "uuid/v5", ]