Skip to content

Commit

Permalink
feat(agentwire): Initial commit, extracted from orb-core (#284)
Browse files Browse the repository at this point in the history
* Extract agentwire from orb-core

* Fix workspace inheritance, change email

* Re-format

* fix macos

* fix license check

---------

Co-authored-by: Ryan Butler <thebutlah@gmail.com>
  • Loading branch information
valff and TheButlah authored Nov 19, 2024
1 parent e69450c commit 5019ec7
Show file tree
Hide file tree
Showing 17 changed files with 3,098 additions and 7 deletions.
195 changes: 188 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[workspace]
resolver = "2"
members = [
"agentwire",
"agentwire/macros",
"artificer",
"attest",
"attest/dbus",
Expand Down
38 changes: 38 additions & 0 deletions agentwire/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[package]
name = "agentwire"
version = "0.0.1"
authors = ["Valentyn Valiaiev <valentyn.valiaiev@toolsforhumanity.com>"]
description = """
A framework for asynchronous message-passing agents.
"""
publish = false

# orb-core can't consume crates that use workspace inheritance :(
edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true

[features]
sandbox-network = []

[dependencies.agentwire-macros]
version = "=0.0.1"
path = "macros"

[dependencies]
close_fds = "0.3.2"
futures = "0.3"
libc = "0.2.93"
nix = { version = "0.26.2", default-features = false, features = ["signal", "fs", "mman", "sched"] }
rkyv = "0.7.40"
shell-words = "1.1.0"
thiserror = "1.0.61"
tokio = { version = "1", features = ["rt-multi-thread", "process", "sync", "time", "io-util"] }
tracing = "0.1"

[dev-dependencies]
tokio = { version = "1", features = ["macros"] }

[package.metadata.orb]
unsupported_targets = ["aarch64-apple-darwin", "x86_64-apple-darwin"]
22 changes: 22 additions & 0 deletions agentwire/macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[package]
name = "agentwire-macros"
version = "0.0.1"
authors = ["Valentine Valyaeff <valentine.valyaeff@gmail.com>"]
description = """
Procedural macros for agentwire.
"""
publish = false

edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true

[lib]
proc-macro = true

[dependencies]
heck = "0.5.0"
proc-macro2 = "1.0.79"
quote = "1.0.35"
syn = { version = "2.0.55", features = ["extra-traits"] }
Loading

0 comments on commit 5019ec7

Please sign in to comment.