About rust-oracledb

The rust-oracledb driver is an open-source Rust module that enables Rust applications to connect to Oracle Database directly with no additional libraries required. This lightweight and high-performance driver gives Rust applications easy access to Oracle Database through the Oracle Net protocol. The module is maintained by Oracle.

This is a pre-release of rust-oracledb, intended to provide early access to the driver and gather user feedback. The APIs and functionalities are subject to change as development continues.

Rust-oracledb supports basic and advanced features of Oracle AI Database.

Installation

See Rust-oracledb Installation.

Examples

See the examples directory. Start with examples/simple_query.rs.

Documentation

See rust-oracledb Documentation and Release Notes.

You can use assistive technology products, such as screen readers, while you work with the documentation. You can also use the keyboard instead of the mouse.

Help

Questions can be asked on GitHub Discussions. Identified issues can be raised as GitHub Issues.

Tests

To run the test suite see tests/README.

Source code

Source code is on github.com/oracle/rust-oracledb.

Contributing

Rust-oracledb is an open source project. See CONTRIBUTING for details.

Oracle gratefully acknowledges the contributions to rust-oracledb that have been made by the community.

rust-oracledb Features:

We are actively working on supporting the best Oracle Database features, and on functionality requests from users involved in the project.

License

Copyright (c) 2026, Oracle and/or its affiliates. All rights reserved.

This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl and Apache License 2.0 as shown at https://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

If you elect to accept the software under the Apache License, Version 2.0, the following applies:

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.