An open API service for producing an overview of a list of open source projects.

https://github.com/diesel-rs/diesel

mysql orm postgresql query-builder rust sqlite

Score: 34.94114229266447

Last synced: about 13 hours ago
JSON representation

Repository metadata:

A safe, extensible ORM and Query Builder for Rust


Owner metadata:


GitHub Events

Total
Last Year

Committers metadata

Last synced: 2 days ago

Total Commits: 5,514
Total Committers: 450
Avg Commits per committer: 12.253
Development Distribution Score (DDS): 0.745

Commits in past year: 511
Committers in past year: 62
Avg Commits per committer in past year: 8.242
Development Distribution Score (DDS) in past year: 0.669

Name Email Commits
Sean Griffin s****n@s****m 1404
Georg Semmler g****b@w****e 1360
Thomas BESSOU t****u@h****r 220
Pascal Hertleif k****p@g****m 83
Bastien Orivel e****g@b****r 82
Guilherme S. Salustiano g****o@g****m 81
Luca c****4@g****m 70
Takayuki Maeda t****6@g****m 69
Marvin Hansen m****n@g****m 69
Spxg u****e@o****s 49
Hirokazu Hata h****t@g****m 46
Yuki Okushi h****v@g****m 37
hi-rustin r****u@g****m 32
André a****a@h****m 32
Matt Casper m****r@g****m 31
Samuel Batissou s****u@t****o 29
mertwole m****e@g****m 29
κeen 3****7@g****m 29
Ali Tariq a****q@A****l 28
Iban Eguia (Razican) r****n@p****h 28
retro t****t@t****m 27
Emile Fugulin c****e@e****m 26
Steven Chu s****1@g****m 25
theredfish d****n@g****m 25
Jean-Marc Le Roux c****t@j****o 24
Peter Goodspeed-Niklaus p****s@g****m 22
Ivan Tham p****e@r****t 22
Geoffroy Jaffa Planquart g****y@p****r 22
Omid Rad o****r@g****m 22
Matthew Kuo m****o@d****m 20
and 420 more...

Issue and Pull Request metadata

Last synced: 19 days ago

Total issues: 329
Total pull requests: 935
Average time to close issues: 5 months
Average time to close pull requests: about 1 month
Total issue authors: 257
Total pull request authors: 190
Average comments per issue: 4.98
Average comments per pull request: 1.48
Merged pull request: 716
Bot issues: 16
Bot pull requests: 3

Past year issues: 53
Past year pull requests: 270
Past year average time to close issues: 5 days
Past year average time to close pull requests: 5 days
Past year issue authors: 45
Past year pull request authors: 55
Past year average comments per issue: 1.79
Past year average comments per pull request: 1.06
Past year merged pull request: 176
Past year bot issues: 0
Past year bot pull requests: 3

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/diesel-rs/diesel

Top Issue Authors

  • github-actions[bot] (16)
  • weiznich (16)
  • sgrif (6)
  • Ten0 (6)
  • Ploppz (4)
  • Elrendio (4)
  • killercup (4)
  • SamuelMarks (4)
  • sgoll (3)
  • Sagebati (2)
  • dessalines (2)
  • inklesspen (2)
  • sylbeth (2)
  • Boscop (2)
  • df51d (2)

Top Pull Request Authors

  • weiznich (313)
  • Ten0 (48)
  • guissalustiano (35)
  • valkrypton (18)
  • LucaCappelletti94 (15)
  • Spxg (15)
  • c410-f3r (13)
  • mertwole (13)
  • stormshield-kg (12)
  • Aethelflaed (12)
  • aznszn (10)
  • oeed (9)
  • wowinter13 (9)
  • zaira-bibi (9)
  • achanda (8)

Top Issue Labels

  • bug (209)
  • help wanted (43)
  • enhancement (22)
  • cli (20)
  • good first issue (18)
  • postgres (17)
  • mentoring available (16)
  • mysql (12)
  • documentation (12)
  • hole in api (11)
  • sqlite (7)
  • Release Blocker (6)
  • accepted (6)
  • tests (5)
  • missing reproduction steps (4)
  • discussion desired (4)
  • waiting on author (3)
  • internal or unreleased api (2)
  • needs milestone (1)
  • has open pr (1)
  • breaking change (1)
  • Diesel 3.0 (1)

