Merge pull request #800 from jrsmith17/master

Making Postgres Types Documentation More Explict For Feature Flags
This commit is contained in:
Steven Fackler 2021-07-11 16:08:57 -04:00 committed by GitHub
commit 9ead59e302
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,12 @@
//! # Derive //! # Derive
//! //!
//! If the `derive` cargo feature is enabled, you can derive `ToSql` and `FromSql` implementations for custom Postgres //! If the `derive` cargo feature is enabled, you can derive `ToSql` and `FromSql` implementations for custom Postgres
//! types. //! types. Explicitly, modify your `Cargo.toml` file to include the following:
//!
//! ```toml
//! [dependencies]
//! postgres-types = { version = "0.X.X", features = ["derive"] }
//! ```
//! //!
//! ## Enums //! ## Enums
//! //!