{"id":59760,"library":"rbatis","title":"rbatis","description":"The Rust SQL Toolkit and ORM Library. An async, pure Rust SQL crate featuring compile-time Dynamic SQL.","status":"active","version":"4.9.6","language":"rust","source_language":null,"source_url":"https://github.com/rbatis/rbatis","tags":["orm","sql","async","database","dynamic-sql"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nrbatis = \"4.9.6\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add rbatis","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"RBatis","correct":"use rbatis::RBatis;"}],"quickstart":{"code":"use rbatis::RBatis;\n\n#[tokio::main]\nasync fn main() {\n    let rb = RBatis::new();\n    rb.init(\"mysql://root:password@localhost/test\", None).unwrap();\n    println!(\"Connected!\");\n}","lang":"rust","description":"Initializes an async RBatis connection to MySQL."},"warnings":[{"fix":"Add tokio as a dependency and use #[tokio::main] or similar.","message":"Requires an async runtime like tokio or async-std.","severity":"gotcha","affected_versions":">=4.0.0"},{"fix":"Enable features like 'mysql', 'postgres', or 'sqlite' in Cargo.toml.","message":"Compile-time dynamic SQL may require feature flags for different databases.","severity":"gotcha","affected_versions":">=4.0.0"}],"env_vars":null,"search_vec":"'async':10,23 'compil':17 'compile-tim':16 'crate':14 'databas':24 'dynam':19,26 'dynamic-sql':25 'featur':15 'librari':8 'orm':7,21 'pure':11 'rbati':1 'rust':3,12 'sql':4,13,20,22,27 'time':18 'toolkit':5","created_at":"2026-06-16T17:15:43.359637+00:00","updated_at":"2026-06-16T17:15:43.359637+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://rbatis.github.io/rbatis.io","github":"https://github.com/rbatis/rbatis","docs":"https://docs.rs/rbatis/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database","orm"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}