Top Pull Request Labels

  • maybe backport (78)
  • run-benchmarks (10)
  • waiting on author (3)
  • dependencies (3)
  • rust (3)
  • documentation (2)
  • accepted (2)
  • enhancement (1)
  • Diesel 3.0 (1)

Package metadata

crates.io: diesel

A safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL

crates.io: diesel_migrations

Migration management for diesel

  • Homepage: https://diesel.rs
  • Documentation: https://docs.rs/diesel_migrations/
  • Licenses: MIT OR Apache-2.0
  • Latest release: 2.3.1 (published 2 months ago)
  • Last Synced: 2026-02-04T06:51:25.390Z (2 days ago)
  • Versions: 17
  • Dependent Packages: 127
  • Dependent Repositories: 1,255
  • Downloads: 13,902,712 Total
  • Docker Downloads: 23,622,377
  • Rankings:
    • Dependent packages count: 0.506%
    • Downloads: 0.932%
    • Average: 0.961%
    • Dependent repos count: 1.139%
    • Docker downloads count: 1.266%
  • Maintainers (1)
crates.io: diesel_derives

You should not use this crate directly, it is internal to Diesel.

  • Homepage: https://diesel.rs
  • Documentation: https://docs.rs/diesel_derives/
  • Licenses: MIT OR Apache-2.0
  • Latest release: 2.3.7 (published 14 days ago)
  • Last Synced: 2026-01-28T14:47:39.622Z (9 days ago)
  • Versions: 35
  • Dependent Packages: 12
  • Dependent Repositories: 3,339
  • Downloads: 21,586,694 Total
  • Docker Downloads: 23,622,833
  • Rankings:
    • Dependent repos count: 0.673%
    • Downloads: 0.716%
    • Stargazers count: 0.871%
    • Forks count: 1.147%
    • Docker downloads count: 1.262%
    • Average: 1.394%
    • Dependent packages count: 3.695%
  • Maintainers (1)
crates.io: diesel_codegen

Custom derive and procedural macros for Diesel

  • Homepage: http://diesel.rs
  • Documentation: https://docs.rs/diesel_codegen/
  • Licenses: MIT OR Apache-2.0
  • Latest release: 0.16.1 (published over 7 years ago)
  • Last Synced: 2026-01-18T21:58:15.212Z (18 days ago)
  • Versions: 27
  • Dependent Packages: 10
  • Dependent Repositories: 55
  • Downloads: 273,297 Total
  • Rankings:
    • Stargazers count: 0.861%
    • Forks count: 1.147%
    • Average: 2.832%
    • Dependent packages count: 3.023%
    • Dependent repos count: 4.137%
    • Downloads: 4.993%
  • Maintainers (2)
crates.io: migrations_internals

Internal implementation of diesels migration mechanism

  • Homepage: https://diesel.rs
  • Documentation: https://docs.rs/migrations_internals/
  • Licenses: MIT OR Apache-2.0
  • Latest release: 2.3.0 (published 5 months ago)
  • Last Synced: 2026-01-18T21:58:16.669Z (18 days ago)
  • Versions: 18
  • Dependent Packages: 3
  • Dependent Repositories: 1,285
  • Downloads: 14,100,382 Total
  • Docker Downloads: 23,622,377
  • Rankings:
    • Downloads: 0.879%
    • Dependent repos count: 1.164%
    • Docker downloads count: 1.336%
    • Average: 3.135%
    • Dependent packages count: 9.16%
  • Maintainers (1)
crates.io: diesel_infer_schema

