{"id":22282027,"url":"https://github.com/dfinity/cdk-rs","last_synced_at":"2025-10-06T08:58:49.088Z","repository":{"id":38994973,"uuid":"264296843","full_name":"dfinity/cdk-rs","owner":"dfinity","description":"Rust canister development kit for the Internet Computer.","archived":false,"fork":false,"pushed_at":"2025-09-29T16:11:16.000Z","size":2474,"stargazers_count":216,"open_issues_count":12,"forks_count":102,"subscribers_count":45,"default_branch":"main","last_synced_at":"2025-09-29T18:12:35.629Z","etag":null,"topics":["blockchain","canister","cdk","icp","internet-computer","rust","sdk","smart-contract"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dfinity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-05-15T20:54:51.000Z","updated_at":"2025-09-22T13:45:24.000Z","dependencies_parsed_at":"2023-09-22T02:38:11.167Z","dependency_job_id":"92204a92-6a28-456e-b96d-2934696f40ea","html_url":"https://github.com/dfinity/cdk-rs","commit_stats":{"total_commits":248,"total_committers":45,"mean_commits":5.511111111111111,"dds":0.814516129032258,"last_synced_commit":"f69356d75db8699ed162ce7b003a13cdcd9d2398"},"previous_names":[],"tags_count":64,"template":false,"template_full_name":null,"purl":"pkg:github/dfinity/cdk-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinity%2Fcdk-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinity%2Fcdk-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinity%2Fcdk-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinity%2Fcdk-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfinity","download_url":"https://codeload.github.com/dfinity/cdk-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinity%2Fcdk-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277569217,"owners_count":25840583,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-29T02:00:09.175Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","canister","cdk","icp","internet-computer","rust","sdk","smart-contract"],"created_at":"2024-12-03T16:24:43.299Z","updated_at":"2025-10-06T08:58:49.082Z","avatar_url":"https://github.com/dfinity.png","language":"Rust","readme":"# Rust Canister Development Kit\n\n[![Documentation](https://docs.rs/ic-cdk/badge.svg)](https://docs.rs/ic-cdk/)\n[![Crates.io](https://img.shields.io/crates/v/ic-cdk.svg)](https://crates.io/crates/ic-cdk)\n[![License](https://img.shields.io/crates/l/ic-cdk.svg)](https://github.com/dfinity/cdk-rs/blob/main/LICENSE)\n[![Downloads](https://img.shields.io/crates/d/ic-cdk.svg)](https://crates.io/crates/ic-cdk)\n[![CI](https://github.com/dfinity/cdk-rs/actions/workflows/ci.yml/badge.svg)](https://github.com/dfinity/cdk-rs/actions/workflows/ci.yml)\n\n**Rust CDK provides tools for building Canisters on Internet Computer (IC).**\n\nYou may be looking for:\n\n- [Documentation Site of the Internet Computer](https://internetcomputer.org/docs)\n- [Tutorials of Rust CDK](https://internetcomputer.org/docs/current/developer-docs/backend/rust/)\n- [`dfx` for managing IC projects](https://github.com/dfinity/sdk)\n\nIf you are looking for a crate to communicate with existing canisters on IC,\nyou may want to check [agent-rs](https://github.com/dfinity/agent-rs).\n\n# Introduction\n\nA `canister` is a WebAssembly (wasm) module that can run on the Internet Computer.\n\nTo be a `canister`, a wasm module should communicate with the execution environment using [Canister interfaces (System API)](https://internetcomputer.org/docs/current/references/ic-interface-spec/#system-api).\n\nThis repo provides libraries and tools to facilitate developing canisters in Rust.\n\n- [`ic0`](ic0):\nInternet Computer System API binding.\n- [`ic-cdk`](ic-cdk):\nInternet Computer Canister Development Kit.\n- [`ic-cdk-bindgen`](ic-cdk-bindgen):\nGenerate Rust bindings from Candid to make inter-canister calls.\n- [`ic-cdk-macros`](ic-cdk-macros):\nAnnotate functions with attribute macros to make them exposed public interfaces.\n- [`ic-cdk-timers`](ic-cdk-timers):\nThe library implements multiple and periodic timers.\n- [`ic-management-canister-types`](ic-management-canister-types): Types for calling the IC management canister.\n- [`ic-certified-map`](library/ic-certified-map):\nAn implementation of map which support *certified queries*.\n- [`ic-ledger-types`](library/ic-ledger-types):\nType definitions to communicate with the ICP ledger canister.\n\n## Rust CDK in Action\n\nIn Cargo.toml:\n\n```toml\n[lib]\ncrate-type = [\"cdylib\"]\n\n[dependencies]\nic-cdk = \"0.18\"\ncandid = \"0.10\" # required if you want to define Candid data types\n```\n\nThen in Rust source code:\n\n```rust\n#[ic_cdk::query]\nfn hello() -\u003e String{\n    \"world\".to_string()\n}\n```\n\nCheck [Rust quickstart](https://internetcomputer.org/docs/current/developer-docs/backend/rust/quickstart) for a detailed guidance.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfinity%2Fcdk-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfinity%2Fcdk-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfinity%2Fcdk-rs/lists"}