| name: stb_image |
| description: | |
| This project is a minimal, cross-platform demonstration of how to use Dart's |
| build hooks, with code assets and `dart:ffi` to call a simple function from a |
| popular C library. This project uses `stbi_info` from the `stb_image.h` |
| library to read an image's dimensions and color channels without loading the |
| entire file into memory. |
| version: 0.1.0 |
| repository: https://github.com/dart-lang/native/tree/main/pkgs/code_assets/example/build/stb_image |
| |
| publish_to: none |
| |
| resolution: workspace |
| |
| environment: |
| sdk: '>=3.9.0 <4.0.0' |
| |
| dependencies: |
| code_assets: any |
| ffi: ^2.1.4 |
| hooks: any |
| logging: ^1.3.0 |
| native_toolchain_c: any |
| |
| dev_dependencies: |
| ffigen: ^20.0.0-dev.0 |
| lints: ^6.0.0 |
| test: ^1.25.15 |