# 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" rust-version = "1.56.1" name = "snowdon" version = "0.2.0" authors = ["Archer "] exclude = [ "/spin", "/.rustfmt-nightly.toml", ] description = "A lightweight thread-safe snowflake ID implementation for Rust" readme = "README.md" keywords = [ "snowflake", "id", "lock-free", "lightweight", ] categories = [ "concurrency", "web-programming", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/archer-321/snowdon" [package.metadata.docs.rs] features = ["serde"] rustdoc-args = [ "--cfg", "docsrs", ] [[test]] name = "loom_generator" test = false [[bench]] name = "simple_snowflake" harness = false required-features = [ "blocking", "lock-free", ] [dependencies.serde] version = "^1.0" features = ["derive"] optional = true [dev-dependencies.criterion] version = "^0.5" [dev-dependencies.lazy_static] version = "^1.4" [dev-dependencies.parking_lot] version = "^0.12" [features] blocking = [] default = ["lock-free"] lock-free = [] [target."cfg(loom)".dependencies.loom] version = "^0.5"