{"adoption": {"forks": 161, "observed_at": "2026-08-28T04:05:23.903335+00:00", "stars": 1696}, "canonical_url": "https://ross.abutalabs.com/products/refinery", "card": {"archived": false, "artifact_type": "library", "description": "Powerful SQL migration toolkit for Rust.", "domain": ["databases", "developer-tools", "backend"], "enriched": true, "function": ["database", "orm", "cli"], "health_score": 99, "homepage": null, "language": "Rust", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["rust-db/refinery"], "name": "rust-db/refinery", "platform": ["rust", "windows", "cli"], "pushed_at": "2026-08-24T19:54:48+00:00", "repo": "rust-db/refinery", "stars": 1696, "tags": ["sql-migrations", "database-migrations", "schema-migration", "postgres", "mysql", "sqlite", "mssql", "barrel", "linux", "macos"], "topics": ["rust", "database-migrations", "database-tools", "barrel", "sql-migration"], "urls": [], "use_cases": ["run sql migrations in a rust application", "version database schema changes for postgres", "embed migrations in rust binary", "migrate sqlite database schema from rust", "run database migrations via cli", "generate schema migrations with barrel", "async database migrations with tokio-postgres"], "what_it_is": "Refinery is a SQL database migration toolkit for Rust that runs versioned migrations on database connections, either embedded in Rust code via macros or through a standalone CLI. It supports postgres, tokio-postgres, mysql, mysql_async, rusqlite, and tiberius drivers, and integrates with Barrel for programmatic schema generation.", "when_to_avoid": ["you use SQLx and prefer its built-in migration tooling", "you need migrations for non-Rust stacks or polyglot projects", "you need NoSQL or ORM-managed schema evolution"], "when_to_choose": ["you are building a Rust application that needs versioned SQL schema migrations", "you need migrations embedded in your binary or runnable from a CLI", "you use postgres, mysql, sqlite, or mssql with Rust drivers", "you want programmatic schema generation with Barrel"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/refinery", "repo": "rust-db/refinery", "role": "main", "score": 95}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:23.903335+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:37:54.763769+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "764f668478ae96eec38f4d90e6b534c6422e86c0f836507992266845a3524700", "fetched_at": "2026-08-28T04:05:23.903335+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rust-db/refinery"}, {"content_hash": "ccfa97ba76fc1b2be0ab739dc236f5f95ba0b2065be9d3ef9b748df7166e3378", "fetched_at": "2026-08-29T11:12:41.127731+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/refinery"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:23.903335+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:37:54.763769+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "764f668478ae96eec38f4d90e6b534c6422e86c0f836507992266845a3524700", "fetched_at": "2026-08-28T04:05:23.903335+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rust-db/refinery"}, {"content_hash": "ccfa97ba76fc1b2be0ab739dc236f5f95ba0b2065be9d3ef9b748df7166e3378", "fetched_at": "2026-08-29T11:12:41.127731+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/refinery"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:37:54.763769+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "764f668478ae96eec38f4d90e6b534c6422e86c0f836507992266845a3524700", "fetched_at": "2026-08-28T04:05:23.903335+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rust-db/refinery"}, {"content_hash": "ccfa97ba76fc1b2be0ab739dc236f5f95ba0b2065be9d3ef9b748df7166e3378", "fetched_at": "2026-08-29T11:12:41.127731+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/refinery"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:23.903335+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:23.903335+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:23.903335+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:37:54.763769+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "764f668478ae96eec38f4d90e6b534c6422e86c0f836507992266845a3524700", "fetched_at": "2026-08-28T04:05:23.903335+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rust-db/refinery"}, {"content_hash": "ccfa97ba76fc1b2be0ab739dc236f5f95ba0b2065be9d3ef9b748df7166e3378", "fetched_at": "2026-08-29T11:12:41.127731+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/refinery"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:23.903335+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:23.903335+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:37:54.763769+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "764f668478ae96eec38f4d90e6b534c6422e86c0f836507992266845a3524700", "fetched_at": "2026-08-28T04:05:23.903335+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rust-db/refinery"}, {"content_hash": "ccfa97ba76fc1b2be0ab739dc236f5f95ba0b2065be9d3ef9b748df7166e3378", "fetched_at": "2026-08-29T11:12:41.127731+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/refinery"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:23.903335+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:23.903335+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:23.903335+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:37:54.763769+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "764f668478ae96eec38f4d90e6b534c6422e86c0f836507992266845a3524700", "fetched_at": "2026-08-28T04:05:23.903335+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rust-db/refinery"}, {"content_hash": "ccfa97ba76fc1b2be0ab739dc236f5f95ba0b2065be9d3ef9b748df7166e3378", "fetched_at": "2026-08-29T11:12:41.127731+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/refinery"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:23.903335+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:23.903335+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:37:54.763769+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "764f668478ae96eec38f4d90e6b534c6422e86c0f836507992266845a3524700", "fetched_at": "2026-08-28T04:05:23.903335+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rust-db/refinery"}, {"content_hash": "ccfa97ba76fc1b2be0ab739dc236f5f95ba0b2065be9d3ef9b748df7166e3378", "fetched_at": "2026-08-29T11:12:41.127731+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/refinery"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:37:54.763769+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "764f668478ae96eec38f4d90e6b534c6422e86c0f836507992266845a3524700", "fetched_at": "2026-08-28T04:05:23.903335+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rust-db/refinery"}, {"content_hash": "ccfa97ba76fc1b2be0ab739dc236f5f95ba0b2065be9d3ef9b748df7166e3378", "fetched_at": "2026-08-29T11:12:41.127731+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/refinery"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:37:54.763769+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "764f668478ae96eec38f4d90e6b534c6422e86c0f836507992266845a3524700", "fetched_at": "2026-08-28T04:05:23.903335+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rust-db/refinery"}, {"content_hash": "ccfa97ba76fc1b2be0ab739dc236f5f95ba0b2065be9d3ef9b748df7166e3378", "fetched_at": "2026-08-29T11:12:41.127731+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/refinery"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:37:54.763769+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "764f668478ae96eec38f4d90e6b534c6422e86c0f836507992266845a3524700", "fetched_at": "2026-08-28T04:05:23.903335+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rust-db/refinery"}, {"content_hash": "ccfa97ba76fc1b2be0ab739dc236f5f95ba0b2065be9d3ef9b748df7166e3378", "fetched_at": "2026-08-29T11:12:41.127731+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/refinery"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 87}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3157, "days_push": 9, "days_rel": 84, "gap_med": 28.5, "n_releases_24m": 3}, "score": 95, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}