# 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" rust-version = "1.60" name = "elephantry" version = "4.0.1" authors = ["Sanpi "] description = "Object model manager for PostgreSQL" homepage = "https://elephantry.github.io" readme = "README.md" keywords = [ "database", "postgresql", ] categories = ["database"] license = "MIT" repository = "https://github.com/elephantry/elephantry" resolver = "1" [package.metadata.docs.rs] all-features = true cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples", ] rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "00-config" doc-scrape-examples = true required-features = ["config"] [[example]] name = "02-query" doc-scrape-examples = true required-features = [ "date", "numeric", ] [[example]] name = "03-read" doc-scrape-examples = true required-features = [ "date", "numeric", ] [[example]] name = "04-write" doc-scrape-examples = true required-features = [ "date", "numeric", ] [[example]] name = "05-extra" doc-scrape-examples = true required-features = [ "date", "numeric", ] [[example]] name = "06-complex" doc-scrape-examples = true required-features = [ "date", "numeric", ] [[example]] name = "07-relations" doc-scrape-examples = true required-features = [ "date", "numeric", ] [[example]] name = "08-composite" doc-scrape-examples = true required-features = [ "date", "numeric", ] [[example]] name = "09-async" doc-scrape-examples = true required-features = [ "date", "numeric", ] [[example]] name = "10-transaction" doc-scrape-examples = true required-features = [ "date", "numeric", ] [[example]] name = "11-notification" doc-scrape-examples = true [[example]] name = "12-copy" doc-scrape-examples = true required-features = [ "date", "numeric", ] [dependencies.arbitrary] version = "1.0" features = ["derive"] optional = true [dependencies.bigdecimal] version = "0.4" optional = true [dependencies.bit-vec] version = "0.6" optional = true [dependencies.bitflags] version = "2.0" [dependencies.byteorder] version = "1.3" [dependencies.bytes] version = "1.0" [dependencies.chrono] version = "0.4.23" features = [ "clock", "std", ] optional = true default-features = false [dependencies.config] version = "0.14" optional = true [dependencies.elephantry-derive] version = "4.0" [dependencies.geo-types] version = "0.7.8" optional = true [dependencies.ipnetwork] version = "0.20" optional = true [dependencies.lazy_static] version = "1.4" [dependencies.libpq] version = "4.0" [dependencies.log] version = "0.4" [dependencies.macaddr] version = "1.0.0" optional = true [dependencies.num] version = "0.4" optional = true [dependencies.postgres_money] version = "0.3" optional = true [dependencies.r2d2] version = "0.8" optional = true [dependencies.regex] version = "1.3" [dependencies.rocket_sync_db_pools] version = "0.1" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.thiserror] version = "1.0" [dependencies.time] version = "0.3" features = [ "macros", "parsing", ] optional = true [dependencies.tuple_len] version = "2.0" [dependencies.uuid] version = "1.0" optional = true [dependencies.xmltree] version = "0.10" optional = true [dev-dependencies.async-std] version = "1.6" features = ["attributes"] [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.uuid] version = "1.0" [features] all-types = [ "bit", "date", "geo", "json", "ltree", "money", "net", "numeric", "time", "uuid", "xml", ] bit = [ "bit-vec", "elephantry-derive/bit", ] config = [ "dep:config", "serde", ] date = [ "chrono", "elephantry-derive/date", ] default = [] geo = [ "geo-types", "elephantry-derive/geo", ] inspect = [] json = [ "serde_json", "elephantry-derive/json", ] ltree = ["elephantry-derive/ltree"] money = [ "postgres_money", "elephantry-derive/money", ] multirange = ["libpq/v14"] net = [ "ipnetwork", "macaddr", "elephantry-derive/net", ] numeric = [ "bigdecimal", "num", "elephantry-derive/numeric", ] pg14 = [ "libpq/v14", "multirange", ] rocket = [ "r2d2", "rocket_sync_db_pools", ] serde = [ "dep:serde", "time/serde", ] time = [ "dep:time", "elephantry-derive/time", ] uuid = [ "dep:uuid", "elephantry-derive/uuid", ] xml = [ "xmltree", "elephantry-derive/xml", ]