Provides functionality to infer the schema of a database. Deprecated.

  • Homepage: https://diesel.rs
  • Documentation: https://docs.rs/diesel_infer_schema/
  • Licenses: MIT OR Apache-2.0
  • Latest release: 1.4.0 (published about 7 years ago)
  • Last Synced: 2026-01-18T21:58:01.528Z (18 days ago)
  • Versions: 18
  • Dependent Packages: 3
  • Dependent Repositories: 39
  • Downloads: 253,902 Total
  • Rankings:
    • Stargazers count: 0.861%
    • Forks count: 1.147%
    • Average: 3.912%
    • Dependent repos count: 4.735%
    • Downloads: 4.88%
    • Dependent packages count: 7.935%
  • Maintainers (2)
crates.io: migrations_macros

Codegeneration macros for diesels embedded migrations

  • Homepage: https://diesel.rs
  • Documentation: https://docs.rs/migrations_macros/
  • Licenses: MIT OR Apache-2.0
  • Latest release: 2.3.0 (published 5 months ago)
  • Last Synced: 2026-01-18T21:58:06.901Z (18 days ago)
  • Versions: 18
  • Dependent Packages: 1
  • Dependent Repositories: 1,234
  • Downloads: 13,669,294 Total
  • Docker Downloads: 23,622,377
  • Rankings:
    • Downloads: 0.898%
    • Dependent repos count: 1.19%
    • Docker downloads count: 1.353%
    • Average: 5.399%
    • Dependent packages count: 18.156%
  • Maintainers (1)
crates.io: diesel_cli

Provides the CLI for the Diesel crate

  • Homepage: https://diesel.rs
  • Documentation: https://docs.rs/diesel_cli/
  • Licenses: MIT OR Apache-2.0
  • Latest release: 2.3.6 (published 14 days ago)
  • Last Synced: 2026-01-28T14:47:43.777Z (9 days ago)
  • Versions: 57
  • Dependent Packages: 1
  • Dependent Repositories: 11
  • Downloads: 2,001,447 Total
  • Docker Downloads: 568
  • Rankings:
    • Stargazers count: 0.861%
    • Forks count: 1.147%
    • Downloads: 2.357%
    • Docker downloads count: 4.554%
    • Average: 5.408%
    • Dependent repos count: 7.862%
    • Dependent packages count: 15.669%
  • Maintainers (2)
crates.io: infer_schema_internals

Previously internal to `diesel_infer_schema`. Not intended for public use

  • Homepage: http://diesel.rs
  • Documentation: https://docs.rs/infer_schema_internals/
  • Licenses: MIT OR Apache-2.0
  • Latest release: 1.4.0 (published about 7 years ago)
  • Last Synced: 2026-01-18T21:57:57.694Z (18 days ago)
  • Versions: 10
  • Dependent Packages: 2
  • Dependent Repositories: 4
  • Downloads: 121,320 Total
  • Rankings:
    • Stargazers count: 0.861%
    • Forks count: 1.147%
    • Average: 5.872%
    • Downloads: 5.896%
    • Dependent packages count: 10.58%
    • Dependent repos count: 10.877%
  • Maintainers (1)
crates.io: diesel_codegen_shared

Shared code between `diesel_codegen` and `diesel_codegen_syntex`

  • Homepage: http://diesel.rs
  • Documentation: https://docs.rs/diesel_codegen_shared/
  • Licenses: MIT OR Apache-2.0
  • Latest release: 0.10.0 (published about 9 years ago)
  • Last Synced: 2026-01-18T21:57:59.797Z (18 days ago)
  • Versions: 3
  • Dependent Packages: 2
  • Dependent Repositories: 8
  • Downloads: 34,528 Total
  • Rankings:
    • Stargazers count: 0.861%
    • Forks count: 1.147%
    • Average: 6.39%
    • Dependent repos count: 8.71%
    • Dependent packages count: 10.58%
    • Downloads: 10.651%
  • Maintainers (1)
crates.io: diesel_table_macro_syntax

