cog3pio 0.1.0

Cloud-optimized GeoTIFF ... Parallel I/O
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use pyo3_stub_gen::Result;

fn main() -> Result<()> {
    // `stub_info` is a function defined by `define_stub_info_gatherer!` macro.
    #[cfg(feature = "pyo3")]
    {
        let stub = cog3pio::adapters::stub_info()?;
        stub.generate()?;
    }
    #[cfg(all(feature = "cuda", feature = "pyo3"))]
    {
        let stub = cog3pio::cudacog::stub_info()?;
        stub.generate()?;
    }
    Ok(())
}