# 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 = "fastsend" version = "1.2.3" authors = ["Hei "] description = "快速生成适用于分布式环境的 ID 和序列号" homepage = "https://github.com/Boyux/fastsend" documentation = "https://docs.rs/fastsend" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/Boyux/fastsend" resolver = "2" [dependencies.chrono] version = "0.4.19" [dependencies.crossbeam] version = "0.8.1" [dependencies.futures] version = "0.3.19" [dependencies.futures-locks] version = "0.7.0" [dependencies.itertools] version = "0.10.3" optional = true [dependencies.lazy_static] version = "1.4.0" [dependencies.md5] version = "0.7.0" optional = true [dependencies.rand] version = "0.8.4" [dependencies.rand_chacha] version = "0.3.1" optional = true [dependencies.sha-1] version = "0.10.0" optional = true [dependencies.thiserror] version = "1.0.30" optional = true [dev-dependencies.tokio] version = "1.15.0" features = ["full"] [features] auto_increment = [] default = ["pause_on_start"] pause_on_start = [] random62 = ["rand_chacha"] ticket = ["thiserror"] uuid = ["itertools", "md5", "sha-1", "rand_chacha"]