mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-02-10 00:43:09 +00:00
* remove unneeded code * Update comment style * Update Nim side to support safer_ffi * Fix Introduction from impl * Updates
21 lines
446 B
Nim
21 lines
446 B
Nim
# Package
|
|
|
|
version = "0.1.0"
|
|
author = "libchat"
|
|
description = "Nim Bindings for LibChat"
|
|
license = "MIT"
|
|
srcDir = "src"
|
|
bin = @["libchat"]
|
|
|
|
|
|
# Dependencies
|
|
|
|
requires "nim >= 2.2.4"
|
|
requires "results"
|
|
|
|
# Build Rust library before compiling Nim
|
|
before build:
|
|
exec "cargo build --release --manifest-path ../Cargo.toml"
|
|
|
|
task pingpong, "Run pingpong example":
|
|
exec "nim c -r --path:src examples/pingpong.nim" |