Skip to content

Commit

Permalink
++
Browse files Browse the repository at this point in the history
  • Loading branch information
bitdivine committed Dec 5, 2024
1 parent e407628 commit 74d78b3
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Cargo.lock

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

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
members = [
"src/backend",
"src/cycles_ledger/client",
"src/cycles_ledger/pic",
"src/cycles_ledger/types",
"src/shared"
]
Expand All @@ -12,6 +13,8 @@ ic-cdk = "0.16.0"
ic-cdk-macros = "0.16.0"
ic-cdk-timers = "0.9.0"
ic-cycles-ledger-client = { path = "src/cycles_ledger/client" }
ic-cycles-ledger-pic = { path = "src/cycles_ledger/pic" }
ic-cycles-ledger-types = { path = "src/cycles_ledger/types" }
ic-ledger-types = "0.13.0"
ic-stable-structures = "0.6.7"
ic-metrics-encoder = "1.1.1"
Expand Down
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,18 @@ COPY Cargo.lock .
COPY Cargo.toml .
COPY src/backend/Cargo.toml src/backend/Cargo.toml
COPY src/cycles_ledger/client/Cargo.toml src/cycles_ledger/client/Cargo.toml
COPY src/cycles_ledger/pic/Cargo.toml src/cycles_ledger/pic/Cargo.toml
COPY src/cycles_ledger/types/Cargo.toml src/cycles_ledger/types/Cargo.toml
COPY src/shared/Cargo.toml src/shared/Cargo.toml
ENV CARGO_TARGET_DIR=/cargo_target
RUN mkdir -p src/backend/src \
&& touch src/backend/src/lib.rs \
&& mkdir -p src/cycles_ledger/client/src \
&& touch src/cycles_ledger/client/src/lib.rs \
&& mkdir -p src/cycles_ledger/pic/src \
&& touch src/cycles_ledger/pic/src/lib.rs \
&& mkdir -p src/cycles_ledger/types/src \
&& touch src/cycles_ledger/types/src/lib.rs \
&& mkdir -p src/shared/src \
&& touch src/shared/src/lib.rs \
&& ./docker/build --only-dependencies \
Expand Down
12 changes: 12 additions & 0 deletions src/cycles_ledger/pic/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "ic-cycles-ledger-pic"
version = "0.1.0"
edition = "2021"

[dependencies]
candid = { workspace = true }
ic-cdk = { workspace = true }
ic-cycles-ledger-types = { workspace = true }
pocket-ic = { workspace = true }
serde = { workspace = true }
serde_bytes = { workspace = true }
1 change: 1 addition & 0 deletions src/cycles_ledger/pic/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
//! TODO: Generate pic bindings.

0 comments on commit 74d78b3

Please sign in to comment.