# 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 = "blog-db" version = "0.2.0" authors = ["AlterionX "] description = "A set of migration scripts and structs for interacting with the database of a blog." license = "MIT" repository = "https://github.com/AlterionX/benxu-dev" [dependencies.chrono] version = "0.4.9" features = ["serde"] [dependencies.diesel] version = "1.4.3" features = ["postgres", "chrono", "uuidv07"] optional = true [dependencies.log] version = "0.4.8" features = ["std", "serde"] optional = true [dependencies.rocket] version = "0.4.2" optional = true [dependencies.rocket_contrib] version = "0.4.2" features = ["diesel_postgres_pool"] optional = true default-features = false [dependencies.serde] version = "1.0.102" features = ["derive"] [dependencies.uuid] version = "0.7.4" features = ["serde"] [features] client = [] server = ["diesel", "rocket", "rocket_contrib", "uuid/v4", "log"]