Skip to content

Commit 28e9c4a

Browse files
Reword bin scripts
1 parent 4bfaf5f commit 28e9c4a

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-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: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
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)."
7+
categories = ["image editor", "png"]
78
readme = "README.md"
89
repository = "https://github.com/friendlymatthew/iris/"
9-
default-run = "render"
10+
default-run = "iris"
1011
resolver = "2"
1112
license = "MIT"
1213
exclude = [
@@ -20,19 +21,19 @@ exclude = [
2021
]
2122

2223
[[bin]]
23-
name = "render"
24+
name = "iris"
2425
path = "src/main.rs"
2526

2627
[[bin]]
27-
name = "decode"
28+
name = "iris-decode"
2829
path = "src/bin/decode.rs"
2930

3031
[[bin]]
31-
name = "ssim"
32+
name = "iris-ssim"
3233
path = "src/bin/ssim.rs"
3334

3435
[[bin]]
35-
name = "png-test-suite"
36+
name = "iris-png-test-suite"
3637
path = "src/bin/test_suite.rs"
3738

3839
[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)