Skip to content

distant v0.15.0-alpha.20

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 16 Oct 05:05
dba8a80

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

ec0126af7672a3c649bd04f32b74a4d4500633556100bfd7b18f8997ffc16d8e  distant_lua-macos.dylib
879cbe2f0b8777fd2a69fb34cb6e3b9a7abc9c0287a5223bd04552eed217c3e3  distant_lua-macos-intel.dylib
f5d765c280f23680ebf257d3b0018155905e5c22c8dac5477a991534c657cf7c  distant_lua-macos-arm.dylib
81eebec37ffc35cfb1c54afba5198be6b902d8f16e861f8d66f46bb53955eb97  distant-macos
6ed84d6f110448def065e0533de0b6f2abcdfea9abb0216a873121a10e333e24  distant_lua-win64.dll
974048f76a0dd8a89af086d0252163b462e57b450423e7520ddf57db46bc8e48  distant-win64.exe
75405142b79bf46ec04cd87b74944ebec0d93c681a49f31049c04f038988b5db  distant_lua-linux64-gnu.so
edd6a8547c4a8637ea11bb81cb6e53177ed8d22aa9ffc8fa7f13bdd797eeb653  distant_lua-linux64-musl.so
adff08777dbd78d244aadf338972916121229fe9e4341fb9c26291de3d94432b  distant-linux64-gnu
4b194a283c57d9239eff699139caae000e627ba88f9e4dcd5006216114df1e2f  distant-linux64-musl