Cargo
Account Management
Cargo.toml
Cargo.tomlThis file defines the metadata, compilation settings, and dependencies for the Rust backend canister.
[package]
[package]
name = "backend"
version = "0.1.0"
edition = "2021"nameβ The name of the package, in this case"backend".versionβ Current version of the package (0.1.0).editionβ Rust edition being used (2021), which determines language features and compiler behavior.
Library Configuration
[lib]
crate-type = ["cdylib"]
path = "lib.rs"crate-type = ["cdylib"]β Compiles the crate as a C-compatible dynamic library, required for Internet Computer (IC) canisters.pathβ Specifies the entry point file for the library (lib.rs).
Dependencies
candidβ Library for encoding and decoding Candid, the interface description language for the IC.ic-cdkβ The Internet Computer Canister Development Kit, providing APIs to build canisters in Rust.ic-llmβ A library for integrating large language model (LLM) functionalities within IC canisters.
Last updated