Skip to content

distant v0.15.0-alpha.18

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 15 Oct 22:11
e01a322

Install Lua library

Windows

  1. Download distant_lua-win64.dll
  2. Rename to distant_lua.dll
  3. Import via distant = require("distant_lua")

macOS

  1. Download distant_lua-macos.dylib (or distant_lua-macos-intel.dylib or distant_lua-macos-arm.dylib)
  2. Rename to distant_lua.so (still works on Mac for Lua)
  • Alternatively, you can rename to distant_lua.dylib and add
    package.cpath = package.cpath .. ";?.dylib" within your Lua code before
    requiring the library
  1. Import via distant = require("distant_lua")

Linux

  1. Download distant_lua-linux64-gnu.so (or distant_lua-linux64-musl.so)
  2. Rename to distant_lua.so
  3. Import via distant = require("distant_lua")

Artifacts

A Lua library is built out to provide bindings to distant-core and distant-ssh2 within Lua.
While this is geared towards usage in neovim, this Lua binding is generic and can be used in Lua
anyway. The library is built against Lua 5.1.5. Make sure to rename the
library to distant_lua.{dll,dylib,so} prior to importing as that is the expected name!

  • linux64 is the Linux library that supports the x86-64 platform using libc
  • macos is the universal MacOS library that supports x86-64 and aarch64 (ARM) platforms
  • win64 is the Windows library release that supports the x86-64 platform and built via MSVC

Standalone binaries are built out for Windows (x86_64), MacOS (Intel & ARM), and Linux (x86_64).

  • linux64-gnu is the x86-64 release on Linux using libc
  • linux64-musl is the x86-64 release on Linux using musl (static binary, no libc dependency)
  • macos is a universal binary for Mac OS that supports x86-64 and aarch64 (arm) platforms
  • win64 is the x86-64 release on Windows using MSVC

SHA256 Checksums

30d0dfe780733437f7e344370a05ce795d0789134a0e335113f9227fbf00dd2d  distant_lua-macos.dylib
713f80d09468122f46389d3914ae63aeda1f7a6046b6920ec91ea85b2bb001a2  distant_lua-macos-intel.dylib
15f6c9075eb5f873b990a438285a736e710974befbdb7272a6ee9938e429232c  distant_lua-macos-arm.dylib
bc239bff747dea29c5ed9923baf806bd95db3606c2b89d9695b7d46731e813f5  distant-macos
3663004dcb49e29cb90ec715bcc2df611cb5c6db697acddb1963f3be1d3d3dbc  distant_lua-win64.dll
95e17c43650866e0ce997f0e6574ac9dfa8692833a03b2f764f687ab034c54f9  distant-win64.exe
aa5c65e67843c20be2133a86098bccd5a4e82dcf04f342b29f1efe5fec15c501  distant_lua-linux64-gnu.so
0d1b35b7b4562c89008a584ae0a223e95cb1ff521b65d9166ff54f19a8d90916  distant_lua-linux64-musl.so
ba9c5fe82613c7181730225b03b9027d155e65c2c4d9598cc0f047cf797d0a0a  distant-linux64-gnu
060c068c67887ece9bcbc1f20b674d5dbcdd4cdd0e23788bd0701946103082d4  distant-linux64-musl