Registry / orm / diesel-derives

diesel-derives

JSON →
library2.3.7rscratesunverified

Internal procedural macros for the Diesel ORM; not intended for direct use.

# Cargo.toml [dependencies] diesel_derives = "2.3.7"
INSTALL
IMPORT
SIG · DIESEL-DERIVES
D
diesel-derives
ormrustv2.3.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Queryable
use diesel_derives::Queryable;

Demonstrates using the Queryable derive macro from Diesel.

use diesel_derives::Queryable; #[derive(Queryable)] struct User { id: i32, name: String, } fn main() { println!("Derive macro works"); }
Debug
Known issues
gotchaThis is an internal crate; use `diesel` instead which re-exports these macros
fix
Add `diesel` to your Cargo.toml and use `diesel::Queryable`.
affects: >=0.0.0
Upgrade
Version history
2.3.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
46 hits · last 30 days
node
38
OpenAI (training)
1
Resources
diesel-derives — cargo add diesel-derives · libregistry