# 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 = "contack" version = "0.9.2" authors = ["John Toohey "] description = "A simple and easy contact library." readme = "README.md" keywords = ["contacts", "contact", "vcard"] categories = ["data-structures"] license = "MIT OR Apache-2.0" repository = "https://gitlab.com/john_t/contack" resolver = "2" [package.metadata.docs.rs] features = ["dox"] [[test]] name = "read_write" path = "tests/read_write.rs" test = true required-features = ["read_write"] [dependencies.base64] version = "0.13.0" optional = true [dependencies.chrono] version = "0.4" optional = true [dependencies.diesel] version = "1.4" features = ["chrono", "64-column-tables", "postgres"] optional = true [dependencies.diesel-derive-enum] version = "1.1.1" optional = true [dependencies.diesel_migrations] version = "1.4" optional = true [dependencies.lazy_static] version = "1.4" optional = true [dependencies.rand] version = "0.8" [dependencies.regex] version = "1" optional = true [dependencies.sqlx] version = "0.5" features = ["runtime-tokio-rustls", "postgres"] optional = true [dependencies.thiserror] version = "1" optional = true [dependencies.uuid] version = "0.8" features = ["v4"] [features] diesel_support = ["sql", "chrono", "diesel", "diesel-derive-enum", "diesel_migrations"] dox = ["sqlx_support", "read_write", "diesel_support", "sql"] read_write = ["base64", "regex", "lazy_static", "thiserror"] sql = ["chrono", "thiserror"] sqlx_support = ["sqlx", "sql"]