alopecosa 0.1.3

Pure rust async Tarantool 1.6+ connector built on tokio
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
ffi = require('ffi')

ffi.cdef[[
  int shutdown(int, int);
]]

function self_close()
  local SHUT_RDWR = 2
  ffi.C.shutdown(box.session.fd(), SHUT_RDWR)
end

box.cfg{listen=3301}