# 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 = "pg-extras" version = "0.7.2" authors = ["Pawel Urbanek "] build = false exclude = [ "docker-compose.yml.sample", "live_tests.sh", ] autobins = false autoexamples = false autotests = false autobenches = false description = "PostgreSQL performance database insights" readme = "README.md" categories = ["database"] license = "MIT" repository = "https://github.com/pawurb/pg-extras-rs" [profile.release] lto = true [lib] name = "pg_extras" path = "src/lib.rs" [[bin]] name = "pgextras" path = "bin/main.rs" [[example]] name = "db_settings" path = "examples/db_settings.rs" [dependencies.askama] version = "0.12.1" features = ["with-axum"] optional = true [dependencies.askama_axum] version = "0.4.0" optional = true [dependencies.axum] version = "0.7" optional = true [dependencies.clap] version = "4.5.20" features = ["derive"] [dependencies.eyre] version = "0.6.12" [dependencies.lazy_static] version = "1.5.0" [dependencies.prettytable-rs] version = "0.10.0" [dependencies.reqwest] version = "0.12.9" [dependencies.semver] version = "1.0.23" [dependencies.serde] version = "1.0.215" [dependencies.serde_json] version = "1.0.133" [dependencies.sqlx] version = "0.8" features = [ "runtime-tokio-rustls", "postgres", "macros", "bigdecimal", ] [dependencies.textwrap] version = "0.16.1" features = ["terminal_size"] [dependencies.tokio] version = "1.40" features = ["full"] [dependencies.tower-http] version = "0.6.2" features = [ "fs", "trace", ] optional = true [dependencies.tracing] version = "0.1.40" [dependencies.tracing-subscriber] version = "0.3.18" [dependencies.unicode-width] version = "0.2.0" [features] web = [ "dep:axum", "dep:askama", "dep:askama_axum", "dep:tower-http", ]