Skip to content

distant v0.15.0-alpha.12

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 10 Oct 05:23
733cc15

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

c5323a8380bb84803e4e30061c3b976c8761c348c5dcc8122879c0f3de5d0604  distant_lua-macos.dylib
1fe1dddeab9389663a04e7d3a43d741a705098570fd0894da0847d5061d80a31  distant_lua-macos-intel.dylib
2bc431fdfb9ed1583fce42f679ef95b55af58c1331efcfe817ffbd2e3e74441a  distant_lua-macos-arm.dylib
957100810da28f8b2413db15d1a64ca41681d6c949f78fa955771b62740ac831  distant-macos
6acfa848fc8909b9c53b3601801dfbc32b44a3e822e50f4c6bfb7690390eb868  distant_lua-win64.dll
63dc82f7c3adcf0d8a446c99b7ce10e9d9085458e603f2dc2a12947c24eae2ed  distant-win64.exe
cec0b61fc785bd6f6ae630dc024db414c242d3c078ef36eb4ca3a06f2bf38b99  distant_lua-linux64.so
e29e0730d184919d00f7f011ea6756c589bf063876ddaa32fc5bc5360bd858cf  distant-linux64-gnu
33ee0f8cb929472d727853e310fc2537f7836c9470b5f2f7a09f327d5a120c63  distant-linux64-musl