Skip to content

Commit cd6991b

Browse files
teryltTeryl Tayloraraujof
committed
feat: cgo Go bindings (#45)
* feat: initial revision rust core. Signed-off-by: Teryl Taylor <terylt@ibm.com> * fix: addressed comments in PR. Updated PluginContext to match spec. Signed-off-by: Teryl Taylor <terylt@ibm.com> * feat: added yaml and routing rule support. Signed-off-by: Teryl Taylor <terylt@ibm.com> * feat: added example code to show how to load manager and plugins. Signed-off-by: Teryl Taylor <terylt@ibm.com> * fixes: updated plugin errors, configs to more match python. Signed-off-by: Teryl Taylor <terylt@ibm.com> * feat: RUST CMF initial revision. Signed-off-by: Teryl Taylor <terylt@ibm.com> * feat: added invoke named support, added constants, fixed reviewed code. Signed-off-by: Teryl Taylor <terylt@ibm.com> * feat: added owned extensions and did some refactoring. Signed-off-by: Teryl Taylor <terylt@ibm.com> * feat: added cgo and golang bindings, examples and readme. Signed-off-by: Teryl Taylor <terylt@ibm.com> * address P0/P1/P2 review findings (except #17) Signed-off-by: Teryl Taylor <terylt@ibm.com> * fix: address remaining P2/P3 review findings + testing gaps Signed-off-by: Teryl Taylor <terylt@ibm.com> * docs: add CPEX Go public API spec Signed-off-by: Frederico Araujo <frederico.araujo@ibm.com> * docs: renamed document Signed-off-by: Frederico Araujo <frederico.araujo@ibm.com> * feat(cpex-rust): CGO review passes 1-11 + lint cleanup + Makefile targets Signed-off-by: Teryl Taylor <terylt@ibm.com> * fix: address linting issues, updated makefile to support building examples. Signed-off-by: Teryl Taylor <terylt@ibm.com> * docs: updated the go spec to reflect recent changes. Signed-off-by: Teryl Taylor <terylt@ibm.com> --------- Signed-off-by: Teryl Taylor <terylt@ibm.com> Signed-off-by: Frederico Araujo <frederico.araujo@ibm.com> Co-authored-by: Teryl Taylor <terylt@ibm.com> Co-authored-by: Frederico Araujo <frederico.araujo@ibm.com>
1 parent 8bdf018 commit cd6991b

53 files changed

Lines changed: 15937 additions & 1035 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cargo.lock

Lines changed: 102 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ resolver = "2"
1010
members = [
1111
"crates/cpex-core",
1212
"crates/cpex-sdk",
13+
"crates/cpex-ffi",
14+
"examples/go-demo/ffi",
1315
]
1416

1517
[workspace.package]
@@ -20,13 +22,18 @@ authors = ["Teryl Taylor"]
2022

2123
[workspace.dependencies]
2224
tokio = { version = "1", features = ["full"] }
23-
serde = { version = "1", features = ["derive"] }
25+
tokio-util = { version = "0.7", features = ["rt"] }
26+
serde = { version = "1", features = ["derive", "rc"] }
2427
serde_yaml = "0.9"
2528
serde_json = "1"
2629
async-trait = "0.1"
2730
thiserror = "2"
2831
tracing = "0.1"
29-
uuid = { version = "1", features = ["v4"] }
32+
uuid = { version = "1", features = ["v4", "serde"] }
3033
paste = "1"
3134
futures = "0.3"
3235
hashbrown = "0.15"
36+
arc-swap = "1.7"
37+
wildmatch = "2"
38+
rmp-serde = "1"
39+
serde_bytes = "0.11"

0 commit comments

Comments
 (0)