Skip to main content

Description

This program enables you to run rust source files as scripts, from the command line, by prefixing them with a shebang line. It's useful because sometimes you just want to write a quick-and-dirty "script", without having to creaate a new crate/package.

Installation

With pipx

pipx install ssrs

With makepkg

git clone "https://github.com/brunofauth/ssrs"
cd ssrs
makepkg -cris

Usage

From the Command Line

ssrs-cli [ssrs-options] -- <script-file> [script-options]

From Script Files

#! /usr/bin/env ssrs

// your rust code here
fn main() {
    println!("Hello World!");
}

Metadata

Release files for ssrs 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ssrs 0.1.3
File Size Uploaded
ssrs-0.1.3.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ssrs 0.1.3
File Interpreter ABI Platform
ssrs-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 kB

Release files / ssrs-0.1.3.tar.gz

Download URL ssrs-0.1.3.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6aadf0ed5eaf96d822a9f4467f350dae45c911eca398ef8b69be41d8cf8489a4
BLAKE2b-256 checksum
How to use checksums
929982f8fac6bff763a81f9802f26062c96c7da43e3445cbacdc40b0848c8fb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release files / ssrs-0.1.3-py3-none-any.whl

Download URL ssrs-0.1.3-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1972eace15327e81f8360ea905c035e0bc6672966434518a45993c1c56727e80
BLAKE2b-256 checksum
How to use checksums
ac1a244bc8b1d39b90db7503bbf394874ae0df7fe1699c7b297a3c57231f350e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page