Module candid::parser

source ·
Available on crate feature parser only.
Expand description

Provides parser for Candid type and value.

  • str.parse::<IDLProg>() parses the Candid signature file to Candid AST.
  • str.parse::<IDLArgs>() parses the Candid value in text format to a struct IDLArg that can be used for serialization and deserialization between Candid and an enum type IDLValue in Rust.

Re-exports

  • pub use crate::types::value::IDLArgs;
  • pub use crate::types::value::IDLValue;

Modules