#![cfg_attr(not(feature = "std"), no_std)]
#![warn(missing_docs)]
#![warn(clippy::all)]
#![deny(clippy::unwrap_used)]
#![allow(clippy::module_name_repetitions)]
#[cfg(feature = "alloc")]
extern crate alloc;
#[cfg(feature = "std")]
extern crate std;
pub mod buffer;
pub mod error;
pub mod io;
pub mod memory;
pub mod simd_buffer;
pub mod types;
pub mod vector;
pub mod tutorials;
pub use error::{OxiGdalError, Result};
pub use io::{Dataset, FieldType, RasterDataset, VectorDataset};
pub use types::{
BoundingBox, ColorEntry, ColorTable, ColorTableKind, CrsFormat, GeoTransform, Histogram,
RasterDataType, RasterMetadata, SpatialReference, Statistics,
};
pub use vector::FieldValue;
pub use buffer::Mask;
#[cfg(feature = "std")]
pub use io::{MmapDataSource, MmapDataSourceRw};
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
pub const NAME: &str = env!("CARGO_PKG_NAME");
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_version() {
assert!(!VERSION.is_empty());
assert_eq!(NAME, "oxigdal-core");
}
}