mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-06 17:54:20 +01:00
16 lines
261 B
Rust
16 lines
261 B
Rust
use cfg_block::cfg_block;
|
|
|
|
pub type Buffer = Vec<u8>;
|
|
|
|
cfg_block! {
|
|
#[cfg(target_os = "linux")] {
|
|
mod linux;
|
|
pub use linux::{File, IO};
|
|
}
|
|
|
|
#[cfg(target_os = "macos")] {
|
|
mod darwin;
|
|
pub use darwin::{File, IO};
|
|
}
|
|
}
|