Internal diesel crate

  • Homepage: https://diesel.rs
  • Documentation: https://docs.rs/diesel_table_macro_syntax/
  • Licenses: MIT OR Apache-2.0
  • Latest release: 0.3.0 (published 5 months ago)
  • Last Synced: 2026-01-18T21:58:13.973Z (18 days ago)
  • Versions: 3
  • Dependent Packages: 2
  • Dependent Repositories: 440
  • Downloads: 11,619,263 Total
  • Docker Downloads: 18,697,052
  • Rankings:
    • Stargazers count: 0.861%
    • Forks count: 1.147%
    • Dependent repos count: 1.858%
    • Downloads: 2.994%
    • Docker downloads count: 5.809%
    • Average: 7.311%
    • Dependent packages count: 31.198%
  • Maintainers (1)
proxy.golang.org: github.com/diesel-rs/diesel

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/diesel-rs/diesel#section-documentation
  • Licenses: apache-2.0
  • Latest release: v2.2.5+incompatible (published about 1 year ago)
  • Last Synced: 2024-11-22T18:19:20.518Z (about 1 year ago)
  • Versions: 82
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent packages count: 6.999%
    • Average: 8.173%
    • Dependent repos count: 9.346%
crates.io: diesel-dynamic-schema

A safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL

  • Homepage: https://diesel.rs
  • Documentation: https://docs.rs/diesel-dynamic-schema/
  • Licenses: MIT OR Apache-2.0
  • Latest release: 0.2.4 (published 5 months ago)
  • Last Synced: 2026-01-18T21:58:05.158Z (18 days ago)
  • Versions: 7
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 119,443 Total
  • Docker Downloads: 7,881
  • Rankings:
    • Stargazers count: 0.861%
    • Forks count: 1.147%
    • Docker downloads count: 1.843%
    • Average: 8.638%
    • Downloads: 15.181%
    • Dependent packages count: 15.669%
    • Dependent repos count: 17.13%
  • Maintainers (1)
crates.io: diesel_codegen_syntex

Allows use of `diesel_codegen` with `syntex`

  • Homepage: http://diesel.rs
  • Documentation: https://docs.rs/diesel_codegen_syntex/
  • Licenses: MIT OR Apache-2.0
  • Latest release: 0.9.0 (published about 9 years ago)
  • Last Synced: 2026-01-18T21:58:22.371Z (18 days ago)
  • Versions: 5
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 24,542 Total
  • Rankings:
    • Stargazers count: 0.861%
    • Forks count: 1.147%
    • Average: 9.496%
    • Downloads: 12.674%
    • Dependent packages count: 15.669%
    • Dependent repos count: 17.13%
  • Maintainers (2)
crates.io: juspay_diesel

A safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL

  • Homepage: https://diesel.rs
  • Documentation: https://docs.rs/juspay_diesel/
  • Licenses: MIT OR Apache-2.0
  • Latest release: 2.2.4 (published 6 months ago)
  • Last Synced: 2026-01-18T21:58:06.138Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 2,809 Total
  • Rankings:
    • Dependent repos count: 20.662%
    • Dependent packages count: 27.355%
    • Average: 47.553%
    • Downloads: 94.641%
  • Maintainers (1)
nixpkgs-23.05: diesel-cli

Database tool for working with Rust projects that use Diesel

nixpkgs-23.11: diesel-cli

Database tool for working with Rust projects that use Diesel

nixpkgs-24.05: diesel-cli

Database tool for working with Rust projects that use Diesel


Dependencies

diesel/Cargo.toml cargo
  • bigdecimal >=0.0.13, < 0.4.0
  • bitflags 1.2.0
  • byteorder 1.0
  • chrono 0.4.19
  • diesel_derives ~2.0.0-rc.0
  • ipnet 2.5.0
  • ipnetwork >=0.12.2, <0.20.0
  • itoa 1.0.0
  • libc 0.2.0
  • libsqlite3-sys >=0.17.2, <0.25.0
  • mysqlclient-sys 0.2.5
  • num-bigint >=0.2.0, <0.5.0
  • num-integer 0.1.39
  • num-traits 0.2.0
  • percent-encoding 2.1.0
  • pq-sys 0.4.0
  • quickcheck 1.0.3
  • r2d2 >= 0.8.2, < 0.9.0
  • serde_json >=0.8.0, <2.0
  • url 2.1.0
  • uuid >=0.7.0, <2.0.0
diesel_bench/Cargo.toml cargo
  • criterion 0.3.2
  • criterion-perf-events 0.2
  • dotenvy 0.15
  • futures 0.3
  • perfcnt 0.8
  • quaint =0.2.0-alpha.13
  • rusqlite 0.27
  • rust_mysql 22.1
  • rust_postgres 0.19
  • rustorm 0.20
  • rustorm_dao 0.20
  • sea-orm 0.7
  • serde 1
  • sqlx 0.5.13
  • tokio 1
diesel_cli/Cargo.toml cargo
  • chrono 0.4.19
  • clap 3.2.1
  • clap_complete 3.2
  • diesel ~2.0.0-rc.0
  • diesel_migrations ~2.0.0-rc.0
  • diffy 0.2.0
  • dotenvy 0.15
  • heck 0.4.0
  • libsqlite3-sys >=0.17.2, <0.25.0
  • regex 1.0.6
  • serde 1.0.0
  • serde_regex 1.1
  • toml 0.5
  • url 2.1.0
diesel_compile_tests/Cargo.lock cargo
  • autocfg 1.0.1
  • bigdecimal 0.3.0
  • bitflags 1.3.2
  • byteorder 1.4.3
  • cfg-if 1.0.0
  • chrono 0.4.19
  • form_urlencoded 1.0.1
  • glob 0.3.0
  • idna 0.2.3
  • instant 0.1.12
  • ipnetwork 0.18.0
  • itoa 0.4.8
  • itoa 1.0.1
  • lazy_static 1.4.0
  • libc 0.2.107
  • libsqlite3-sys 0.23.1
  • lock_api 0.4.5
  • log 0.4.14
  • matches 0.1.9
  • mysqlclient-sys 0.2.5
  • num-bigint 0.4.3
  • num-integer 0.1.44
  • num-traits 0.2.14
  • parking_lot 0.11.2
  • parking_lot_core 0.8.5
  • percent-encoding 2.1.0
  • pkg-config 0.3.22
  • pq-sys 0.4.6
  • proc-macro-error 1.0.4
  • proc-macro-error-attr 1.0.4
  • proc-macro2 1.0.32
  • quote 1.0.10
  • r2d2 0.8.9
  • redox_syscall 0.2.10
  • ryu 1.0.5
  • scheduled-thread-pool 0.2.5
  • scopeguard 1.1.0
  • serde 1.0.130
  • serde_derive 1.0.130
  • serde_json 1.0.60
  • smallvec 1.7.0
  • syn 1.0.81
  • termcolor 1.1.2
  • tinyvec 1.5.1
  • tinyvec_macros 0.1.0
  • toml 0.5.8
  • trybuild 1.0.52
  • unicode-bidi 0.3.7
  • unicode-normalization 0.1.19
  • unicode-xid 0.2.2
  • url 2.2.2
  • uuid 0.8.2
  • vcpkg 0.2.15
  • version_check 0.9.3
  • winapi 0.3.9
  • winapi-i686-pc-windows-gnu 0.4.0
  • winapi-util 0.1.5
  • winapi-x86_64-pc-windows-gnu 0.4.0
diesel_compile_tests/Cargo.toml cargo
  • diesel 2.0.0-rc.0
  • trybuild 1.0.41
diesel_derives/Cargo.toml cargo
  • proc-macro-error 1.0.4
  • proc-macro2 1.0.27
  • quote 1.0.9
  • syn 1.0.73
diesel_dynamic_schema/Cargo.toml cargo
  • diesel ~2.0.0-rc.0
diesel_migrations/Cargo.toml cargo
  • diesel ~2.0.0-rc.0
  • migrations_internals ~2.0.0-rc.0
  • migrations_macros ~2.0.0-rc.0
diesel_migrations/migrations_internals/Cargo.toml cargo
  • serde 1
  • toml 0.5
diesel_migrations/migrations_macros/Cargo.toml cargo
  • migrations_internals ~2.0.0-rc.0
  • proc-macro2 1
  • quote 1
