{"id":66124,"library":"diesel-derives","title":"Diesel Derives","description":"Internal procedural macros for the Diesel ORM; not intended for direct use.","status":"active","version":"2.3.7","language":"rust","source_language":null,"source_url":"https://github.com/diesel-rs/diesel","tags":["orm","diesel","macros","internal"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ndiesel_derives = \"2.3.7\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add diesel_derives","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Queryable","correct":"use diesel_derives::Queryable;"}],"quickstart":{"code":"use diesel_derives::Queryable;\n\n#[derive(Queryable)]\nstruct User {\n    id: i32,\n    name: String,\n}\n\nfn main() {\n    println!(\"Derive macro works\");\n}","lang":"rust","description":"Demonstrates using the Queryable derive macro from Diesel."},"warnings":[{"fix":"Add `diesel` to your Cargo.toml and use `diesel::Queryable`.","message":"This is an internal crate; use `diesel` instead which re-exports these macros","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"search_vec":"'deriv':2 'diesel':1,8,16 'direct':13 'intend':11 'intern':3,18 'macro':5,17 'orm':9,15 'procedur':4 'use':14","created_at":"2026-06-17T17:19:31.702970+00:00","updated_at":"2026-06-17T17:19:31.702970+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://diesel.rs","github":"https://github.com/diesel-rs/diesel","docs":"https://docs.rs/diesel_derives/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["orm"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}