#uplink #scheme #data-encoding #redshirt1 #redshirt2

redshirt

Provides support for the Redshirt 1 and Redshirt 2 data encoding schemes

3 releases

0.1.3 Sep 24, 2019
0.1.2 Sep 22, 2019
0.1.1 Sep 4, 2019
0.1.0 Sep 4, 2019

#1662 in Encoding

Apache-2.0 OR MIT

36KB
703 lines

redshirt

Travis CI Crates.io Docs.rs

This crate provides utilities for reading and writing Redshirt 1- or Redshirt 2-encoded data. The Redshirt encoding schemes are used in Uplink, a 2001 computer hacking simulation game developed by Introversion Software.

Usage

Add redshirt to your Cargo.toml

[dependencies]
redshirt = "^0.1.0"

If you're using Rust 2015, you'll also need to add redshirt to your crate root:

extern crate redshirt;

For more details, please refer to the API documentation.

Features

redshirt specifies the following Cargo features, both of which are enabled by default:

  • redshirt1: toggles Redshirt 1 support.
  • redshirt2: toggles Redshirt 2 support.

If you only need one or the other, you can specify this in your Cargo.toml. For example:

[dependencies]
redshirt = { version = "^0.1.0", default-features = false, features = ["redshirt1"] }

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0–2.8MB
~73K SLoC