# 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 = "pastemd" version = "0.6.0" authors = ["hkau"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Pluggable pastebin backend" documentation = "https://docs.rs/pastemd" readme = "README.md" categories = [ "web-programming", "database", ] license = "MIT" repository = "https://github.com/hkauso/pastemd" [package.metadata.docs.rs] features = ["sqlite"] no-default-features = true [lib] name = "pastemd" path = "src/lib.rs" [dependencies.axum] version = "0.7.5" [dependencies.axum-extra] version = "0.9.3" features = ["cookie"] [dependencies.axum-macros] version = "0.4.1" [dependencies.dorsal] version = "0.1.5" default-features = false [dependencies.dotenv] version = "0.15.0" [dependencies.idna] version = "1.0.0" [dependencies.regex] version = "1.10.5" [dependencies.serde] version = "1.0.203" features = ["derive"] [dependencies.serde_json] version = "1.0.117" [dependencies.starstraw] version = "0.1.0" default-features = false [dependencies.tokio] version = "1.38.0" features = [ "macros", "rt-multi-thread", ] [features] mysql = [ "dorsal/mysql", "starstraw/mysql", ] postgres = [ "dorsal/postgres", "starstraw/postgres", ] sqlite = [ "dorsal/sqlite", "starstraw/sqlite", ]