odpic-sys

Crates.ioodpic-sys
lib.rsodpic-sys
version
sourcesrc
created_at2024-11-16 00:30:01.93767+00
updated_at2025-03-01 02:38:27.737641+00
descriptionBindings to Oracle Database Programming Interface for C (ODPI-C).
homepagehttps://github.com/kubo/odpic-sys
repositoryhttps://github.com/kubo/odpic-sys
max_upload_size
id1449773
Cargo.toml error:TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
devs (github:checkernetwork:devs)

documentation

https://docs.rs/odpic-sys

README

odpic-sys

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

Usage

Put this in your Cargo.toml:

[dependencies]
odpic-sys = "0.2.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.

Note about doc comments

Doc comments in this crate are verbatim copies of ODPI-C doc. They are written for C language and may be inappropriate for Rust.

Compile-time Requirements

See Compile-time Requirements.

Relation between odpic-sys version and ODPI-C version

odpic-sys version ODPI-C version RustTarget note
0.2.0 5.5.0 1.59 (*1)
0.1.1 5.4.1 1.59
0.1.0 5.4.0 1.59

*1: Some constants' types were changed from u32 to appropriate ones.

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.

Copyrights

Copyrights of src/binding_*.rs files belong to respective owners. The files were generated from ODPI-C header files and documents.

Commit count: 4

cargo fmt