diesel_tests/Cargo.toml cargo
  • assert_matches 1.0.1
  • bigdecimal >= 0.0.13, < 0.4.0
  • chrono 0.4.19
  • dotenvy 0.15
  • ipnet 2.5.0
  • ipnetwork >=0.12.2, <0.20.0
  • libsqlite3-sys 0.24
  • quickcheck 1.0.3
  • rand 0.8.4
  • serde_json >=0.9, <2.0
  • uuid 1.0.0
examples/mysql/all_about_inserts/Cargo.toml cargo
  • chrono 0.4.19
  • diesel 2.0.0-rc.0
  • serde 1.0.130
  • serde_json 1.0.68
examples/mysql/getting_started_step_1/Cargo.toml cargo
  • diesel 2.0.0-rc.0
  • dotenvy 0.15
examples/mysql/getting_started_step_2/Cargo.toml cargo
  • diesel 2.0.0-rc.0
  • dotenvy 0.15
examples/mysql/getting_started_step_3/Cargo.toml cargo
  • diesel 2.0.0-rc.0
  • dotenvy 0.15
examples/postgres/advanced-blog-cli/Cargo.toml cargo
  • bcrypt 0.10.1
  • chrono 0.4.19
  • diesel 2.0.0-rc.0
  • dotenvy 0.15
  • structopt 0.3
  • tempfile 3.1.0
examples/postgres/all_about_inserts/Cargo.toml cargo
  • diesel 2.0.0-rc.0
  • serde 1.0.130
  • serde_json 1.0.68
examples/postgres/all_about_updates/Cargo.toml cargo
  • diesel 2.0.0-rc.0
examples/postgres/custom_types/Cargo.toml cargo
  • diesel 2.0.0-rc.0
examples/postgres/getting_started_step_1/Cargo.toml cargo
  • diesel 2.0.0-rc.0
  • dotenvy 0.15
examples/postgres/getting_started_step_2/Cargo.toml cargo
  • diesel 2.0.0-rc.0
  • dotenvy 0.15
examples/postgres/getting_started_step_3/Cargo.toml cargo
  • diesel 2.0.0-rc.0
  • dotenvy 0.15
examples/sqlite/all_about_inserts/Cargo.toml cargo
  • chrono 0.4.19
  • diesel 2.0.0-rc.0
  • serde 1.0.130
  • serde_json 1.0.68
examples/sqlite/getting_started_step_1/Cargo.toml cargo
  • diesel 2.0.0-rc.0
  • dotenvy 0.15
examples/sqlite/getting_started_step_2/Cargo.toml cargo
  • diesel 2.0.0-rc.0
  • dotenvy 0.15
examples/sqlite/getting_started_step_3/Cargo.toml cargo
  • diesel 2.0.0-rc.0
  • dotenvy 0.15
.github/workflows/audit.yml actions
  • actions-rs/audit-check v1 composite
  • actions/checkout v3 composite
.github/workflows/benches.yml actions
  • actions/checkout v3 composite
  • dtolnay/rust-toolchain stable composite
.github/workflows/ci.yml actions
  • actions/cache v2 composite
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • dtolnay/rust-toolchain stable composite
  • dtolnay/rust-toolchain master composite
  • dtolnay/rust-toolchain nightly composite
  • dtolnay/rust-toolchain 1.66.0 composite
  • taiki-e/install-action cargo-hack composite
  • taiki-e/install-action cargo-minimal-versions composite
.github/workflows/doc.yml actions
  • JamesIves/github-pages-deploy-action v4.2.5 composite
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • dtolnay/rust-toolchain nightly composite
.github/workflows/metrics.yml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • dtolnay/rust-toolchain stable composite
Cargo.toml cargo
diesel_table_macro_syntax/Cargo.toml cargo
dsl_auto_type/Cargo.toml cargo
  • darling 0.20
  • either 1
  • heck 0.4
  • proc-macro2 1
  • quote 1
  • syn 2
examples/postgres/relations/Cargo.toml cargo
docker-compose.yml docker
  • mysql latest
  • postgres latest