https://github.com/bigbuildbench/dfinity_candid

https://github.com/bigbuildbench/dfinity_candid

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: BigBuildBench
  • License: apache-2.0
  • Language: Rust
  • Default Branch: master
  • Size: 1.94 MB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog Contributing License Code of conduct Codeowners Security

README.md

Candid

Candid is an interface description language (IDL) for interacting with canisters (also known as services or actors) running on the Internet Computer. It provides a language-independent description of canister interfaces and the data they exchange, with type safety and extensibility.

Documentation

Implementations

Candid supports several different programming languages. This repository contains some of the implementations developed by DFINITY.

  • Rust: A serialization library based on Serde, and a compiler for generating bindings for other languages.
  • Motoko: Compiler support for importing/export Candid files. Also see the Motoko-Candid type mapping specification.
  • JavaScript: We provide a library for serialization of native JavaScript values, and a visitor class for extending Candid for building generic tools such as UI and random testing.

A list of community maintained Candid libraries:

Tools

  • didc: Candid CLI. Download prebuilt binary.
  • ui: Candid UI canister. See deployed canister on the IC
  • ic-repl: A REPL environment to communicate with canisters using Candid
  • Explain Candid: An online tool that decodes and explains a given Candid message. (Thanks to Ben Lynn)
  • Candid playground: A playground that generates UI dynamically as you type in the Candid definitions. (Thanks to B3Forge)

Tests

We provide a test suite to check Candid implementations for compliance.

Release

To make a release in this repo:

  • Update Changelog.md and merge the PR into master.
  • git tag 2020-04-01 -m "2020-04-01"
  • git push origin 2020-04-01

The tag is always today's date. As the repo contains several targets, it is hard to give a version to the tag.

Contribution

See our CONTRIBUTING and CODE OF CONDUCT to get started.

Owner

  • Name: BigBuildBench
  • Login: BigBuildBench
  • Kind: organization

abbr. B3, benchmarking the repo-level understanding capability of your LLMs by reconstructing project build-file.

GitHub Events

Total
  • Create event: 5
Last Year
  • Create event: 5

Dependencies

.github/workflows/bench.yml actions
  • actions-rs/toolchain v1 composite
  • actions/cache v4 composite
  • actions/checkout v4 composite
  • actions/setup-python v4 composite
  • thollander/actions-comment-pull-request v2 composite
.github/workflows/coq.yml actions
  • actions/checkout v4 composite
  • cachix/install-nix-action v12 composite
.github/workflows/license.yml actions
  • EmbarkStudios/cargo-deny-action v1 composite
  • actions/checkout v3 composite
.github/workflows/release.yml actions
  • actions-rs/cargo v1 composite
  • actions-rs/toolchain v1 composite
  • actions/checkout v4 composite
  • actions/download-artifact v3 composite
  • actions/upload-artifact v3 composite
  • svenstaro/upload-release-action v2 composite
.github/workflows/rust.yml actions
  • actions-rs/toolchain v1 composite
  • actions/cache v4 composite
  • actions/checkout v4 composite
Cargo.lock cargo
  • 192 dependencies
Cargo.toml cargo
rust/bench/Cargo.lock cargo
  • 131 dependencies
rust/bench/Cargo.toml cargo
rust/candid/Cargo.toml cargo
  • bincode 1.3.3 development
  • serde_cbor 0.11.2 development
  • serde_json 1.0.74 development
rust/candid/fuzz/Cargo.lock cargo
  • anyhow 1.0.86
  • arbitrary 1.3.2
  • arrayvec 0.5.2
  • autocfg 1.3.0
  • binread 2.2.0
  • binread_derive 2.1.0
  • block-buffer 0.10.4
  • byteorder 1.5.0
  • cc 1.0.99
  • cfg-if 1.0.0
  • cpufeatures 0.2.12
  • crc32fast 1.4.2
  • crypto-common 0.1.6
  • data-encoding 2.6.0
  • digest 0.10.7
  • either 1.12.0
  • generic-array 0.14.7
  • hex 0.4.3
  • jobserver 0.1.31
  • lazy_static 1.4.0
  • leb128 0.2.5
  • libc 0.2.155
  • libfuzzer-sys 0.4.7
  • num-bigint 0.4.5
  • num-integer 0.1.46
  • num-traits 0.2.19
  • once_cell 1.19.0
  • paste 1.0.15
  • pretty 0.12.3
  • proc-macro2 1.0.85
  • psm 0.1.21
  • quote 1.0.36
  • rustversion 1.0.17
  • serde 1.0.203
  • serde_bytes 0.11.14
  • serde_derive 1.0.203
  • sha2 0.10.8
  • stacker 0.1.15
  • syn 1.0.109
  • syn 2.0.66
  • thiserror 1.0.61
  • thiserror-impl 1.0.61
  • typed-arena 2.0.2
  • typenum 1.17.0
  • unicode-ident 1.0.12
  • unicode-width 0.1.13
  • version_check 0.9.4
  • winapi 0.3.9
  • winapi-i686-pc-windows-gnu 0.4.0
  • winapi-x86_64-pc-windows-gnu 0.4.0
rust/candid/fuzz/Cargo.toml cargo
rust/candid_derive/Cargo.toml cargo
rust/candid_parser/Cargo.toml cargo
  • goldenfile 1.1.0 development
  • test-generator 0.3.0 development
