Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Rust
  3. rust-oracle

rust-oracle

Rust

A Rust database driver for Oracle, providing safe and efficient access to Oracle databases from Rust applications.

GitHubGitHub
229 stars50 forks0 contributors

What is rust-oracle?

Rust-oracle is a database driver that enables Rust applications to connect to and interact with Oracle databases. It provides a safe, efficient API for executing SQL queries, handling transactions, and processing result sets while maintaining compatibility with Oracle's client libraries and features.

Target Audience

Rust developers who need to build applications that work with Oracle databases, particularly in enterprise environments where Oracle is the preferred database solution.

Value Proposition

Developers choose rust-oracle because it offers native Rust bindings for Oracle with type safety, efficient prepared statement support, and compatibility with Oracle's advanced features while being built on Oracle's official ODPI-C library for reliability.

Overview

Oracle driver for Rust

Use Cases

Best For

  • Building Rust backend services that need Oracle database access
  • Migrating Oracle-dependent applications to Rust
  • Developing data-intensive applications with Oracle as the backend
  • Creating Rust-based ETL tools for Oracle databases
  • Implementing Oracle database connectivity in Rust microservices
  • Building command-line tools for Oracle database administration

Not Ideal For

  • Projects requiring asynchronous or non-blocking database operations
  • Applications heavily dependent on Oracle's XML or JSON data types
  • Environments where installing Oracle client libraries is not feasible
  • Teams needing stable, production-ready Oracle Advanced Queuing support

Pros & Cons

Pros

Native Oracle Integration

Built on Oracle's official ODPI-C library, ensuring high compatibility and performance, as stated in the description and README.

Type-Safe Rust API

Leverages Rust's ownership model for safe SQL execution and result handling, using Option<T> for nullable columns to prevent errors.

Efficient Prepared Statements

Supports reusable prepared statements to reduce database parsing overhead, improving performance for repeated queries, as demonstrated in examples.

Flexible Parameter Binding

Allows both positional and named parameter binding for SQL statements, providing versatility in query construction.

Cons

Missing Advanced Features

The README's TODO list admits gaps in support for BFILEs, scrollable cursors, better object types, XML, and JSON data types.

Complex Setup Requirements

Requires a C compiler and Oracle client 11.2 or later, adding installation steps and potential compatibility hurdles.

Unstable Experimental Features

Oracle Advanced Queuing support is marked as unstable and may change incompatibly with minor version upgrades, per the optional features table.

Frequently Asked Questions

Quick Stats

Stars229
Forks50
Contributors0
Open Issues23
Last commit1 year ago
CreatedSince 2017

Tags

#database-driver#oracle#data-access#backend#database-connectivity#rust-crate#rust#oracle-database#sql

Built With

R
Rust
C
C++

Included in

Rust56.6k
Auto-fetched 10 hours ago

Related Projects

QdrantQdrant

Qdrant - High-performance, massive-scale Vector Database and Vector Search Engine for the next generation of AI. Also available in the cloud https://cloud.qdrant.io/

Stars34,431
Forks2,651
Last commit11 hours ago
SurrealDBSurrealDB

A scalable, distributed, collaborative, document-graph database, for the realtime web

Stars32,995
Forks1,357
Last commit1 day ago
RustFSRustFS

🚀2.3x faster than MinIO for 4KB object payloads. RustFS is an open-source, S3-compatible high-performance object storage system supporting migration and coexistence with other S3-compatible platforms such as MinIO and Ceph.

Stars31,833
Forks1,422
Last commit11 hours ago
TursoTurso

A SQL database in Rust: SQLite-compatible, now also speaking Postgres (experimental). The LLVM of databases.

Stars24,203
Forks1,317
Last commit11 hours ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub