add require chronicles taskpools and import std tables

This commit is contained in:
Ivan Folgueira Bande 2026-01-23 15:01:08 +01:00
parent 9fff004b19
commit bb8ed28ab0
No known key found for this signature in database
GPG Key ID: 3C117481F89E24A7
4 changed files with 9 additions and 4 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
nimble.develop
nimble.paths
nimbledeps

View File

@ -1,4 +1,4 @@
# begin Nimble config (version 1)
when fileExists("nimble.paths"):
# begin Nimble config (version 2)
when withDir(thisDir(), system.fileExists("nimble.paths")):
include "nimble.paths"
# end Nimble config

View File

@ -1,6 +1,6 @@
# ffi.nimble
version = "0.1.0"
version = "0.1.1"
author = "Institute of Free Technology"
description = "FFI framework with custom header generation"
license = "MIT or Apache License 2.0"
@ -9,6 +9,8 @@ packageName = "ffi"
requires "nim >= 2.2.4"
requires "chronos"
requires "chronicles"
requires "taskpools"
# Source files to include
# srcDir = "src"

View File

@ -2,7 +2,7 @@
{.pragma: callback, cdecl, raises: [], gcsafe.}
{.passc: "-fPIC".}
import std/[options, atomics, os, net, locks, json]
import std/[options, atomics, os, net, locks, json, tables]
import chronicles, chronos, chronos/threadsync, taskpools/channels_spsc_single, results
import ./ffi_types, ./ffi_thread_request, ./internal/ffi_macro, ./logging