{"id":15295202,"url":"https://github.com/liuchong/rustx","last_synced_at":"2026-02-18T15:02:04.191Z","repository":{"id":247397997,"uuid":"170873114","full_name":"liuchong/rustx","owner":"liuchong","description":"Rustx invoke cargo-script.","archived":false,"fork":false,"pushed_at":"2024-07-08T10:19:06.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-12T07:36:05.318Z","etag":null,"topics":["rust","rust-crate","rust-lang","rustlang","shebang"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liuchong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-15T13:56:39.000Z","updated_at":"2024-12-06T15:48:26.000Z","dependencies_parsed_at":"2024-07-08T15:11:46.652Z","dependency_job_id":"0b0c2d23-2a49-4f9c-9751-d409e5c3c033","html_url":"https://github.com/liuchong/rustx","commit_stats":null,"previous_names":["liuchong/rustx"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/liuchong/rustx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuchong%2Frustx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuchong%2Frustx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuchong%2Frustx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuchong%2Frustx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liuchong","download_url":"https://codeload.github.com/liuchong/rustx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuchong%2Frustx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010666,"owners_count":26084784,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rust","rust-crate","rust-lang","rustlang","shebang"],"created_at":"2024-09-30T17:09:02.191Z","updated_at":"2025-10-12T07:36:05.615Z","avatar_url":"https://github.com/liuchong.png","language":"Rust","readme":"# rustx\n\n[![Build Status](https://github.com/liuchong/rustx/actions/workflows/rust.yml/badge.svg)](https://github.com/liuchong/rustx/actions/workflows/rust.yml)\n[![APACHE licensed](https://img.shields.io/badge/license-apache%202.0-blue.svg)](./LICENSE-APACHE)\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE-MIT)\n[![crates.io](https://img.shields.io/crates/v/rustx.svg)](https://crates.io/crates/rustx)\n[![Released API docs](https://docs.rs/rustx/badge.svg)](https://docs.rs/rustx)\n\nRustx invoke cargo-script.\n\n\u003chttps://doc.rust-lang.org/reference/input-format.html\u003e\n\n## Usage\n\n1. `cargo install rustx`, `cargo install cargo-script`\n\n2. create a file, for example, `hello.rs` as below, then `chmod +x hello.rs`, `./hello.rs`.\n\n``` rust\n#!/usr/bin/env rustx\n\nfn main() {\n    println!(\"Hello!\");\n}\n```\n\n## License\n\nLicensed under either of these:\n\n * Apache License Version 2.0 [LICENSE-APACHE](LICENSE-APACHE)\n * MIT License [LICENSE-MIT](LICENSE-MIT)\n\n### Contributing\n\nPlease sign a cla, thanks!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuchong%2Frustx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliuchong%2Frustx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuchong%2Frustx/lists"}