Skip to content
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
90 changes: 46 additions & 44 deletions Cargo.lock

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

15 changes: 14 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,14 @@ rmcp = { version = "1.7", features = [
"transport-streamable-http-server",
"auth",
] }
ic-agent = "0.48"
# The Agent is INJECTED by the embedding application (see McpServer::new), so a
# host shares one boundary-node client and one ic-agent across the process.
# Deliberately a direct dependency for now: sourcing ic-agent through ic-bn-lib
# (the shared boundary-node/gateway crate, the eventual goal so the version is
# pinned by the same crate the hosts use) is deferred until ic-bn-lib releases
# against this ic-agent line — its current release pins an older one, which
# would revert the read-only delegation-permissions support this depends on.
ic-agent = "0.49"
candid = { version = "0.10", features = ["value"] }
candid_parser = "0.3.2"
tokio = { version = "1", features = ["macros", "rt-multi-thread", "signal", "time"] }
Expand All @@ -42,3 +49,9 @@ reqwest = { version = "0.13", default-features = false, features = ["rustls"] }
getrandom = "0.3.4"
urlencoding = "2.1.3"
url = "2"

[dev-dependencies]
# Router-level contract tests (tests/routers.rs) drive the composed app with
# tower::ServiceExt::oneshot and read bodies via http-body-util.
tower = { version = "0.5", features = ["util"] }
http-body-util = "0.1"
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ENV GIT_SHA=${GIT_SHA}
ENV BUILD_TIME=${BUILD_TIME}
COPY Cargo.toml Cargo.lock ./
COPY src ./src
# static/ is needed at build time too: main.rs/auth.rs include_str! the HTML pages.
# static/ is needed at build time too: tools.rs include_str!s the candid/OQL references.
COPY static ./static
RUN cargo build --release

Expand Down
Loading