Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Install
[!NOTE] It is not recommended to use
cargo installto installmingling-clifrom crates.io, as it does not include the initialization script.
mling will be released alongside mingling@0.4 and later versions on Github. You can download the pre-built version from there and install it by loading the load_mling script included in the release.
Generate Project
# Set the template source
# Create a template
Afterward, mling will create a checklist.toml in your current directory. Please complete and fill it in:
Once you've finished writing, continue with:
# Continue setting up the project
Install & Manage Projects
mling provides a quick way to install and debug your Mingling programs
# Install your program
# Enable your package
# .. Restart your Shell, and you'll be able to access it
# When you're done testing, you can disable the package to avoid cluttering your Shell environment
# Or you can uninstall it directly
Linter (In Development)
mling provides a linter to check the quality of your code
# Run the linter
# Explain a lint
Mingling Linter & Rust Analyzer
You can integrate mling lint into RA using mling ra-lint-clippy or mling ra-lint-check. Simply enable the following in your RA settings:
{
// use `mling ra-lint-check` override
"rust-analyzer.check.overrideCommand": ["mling", "ra-lint-check"],
"rust-analyzer.checkOnSave": true,
}
License
Under MIT OR Apache-2.0