Skip to content

distant v0.15.0-alpha.14

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 11 Oct 04:32
201101c

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.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

0e254286437011f3fcdad2b8f3b924f1f774fbb1d141f48a71304c6b2ad61e45  distant_lua-macos.dylib
5619812c9288b2c03cf7941527369ca560ad177184aa1997a368c981f9aab825  distant_lua-macos-intel.dylib
96e322169fcc78044267041e2979aad5cdb0df61dff24ce05bf3235bca38bfcf  distant_lua-macos-arm.dylib
219a4b60827086643a33a5a55b20c5dcd7d67a37c1f820f4784bf61de6626172  distant-macos
262743e6672419e72ce22803f6b6df454d5628baee0eff15a80120ef3944f3c8  distant_lua-win64.dll
e1f6ac051566f49623db68f3a8305bda55cde305f7285333fb5608b671211084  distant-win64.exe
0764aae5be7e2ad4e64a4e05746e8779368aeddf50d2f1b30f2b909bc0d709dd  distant_lua-linux64.so
1ea69b8b6e73752166c481c3eb9f7a934a53f3945fc57d3f4273928172c007ec  distant-linux64-gnu
f2ca6dc18c220d52954e79a407ffb439899ce2b4bda474ca6f39c8c2620834d1  distant-linux64-musl