docs.rs failed to build pgdog-plugin-0.1.4
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
pgdog-plugin-0.1.8
PgDog plugins
PgDog plugin system is based around shared libraries loaded at runtime. The plugins currently can only be written in Rust. This is because PgDog passes Rust-specific data types to plugin functions, and those cannot be easily made C ABI-compatible.
This crate implements the bridge between PgDog and plugins, making sure data types can be safely passed through the FFI.
Automatic checks include:
- Rust compiler version check
pg_queryversion check
This crate should be linked at compile time against your plugins.
Writing plugins
See documentation for examples. Example plugins are available in GitHub as well.
License
This library is distributed under the MIT license. See LICENSE for details.