# odpic-sys
The crate provides low-level Rust bindings to [ODPI-C].
## Usage
Put this in your `Cargo.toml`:
```text
[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`](https://docs.rs/cc/latest/cc/#compile-time-requirements).
## Relation between odpic-sys version and ODPI-C version
| 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](http://oss.oracle.com/licenses/upl); and/or
2. [the Apache License v 2.0](http://www.apache.org/licenses/LICENSE-2.0).
[`dpi.h`]: https://github.com/oracle/odpi/blob/main/include/dpi.h
[ODPI-C]: https://oracle.github.io/odpi/
[ODPI-C Function Round-Trips]: https://odpi-c.readthedocs.io/en/latest/user_guide/round_trips.html
[ODPI-C version]: https://odpi-c.readthedocs.io/en/latest/releasenotes.html
[RustTarget]: https://docs.rs/bindgen/latest/bindgen/enum.RustTarget.html