dartrun 1.0.0
dartrun: ^1.0.0 copied to clipboard
Execute single-file Dart scripts with embedded dependencies. No separate pubspec.yaml needed - just add dependencies as comments in your script and run it.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2025-12-30 #
Added #
- Initial stable release of dartrun - A script runner for Dart
- Support for embedded manifests in Dart scripts
- Inline dependency declarations using
//! dart-deps:syntax - Multi-line YAML dependency blocks using
//! dart-yamlmarkers - Automatic dependency resolution and caching
- Script execution with dependency management
- Compilation support for creating standalone executables
- Cache management commands (list, clean, clear)
- Support for running scripts from URLs
- Shebang support for direct script execution
- Comprehensive examples including:
- CSV processing
- Environment checking
- File statistics
- Git statistics
- HTTP requests
- JSON API interaction
- Markdown preview
- Port scanning
- Shelf server
- Todo CLI
- YAML parsing
Features #
- Fast script execution with caching
- No need for separate pubspec.yaml files
- Cargo-inspired workflow for Dart
- Compatible with Dart SDK >=3.5.0