Skip to content

Commit 41d42d5

Browse files
Reword bin scripts
1 parent 4bfaf5f commit 41d42d5

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "iris"
33
authors = ["Matthew Kim"]
4-
version = "0.1.0"
4+
version = "0.1.1"
55
edition = "2021"
66
description = "An image editor written from scratch (as close as possible)."
77
readme = "README.md"
88
repository = "https://github.com/friendlymatthew/iris/"
9-
default-run = "render"
9+
default-run = "iris"
1010
resolver = "2"
1111
license = "MIT"
1212
exclude = [
@@ -20,19 +20,19 @@ exclude = [
2020
]
2121

2222
[[bin]]
23-
name = "render"
23+
name = "iris"
2424
path = "src/main.rs"
2525

2626
[[bin]]
27-
name = "decode"
27+
name = "iris-decode"
2828
path = "src/bin/decode.rs"
2929

3030
[[bin]]
31-
name = "ssim"
31+
name = "iris-ssim"
3232
path = "src/bin/ssim.rs"
3333

3434
[[bin]]
35-
name = "png-test-suite"
35+
name = "iris-png-test-suite"
3636
path = "src/bin/test_suite.rs"
3737

3838
[lib]

profile_decoder.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ if [ ! -f "$FILE" ]; then
1414
exit 1
1515
fi
1616

17-
cargo b --release && samply record ./target/release/decode "$FILE"
17+
cargo b --release && samply record ./target/release/iris-decode "$FILE"

src/font/grammar.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,12 @@ pub enum Glyph {
390390
},
391391
}
392392

393+
impl Glyph {
394+
pub fn to_svg(&self) -> String {
395+
todo!()
396+
}
397+
}
398+
393399
#[derive(Debug, Clone, Copy)]
394400
pub struct SimpleGlyphFlag(pub u8);
395401

0 commit comments

Comments
 (0)