Skip to content

distant v0.15.0-alpha.21

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 16 Oct 19:03
1dc5b69

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

659af717b12518311c3396fc251db38f76b8e5f8794aac815a60030f5a11fe41  distant_lua-macos.dylib
4e90c7ced871b01716a14b1517d4365194518c98ab8ceb74400ee1edd5ff187a  distant_lua-macos-intel.dylib
bcd81fc8fc23c039497c80c55d4d96c237a25d2070093abd509d7d759fd4a5d9  distant_lua-macos-arm.dylib
74969cf6c18f70e8e409eeaa69fb8ff698fa998adb6e1c186beb07755b864407  distant-macos
110c7099f2f8c1a9495d74f828e718613e09dab78e3adaf2aa2faffc9cf51b03  distant_lua-win64.dll
328403e1dfe03a866455882636bbb62a6cb676bd623e0da407bcef271f8ce4c2  distant-win64.exe
0b0c30fa8387013c98e547d75487230b21619b98f1f7ed5a18e8638a31a97198  distant_lua-linux64-gnu.so
31d9d0eb6d37f222830c1b8b54552a240a5f76be7f47122e2360ffe74162c56e  distant_lua-linux64-musl.so
7a35170699c46daced7c537703eb75cab7ca1761f0521b4ae09f4387c4c31150  distant-linux64-gnu
c91f6fd50d27b3967f9d5c1978a3490fba58f6a86d337f5af90cb85bd106c764  distant-linux64-musl