chore: bump versions for release, minimize c sdk imports (#15)

Co-authored-by: zach <zachshipko@gmail.com>
This commit is contained in:
Steve Manuel
2022-09-13 13:27:58 -06:00
committed by GitHub
parent c9ded15dd2
commit f9e9ff28d9
8 changed files with 12 additions and 10 deletions

View File

@@ -11,6 +11,7 @@ import (
/*
#cgo pkg-config: libextism.pc
#include <extism.h>
#include <stdlib.h>
*/
import "C"

View File

@@ -1,6 +1,6 @@
[package]
name = "extism-manifest"
version = "0.0.1-rc.2"
version = "0.0.1-rc.3"
edition = "2021"
authors = ["The Extism Authors", "oss@extism.org"]
license = "BSD-3-Clause"

View File

@@ -1,6 +1,6 @@
{
"name": "@extism/extism",
"version": "0.0.1-rc.2",
"version": "0.0.1-rc.3",
"description": "Extism Host SDK for Node",
"keywords": [
"extism",

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "extism"
version = "0.0.1-rc.2"
version = "0.0.1-rc.3"
description = ""
authors = ["The Extism Authors <oss@extism.org>"]
license = "BSD-3-Clause"

View File

@@ -1,6 +1,6 @@
[package]
name = "extism-runtime"
version = "0.0.1-rc.2"
version = "0.0.1-rc.3"
edition = "2021"
authors = ["The Extism Authors", "oss@extism.org"]
license = "BSD-3-Clause"
@@ -25,7 +25,7 @@ sha2 = "0.10"
log = "0.4"
log4rs = "1.1"
ureq = {version = "2.5", optional=true}
extism-manifest = { version = "0.0.1-rc.2", path = "../manifest" }
extism-manifest = { version = "0.0.1-rc.3", path = "../manifest" }
pretty-hex = { version = "0.3" }
[features]

View File

@@ -6,6 +6,9 @@ fn main() {
if let Ok(bindings) = cbindgen::Builder::new()
.with_crate(crate_dir)
.with_language(cbindgen::Language::C)
.with_no_includes()
.with_sys_include("stdint.h")
.with_sys_include("stdbool.h")
.with_pragma_once(true)
.rename_item("Size", "ExtismSize")
.rename_item("PluginIndex", "ExtismPlugin")

View File

@@ -1,9 +1,7 @@
#pragma once
#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdbool.h>
typedef int32_t ExtismPlugin;

View File

@@ -1,6 +1,6 @@
[package]
name = "extism"
version = "0.0.1-rc.2"
version = "0.0.1-rc.3"
edition = "2021"
authors = ["The Extism Authors", "oss@extism.org"]
license = "BSD-3-Clause"
@@ -10,6 +10,6 @@ repository = "https://github.com/extism/extism"
description = "Extism Host SDK for Rust"
[dependencies]
extism-manifest = { version = "0.0.1-rc.2", path = "../manifest" }
extism-manifest = { version = "0.0.1-rc.3", path = "../manifest" }
serde_json = "1"
log = "0.4"