Skip to content

Commit

Permalink
Add container crate
Browse files Browse the repository at this point in the history
  • Loading branch information
bitdivine committed Sep 19, 2024
1 parent a08261a commit 91f5ddc
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
8 changes: 8 additions & 0 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = ["src/api", "src/declarations/cycles_ledger", "src/example/app_backend", "src/example/paid_service", "src/example/paid_service_api", "src/guard"]
members = ["src/api", "src/declarations/cycles_ledger", "src/example/app_backend", "src/example/paid_service", "src/example/paid_service_api", "src/guard", "src/papi"]
resolver = "2"

[workspace.dependencies]
Expand Down
9 changes: 9 additions & 0 deletions src/papi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "ic-papi"
version = "0.1.0"
edition = "2021"
description = "Library for implementing Paid APIs on the Internet Computer"

[dependencies]
ic-papi-api = { workspace = true }
ic-papi-guard = { workspace = true }
2 changes: 2 additions & 0 deletions src/papi/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pub use ic_papi_api as api;
pub use ic_papi_guard as guard;

0 comments on commit 91f5ddc

Please sign in to comment.