feat: bindings for node.js

This commit is contained in:
Paul Makles
2024-08-26 20:01:10 +01:00
parent 12ae781621
commit f6c57b23b4
11 changed files with 754 additions and 71 deletions

View File

@@ -0,0 +1,24 @@
[package]
name = "revolt-nodejs-bindings"
version = "0.7.15"
description = "Node.js bindings for the Revolt software"
authors = ["Paul Makles <me@insrt.uk>"]
license = "MIT"
edition = "2021"
exclude = ["index.node"]
[lib]
crate-type = ["cdylib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
neon = "1.0.0"
neon-serde4 = "1.0.0"
serde = { version = "1", features = ["derive"] }
async-std = "1.12.0"
revolt-result = { version = "0.7.15", path = "../../core/result" }
revolt-database = { version = "0.7.15", path = "../../core/database" }