Skip to content

distant v0.15.0-alpha.19

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 16 Oct 02:35
d62f91b

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

322d413f44705ba419e919a848e9ae8d74abfe50fda3d9b12a08c5cd9a7a5526  distant_lua-macos.dylib
74979d7022da67bfeb0a9ebea613043e50ef611f47e9dc0cb14547a1cf0e77c4  distant_lua-macos-intel.dylib
9209fc156a997193e1bd42156644f949c0f93ec6dc1c48aa86e3423d76f15bb6  distant_lua-macos-arm.dylib
091b335316144d5cf2c879115d89aa1d0229953174212ba722093e4a18ac24aa  distant-macos
ed89b1d1a657fa137defd4aafd8475f3aa846dacb87a97dba8f0df5f72ae91be  distant_lua-win64.dll
32166c4d353fdefe84454cfa0014e56591b7a09498a2c36bc8265fe36a9f3f4c  distant-win64.exe
5e359d7b7e421b48c91aa3be19013c8d234c329cc264d9eecebae7a713cec876  distant_lua-linux64-gnu.so
3e4c585cce1335444e843aa59fc50eb987052982431b4f3fbe0b8255ef5ebac7  distant_lua-linux64-musl.so
5986ec5c33a85f9f6855b602e1804cfa5874c09b95cf5a06332c6f14176aca19  distant-linux64-gnu
30912472acf0c9b9f38c8ef51b12ecc6ba39005b4bef1a65b23b2bafb5908d29  distant-linux64-musl