Skip to content

distant v0.15.0-alpha.9

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 10 Oct 02:17
80f9c25

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

f1a85dddadc5a6cd28d45f5814d5982a184dcc175f344af274a7f431c1341d29  distant_lua-macos.dylib
2b19660db6416de979ebef6a47d41c9faa70f882e372433f23b44eea3a0a4f47  distant_lua-macos-intel.dylib
8e7e4b479ca405d38689413cef007203a6b3599aa20220070eb53ac3986458b4  distant_lua-macos-arm.dylib
59d979495deafe8b149f386be0ef2958162d0fc4698415966c605f3fe65150ca  distant-macos
746491e9280476b82e28c9bd82fb8f3861a67b45417f5f38f3c88ee33200f09c  distant_lua-win64.dll
e2d55ef724bc87ed768d2d59cae6a06b897ad72b8b000f68191edf0874cb69c3  distant-win64.exe
930ad87f0a8b19d68035f4b573d1d30712f237ee3908df19fd8312f4941a697f  distant_lua-linux64.so
cda8d23d0642d576fb06e55d0ad088d1029ae4290c0d7cdec93e955a314ef01c  distant-linux64-gnu
240962ba294aa9b0a0480e1f26fc5cdfe3aa7de61f6143e7b82df8d9d48b7896  distant-linux64-musl