diff --git a/Cargo.toml b/Cargo.toml index ad153d2..9565c42 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace] -members = ["src/api", "src/example/app_backend", "src/example/paid_service", "src/example/paid_service_api", "src/guard", "src/declarations/cycles_ledger"] +members = ["src/api", "src/declarations/cycles_ledger", "src/example/app_backend", "src/example/paid_service", "src/example/paid_service_api", "src/guard"] resolver = "2" [workspace.dependencies] diff --git a/src/api/Cargo.toml b/src/api/Cargo.toml index fac1969..c37f95c 100644 --- a/src/api/Cargo.toml +++ b/src/api/Cargo.toml @@ -5,8 +5,8 @@ edition = "2021" [dependencies] candid = { workspace = true } -serde = { workspace = true } -serde_bytes = { workspace = true } cycles-ledger-client = { workspace = true } -ic-ledger-types = { workspace = true } hex = { workspace = true } +ic-ledger-types = { workspace = true } +serde = { workspace = true } +serde_bytes = { workspace = true } diff --git a/src/declarations/cycles_ledger/Cargo.toml b/src/declarations/cycles_ledger/Cargo.toml index a42e2f3..5fe5b48 100644 --- a/src/declarations/cycles_ledger/Cargo.toml +++ b/src/declarations/cycles_ledger/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [dependencies] -serde = { workspace = true } -serde_bytes = { workspace = true } candid = { workspace = true } ic-cdk = { workspace = true } +serde = { workspace = true } +serde_bytes = { workspace = true } diff --git a/src/example/app_backend/Cargo.toml b/src/example/app_backend/Cargo.toml index dedaacf..77c8c48 100644 --- a/src/example/app_backend/Cargo.toml +++ b/src/example/app_backend/Cargo.toml @@ -7,11 +7,10 @@ edition = "2021" crate-type = ["cdylib"] [dependencies] -ic-cdk-macros = { workspace = true } -ic-cdk = { workspace = true } candid = { workspace = true } +ic-cdk = { workspace = true } +ic-cdk-macros = { workspace = true } ic-papi-api = { workspace = true } - [dev-dependencies] pocket-ic = { workspace = true } diff --git a/src/example/paid_service/Cargo.toml b/src/example/paid_service/Cargo.toml index 9972f0d..0aa0efc 100644 --- a/src/example/paid_service/Cargo.toml +++ b/src/example/paid_service/Cargo.toml @@ -7,17 +7,17 @@ edition = "2021" crate-type = ["cdylib"] [dependencies] -ic-cdk-macros = { workspace = true } -ic-cdk = { workspace = true } candid = { workspace = true } +example-paid-service-api = { workspace = true } +ic-cdk = { workspace = true } +ic-cdk-macros = { workspace = true } ic-papi-api = { workspace = true } ic-papi-guard = { workspace = true } ic-stable-structures = { workspace = true } +lazy_static = { workspace = true } serde = { workspace = true } serde_bytes = { workspace = true } -example-paid-service-api = { workspace = true } -lazy_static = { workspace = true } [dev-dependencies] -pocket-ic = { workspace = true } cycles-ledger-client = { workspace = true } +pocket-ic = { workspace = true } diff --git a/src/guard/Cargo.toml b/src/guard/Cargo.toml index 11fa568..913c433 100644 --- a/src/guard/Cargo.toml +++ b/src/guard/Cargo.toml @@ -4,8 +4,8 @@ version = "0.1.0" edition = "2021" [dependencies] -ic-cdk = "0.16.0" -ic-papi-api = { workspace = true } candid = { workspace = true } cycles-ledger-client = { workspace = true } +ic-cdk = "0.16.0" +ic-papi-api = { workspace = true } serde_bytes = { workspace = true }