Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add experiments directory #302

Merged
merged 4 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,482 changes: 1,386 additions & 96 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ resolver = "2"
members = [
"agentwire",
"agentwire/macros",
"artificer",
"attest",
"attest/dbus",
"backend-state",
Expand All @@ -13,6 +12,8 @@ members = [
"const-concat",
"deps-tests",
"endpoints",
"experiments/artificer",
"experiments/zenoh",
"header-parsing",
"hil",
"jwk-util",
Expand Down Expand Up @@ -86,6 +87,7 @@ tracing-journald = "0.3.0"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
zbus = { version = "4.4.0", default-features = false, features = ["tokio"] }
zbus_systemd = "0.25600.0"
zenoh = "1.0.3"

can-rs.path = "can"
orb-attest-dbus.path = "attest/dbus"
Expand Down
15 changes: 14 additions & 1 deletion deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ all-features = true
[advisories]
version = 2
ignore = [
{ id = "RUSTSEC-2024-0370", reason = "low risk and cmd_lib hasn't updated it yet. See https://github.com/rust-shell-script/rust_cmd_lib/issues/67" }
{ id = "RUSTSEC-2023-0071", reason = "No patch available yet, we also dont plan to use rsa keys" }
]

[sources]
Expand Down Expand Up @@ -39,6 +39,19 @@ allow = [
"Unlicense",
"Zlib",
]
exceptions = [
# We do not particularly like the EPL-2.0 license (MPL-2.0 is much better).
# But we are willing to make an exception for zenoh's transitive
# dependencies *only*.
# See also: https://github.com/eclipse-zenoh/zenoh/issues/1625
{ allow = ["EPL-2.0"], crate = "keyed-set" },
{ allow = ["EPL-2.0"], crate = "ringbuffer-spsc" },
{ allow = ["EPL-2.0"], crate = "token-cell" },
{ allow = ["EPL-2.0"], crate = "validated_struct" },
{ allow = ["EPL-2.0"], crate = "validated_struct_macros" },
]



# See https://github.com/briansmith/ring/blob/95948b3977013aed16db92ae32e6b8384496a740/deny.toml#L12
[[licenses.clarify]]
Expand Down
4 changes: 2 additions & 2 deletions artificer/Cargo.toml → experiments/artificer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repository.workspace = true
rust-version.workspace = true

[dependencies]
orb-build-info.path = "../build-info"
orb-build-info.workspace = true
cacache = "13"
clap.workspace = true
color-eyre.workspace = true
Expand All @@ -29,4 +29,4 @@ tracing.workspace = true
tracing-subscriber.workspace = true

[build-dependencies]
orb-build-info = { path = "../build-info", features = ["build-script"] }
orb-build-info = { workspace = true, features = ["build-script"] }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
40 changes: 40 additions & 0 deletions experiments/zenoh/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[package]
name = "orb-zenoh-rpc"
version = "0.0.0"
description = "Experiments with the zenoh messaging system"
publish = false

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

[dependencies]
async-trait = "0.1.74"
clap.workspace = true
color-eyre.workspace = true
dashmap = "5.5.3"
derive_more.workspace = true
eyre.workspace = true
futures.workspace = true
orb-build-info.workspace = true
orb-messages.workspace = true
orb-telemetry.workspace = true
prost = "0.12.3"
rand = "0.8.5"
serde.workspace = true
serde_json = "1.0.108"
tokio-stream = "0.1.14"
tokio.workspace = true
tracing.workspace = true
zbus.workspace = true
zenoh.workspace = true
quinn = { version = "0.11.6", features = ["rustls"] }
rcgen = "0.13.1"

[build-dependencies]
orb-build-info = { workspace = true, features = ["build-script"] }

[lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = ['cfg(tokio_unstable)']
1 change: 1 addition & 0 deletions experiments/zenoh/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@