#oracle #bindings #odpi-c #version #low-level #programming

sys odpic-sys

Bindings to Oracle Database Programming Interface for C (ODPI-C)

1 unstable release

new 0.1.0 Nov 16, 2024

#1540 in Database interfaces

Download history 83/week @ 2024-11-11

83 downloads per month

UPL-1.0/Apache-2.0

2.5MB
46K SLoC

C 38K SLoC // 0.2% comments Rust 6K SLoC // 0.0% comments SQL 2K SLoC // 0.1% comments Python 130 SLoC // 0.5% comments Shell 15 SLoC // 0.7% comments

odpic-sys

The crate provides low-level Rust bindings to ODPI-C.

Usage

Put this in your Cargo.toml:

[dependencies]
odpic-sys = "0.1.0"

The following Cargo features are supported:

  • separate_blocking separates functions which may be blocked by network round-trips.

    When the feature is enabled, functions whose column Round-Trips? value in ODPI-C Function Round-Trips is Yes or Maybe are moved from the top-level module to the blocking module.

Compile-time Requirements

See Compile-time Requirements.

Relation between odpic-sys version and ODPI-C version

odpic-sys version ODPI-C version RustTarget
0.1.0 5.4.0 1.59

License

Same with ODPI-C

  1. the Universal Permissive License v 1.0 or at your option, any later version; and/or
  2. the Apache License v 2.0.

No runtime deps