OpenDAL provides a pre-configured dev container that could be used in GitHub Codespaces, VSCode, JetBrains, JupyterLab. Please pick up your favourite runtime environment.
The fastest way is:
To build OpenDAL D binding locally, you need:
First, build the C bindings:
dub build -b release
Note:
dub buildadds the header fileopendal.hunder../c/include- The library is under
../../target/debugor../../target/releaseafter building.
To build and run the tests.
$ dub test Generating test runner configuration 'opendal-test-unittest' for 'unittest' (library). Starting Performing "unittest" build using /usr/bin/ldc2 for x86_64. Building opendal ~master: building configuration [opendal-test-unittest] Pre-build Running commands Finished `release` profile [optimized] target(s) in 0.08s Cargo build completed successfully Linking opendal-test-unittest Running opendal-test-unittest Basic Operator creation and write test passed 1 modules passed unittests