Skip to content

Commit

Permalink
0.2.28
Browse files Browse the repository at this point in the history
  • Loading branch information
mistydemeo committed Oct 16, 2023
1 parent e91be4e commit 18b14bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 35 deletions.
22 changes: 1 addition & 21 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
[package]
name = "axolotlsay"
description = "💬 a CLI for learning to distribute CLIs in rust"
version = "0.2.27"
version = "0.2.28"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/mistydemeo/cargodisttest"

[dependencies]
clap = { version = "4.1.4", features = ["derive"] }
unicode-width = "0.1.10"
cue = "2.0.0"

[dev-dependencies]
assert_cmd = "2.0.8"
Expand All @@ -22,13 +21,13 @@ lto = "thin"
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.3.0-github-use-linkage-data"
cargo-dist-version = "0.3.0-github-linux-musl"
# CI backends to support
ci = ["github"]
# The installers to generate for each app
installers = ["shell", "homebrew"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["x86_64-unknown-linux-gnu", "x86_64-apple-darwin"]
targets = ["x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-musl"]
# The archive format to use for windows builds (defaults .zip)
windows-archive = ".tar.gz"
# The archive format to use for non-windows builds (defaults .tar.xz)
Expand Down
10 changes: 0 additions & 10 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,13 @@
use clap::Parser;
use unicode_width::UnicodeWidthStr;

use cue;

#[derive(Parser, Debug)]
#[command(author, version, about, long_about = None)]
struct Args {
msg: String,
}

fn main() {
cue::cd::CD::parse(
r#"FILE "basic_image.bin" BINARY
TRACK 01 MODE1/2352
INDEX 01 00:00:00"#
.to_owned(),
)
.unwrap();

let args = Args::parse();
let msg = &args.msg;
let count = UnicodeWidthStr::width(args.msg.as_str());
Expand Down

0 comments on commit 18b14bf

Please sign in to comment.