Install & Quickstart
此内容尚不支持你的语言。
Install xidlc
Section titled “Install xidlc”Release installer
Section titled “Release installer”macOS and Linux:
curl --proto '=https' --tlsv1.2 -sSf https://xidl.github.io/xidl/public/install.sh | shWindows PowerShell:
iwr -useb https://xidl.github.io/xidl/public/install.ps1 | iexcargo install xidlcCargo Binstall
Section titled “Cargo Binstall”cargo binstall xidlcVerify the install
Section titled “Verify the install”xidlc --helpGenerate a first artifact
Section titled “Generate a first artifact”xidlc gen -o out rust your.idlBuilt-in targets
Section titled “Built-in targets”rustrust-axumrust-jsonrpcopenapiopenrpctypescriptgopython
Next steps
Section titled “Next steps”- Continue with First HTTP API.
- Read Using xidlc.
- Browse Supported Targets.