rust/ic_principal/Cargo.toml cargo
  • impls 1 development
  • serde_cbor 0.11.2 development
  • serde_json 1.0.74 development
  • serde_test 1.0.137 development
tools/candiff/Cargo.toml cargo
  • assert_cmd 1.0.1 development
  • predicates 1.0.5 development
tools/didc/Cargo.toml cargo
tools/didc-js/wasm-package/Cargo.toml cargo
tools/ui/Cargo.lock cargo
  • 125 dependencies
tools/ui/Cargo.toml cargo
tools/ui/src/didjs/Cargo.toml cargo
tools/didc-js/package.json npm
  • @types/jest 29.5.14 development
  • @types/node 22.7.9 development
  • jest 29.7.0 development
  • terser 5.36.0 development
  • ts-jest 29.2.5 development
  • ts-node 10.9.2 development
  • tslib 2.8.0 development
  • typescript 5.6.3 development
  • wasm-pack 0.13.0 development
tools/didc-js/pnpm-lock.yaml npm
  • babel__core@7.20.5
  • babel__generator@7.6.8
  • babel__template@7.4.4
  • babel__traverse@7.20.6
  • code-frame@7.25.7
  • commons@3.0.1
  • compat-data@7.25.8
  • console@29.7.0
  • core@29.7.0
  • core@7.25.8
  • environment@29.7.0
  • expect-utils@29.7.0
  • expect@29.7.0
  • fake-timers@10.3.0
  • fake-timers@29.7.0
  • gen-mapping@0.3.5
  • generator@7.25.7
  • globals@29.7.0
  • graceful-fs@4.1.9
  • helper-compilation-targets@7.25.7
  • helper-module-imports@7.25.7
  • helper-module-transforms@7.25.7
  • helper-plugin-utils@7.25.7
  • helper-simple-access@7.25.7
  • helper-string-parser@7.25.7
  • helper-validator-identifier@7.25.7
  • helper-validator-option@7.25.7
  • helpers@7.25.7
  • highlight@7.25.7
  • istanbul-lib-coverage@2.0.6
  • istanbul-lib-report@3.0.3
  • istanbul-reports@3.0.4
  • jest@29.5.14
  • load-nyc-config@1.1.0
  • node10@1.0.11
  • node12@1.0.11
  • node14@1.0.3
  • node16@1.0.4
  • node@22.7.9
  • parser@7.25.8
  • plugin-syntax-async-generators@7.8.4
  • plugin-syntax-bigint@7.8.3
  • plugin-syntax-class-properties@7.12.13
  • plugin-syntax-class-static-block@7.14.5
  • plugin-syntax-import-attributes@7.25.7
  • plugin-syntax-import-meta@7.10.4
  • plugin-syntax-json-strings@7.8.3
  • plugin-syntax-jsx@7.25.7
  • plugin-syntax-logical-assignment-operators@7.10.4
  • plugin-syntax-nullish-coalescing-operator@7.8.3
  • plugin-syntax-numeric-separator@7.10.4
  • plugin-syntax-object-rest-spread@7.8.3
  • plugin-syntax-optional-catch-binding@7.8.3
  • plugin-syntax-optional-chaining@7.8.3
  • plugin-syntax-private-property-in-object@7.14.5
  • plugin-syntax-top-level-await@7.14.5
  • plugin-syntax-typescript@7.25.7
  • remapping@2.3.0
  • reporters@29.7.0
  • resolve-uri@3.1.2
  • schema@0.1.3
  • schemas@29.6.3
  • set-array@1.2.1
  • source-map-support@0.8.1
  • source-map@0.3.6
  • source-map@29.6.3
  • sourcemap-codec@1.5.0
  • stack-utils@2.0.3
  • template@7.25.7
  • test-result@29.7.0
  • test-sequencer@29.7.0
  • trace-mapping@0.3.25
  • trace-mapping@0.3.9
  • transform@29.7.0
  • traverse@7.25.7
  • typebox@0.27.8
  • types@29.6.3
  • types@7.25.8
  • v8-coverage@0.2.3
  • yargs-parser@21.0.3
  • yargs@17.0.33
tools/didc-js/wasm-package/package.json npm
  • wasm-pack 0.13.0 development
tools/didc-js/wasm-tests/package.json npm
  • @dfinity/didc workspace:* development
  • @types/jest 29.5.14 development
  • @types/node 22.7.9 development
  • jest 29.7.0 development
  • ts-jest 29.2.5 development
  • ts-node 10.9.2 development
  • tslib 2.8.0 development
  • typescript 5.6.3 development
tools/ui/package-lock.json npm
  • 237 dependencies
tools/ui/package.json npm
  • @dfinity/agent 2.1.3 development
  • @dfinity/auth-client 2.1.3 development
  • @dfinity/candid 2.1.3 development
  • @dfinity/identity 2.1.3 development
  • @dfinity/principal 2.1.3 development
  • buffer 6.0.3 development
  • copy-webpack-plugin ^12.0.2 development
  • css-loader ^7.1.2 development
  • html-webpack-plugin ^5.6.0 development
  • style-loader ^4.0.0 development
  • terser-webpack-plugin ^5.3.10 development
  • ts-loader ^9.5.1 development
  • tsconfig-paths-webpack-plugin ^4.1.0 development
  • typescript ^5.6.2 development
  • webpack 5.95.0 development
  • webpack-cli 5.1.4 development