odpic_sys/
lib.rs

1// odpic-sys - raw binding to ODPI-C
2//
3// URL: https://github.com/kubo/odpic-sys
4//
5//-----------------------------------------------------------------------------
6// Copyright (c) 2024-2025 Kubo Takehiro <kubo@jiubao.org>. All rights reserved.
7// This program is free software: you can modify it and/or redistribute it
8// under the terms of:
9//
10// (i)  the Universal Permissive License v 1.0 or at your option, any
11//      later version (http://oss.oracle.com/licenses/upl); and/or
12//
13// (ii) the Apache License v 2.0. (http://www.apache.org/licenses/LICENSE-2.0)
14//-----------------------------------------------------------------------------
15
16#![doc = include_str!("../README.md")]
17#![allow(non_camel_case_types)]
18#![allow(non_snake_case)]
19
20pub mod blocking;
21pub mod dpi_impl;
22
23include!("bindings.rs");
24#[cfg(not(feature = "separate_blocking"))]
25include!("bindings_blocking.rs");
26
27#[cfg(feature = "doc")]
28pub mod doc;