Skip to content

Core multi-platform glue for Cala

License

Apache-2.0, Zlib licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
Zlib
LICENSE-ZLIB
Notifications You must be signed in to change notification settings

libcala/cala_core

cala_core logo

Low-level platform glue for Cala

crates.io docs.rs tests Percentage of issues still open

Getting Started | Changelog | Cala Blog | GitHub

cala_core

This crate is used to make it easier to port to WASM, Android, etc.

Supports

  • wasm-pack/wasm-bindgen
  • without a bundler (see testwasm example)
  • cargo-cala (automates the "without a bundler" routine)

Targets

Targets that are marked are currently supported, the rest are planned. Targets in bold are preferred for that platform. Targets not listed are (mostly) similar to the ones listed, so bug reports and PRs can still be opened for them. This list is based on how cargo-cala builds distribution packages, so it may seem a little weird.

Android

  • APK / AAB (Android App Bundle)
    • aarch64-linux-android (APK: /lib/arm64-v8a/)
    • armv7-linux-androideabi, thumbv7neon-linux-androideabi (APK: /lib/armeabi-v7a/)
    • i686-linux-android (APK: /lib/x86/)
    • x86_64-linux-android (APK: /lib/x86_64/)

BSD Variants

  • i686-unknown-freebsd (32-bit FreeBSD App)
  • x86_64-unknown-freebsd (64-bit FreeBSD App)
  • x86_64-unknown-netbsd (64-bit NetBSD App)

Fuchsia

  • aarch64-fuchsia (Fuchsia for ARM App)
  • x86_64-fuchsia (Fuchsia for X86 App)

iOS

  • iOS App
    • aarch64-apple-ios
    • x86_64-apple-ios

Linux Variants

  • Flatpak
    • x86_64-unknown-linux-gnu (arch: /x86_64/)
    • i586-unknown-linux-gnu (arch: /i386/)
    • aarch64-unknown-linux-gnu (arch: /aarch64/, Raspberry Pi 4)
    • armv7-unknown-linux-gnueabihf, thumbv7neon-unknown-linux-gnueabihf (arch: /arm/, Raspberry Pi 2-3)
  • arm-unknown-linux-gnueabihf (Raspberry Pi Zero W Program)
  • riscv64gc-unknown-linux-gnu (Risc-V Linux Program)

MacOS

  • x86_64-apple-darwin (MacOS App)

Redox

  • x86_64-unknown-redox (Redox App)

Web

  • Static Web App
    • wasm32-unknown-emscripten, wasm32-unknown-unknown
    • asmjs-unknown-emscripten (fallback)
  • wasm32-wasi (WASI App)

Windows

  • i586-pc-windows-msvc, i686-pc-windows-msvc, i686-pc-windows-gnu (32-bit Windows App),
  • x86_64-pc-windows-gnu, x86_64-pc-windows-msvc (64-bit Windows App)

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Contributors are always welcome (thank you for being interested!), whether it be a bug report, bug fix, feature request, feature implementation or whatever. Don't be shy about getting involved. I always make time to fix bugs, so usually a patched version of the library will be out a few days after a report. Features requests will not complete as fast. If you have any questions, design critques, or want me to find you something to work on based on your skill level, you can email me at [email protected]. Otherwise, here's a link to the issues on GitHub. Before contributing, check out the contribution guidelines, and, as always, make sure to follow the code of conduct.

About

Core multi-platform glue for Cala

Resources

License

Apache-2.0, Zlib licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
Zlib
LICENSE-ZLIB

Code of conduct

Stars

Watchers

Forks

Packages

No packages published