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!");
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ssrs-0.1.3.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ssrs-0.1.3-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file ssrs-0.1.3.tar.gz.

File metadata

  • Download URL: ssrs-0.1.3.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for ssrs-0.1.3.tar.gz
Algorithm Hash digest
SHA256 6aadf0ed5eaf96d822a9f4467f350dae45c911eca398ef8b69be41d8cf8489a4
MD5 7b6fc7c2d1529f392e9d1d53873a4b9d
BLAKE2b-256 929982f8fac6bff763a81f9802f26062c96c7da43e3445cbacdc40b0848c8fb9

See more details on using hashes here.

File details

Details for the file ssrs-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: ssrs-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for ssrs-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1972eace15327e81f8360ea905c035e0bc6672966434518a45993c1c56727e80
MD5 9333022c7afda487b4f3aa9a7f4b0ca4
BLAKE2b-256 ac1a244bc8b1d39b90db7503bbf394874ae0df7fe1699c7b297a3c57231f350e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page