# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "sf" version = "0.1.1" authors = ["Liu Chong "] description = "Simple snowflake like unique IDs generator.\n" homepage = "https://github.com/liuchong/sf" keywords = ["flake", "snowflake", "id", "uid", "sf"] license = "MIT OR Apache-2.0" repository = "https://github.com/liuchong/sf" [package.metadata.x] build = "cargo build --verbose --all-targets --all-features --all --release" lint = "cargo clippy --verbose --all-targets --all-features --all --release -- -D warnings" test = "cargo test --verbose --all-targets --all-features --all --release" [[example]] name = "ctx" required-features = ["readable"] [[example]] name = "id" required-features = ["readable"] [dependencies.base64] version = "0.10.1" optional = true default-features = false [dependencies.diesel] version = "1.4.1" optional = true default-features = false [dependencies.serde] version = "1.0.89" optional = true default-features = false [features] extras = ["readable", "diesel", "serde"] readable = ["base64"] serializable = ["readable", "serde"]