Made requirement of setting feature flags to access derive macros more explicit in the documentation.
This commit is contained in:
parent
3eb5a4dab9
commit
3b7b8000ce
@ -6,7 +6,12 @@
|
||||
//! # Derive
|
||||
//!
|
||||
//! 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
|
||||
//!
|
||||
|
Loading…
Reference in New Issue
Block a user