Skip to content

Commit 1a86d23

Browse files
Another day, another project rename
1 parent ce87d47 commit 1a86d23

File tree

13 files changed

+51
-51
lines changed

13 files changed

+51
-51
lines changed

Cargo.lock

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

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

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

2626
[[bin]]
27-
name = "iris_decode_png"
27+
name = "norm_decode_png"
2828
path = "src/bin/decode_png.rs"
2929

3030
[[bin]]
31-
name = "iris_lato_glyphs"
31+
name = "norm_lato_glyphs"
3232
path = "src/bin/lato_glyphs.rs"
3333

3434
[[bin]]
35-
name = "iris_ssim"
35+
name = "norm_ssim"
3636
path = "src/bin/ssim.rs"
3737

3838
[[bin]]
39-
name = "iris_png_test_suite"
39+
name = "norm_png_test_suite"
4040
path = "src/bin/test_suite.rs"
4141

4242
[lib]

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# iris
1+
# norm
22

33
<p align="center">
44
<img src="obama-luma-gaussian-blur.png" width="250"/>
@@ -10,7 +10,7 @@
1010
A PNG editor from scratch (well, as close to scratch as possible).
1111

1212
As a decoder, this project uses the [PNG test suite](http://www.schaik.com/pngsuite/) to validate its ability to handle
13-
various PNG features and edge cases. Currently, iris can decode and render images with an 8-bit color depth.
13+
various PNG features and edge cases. Currently, norm can decode and render images with an 8-bit color depth.
1414

1515
The renderer supports various image processing features on the GPU.
1616

@@ -27,17 +27,17 @@ cargo r --release ./tests/obama.png
2727
```bash
2828

2929
# Profile the decoder
30-
cargo b --release && samply record ./target/release/iris_decode_png ./tests/reagan.png
30+
cargo b --release && samply record ./target/release/norm_decode_png ./tests/reagan.png
3131

3232
# Run ad-hoc benchmarks
33-
cargo r --release --bin iris_decode_png --features time ./tests/Periodic_table_large.png
33+
cargo r --release --bin norm_decode_png --features time ./tests/Periodic_table_large.png
3434

3535
# Parse and render glyphs from the lato font file
3636
# See the generated `glyph_playground` directory.
37-
cargo r --bin iris_lato_glyphs hfkdp!
37+
cargo r --bin norm_lato_glyphs hfkdp!
3838

3939
# Run the PNG test suite
40-
cargo r --bin iris_png_test_suite
40+
cargo r --bin norm_png_test_suite
4141

4242
# Fuzz the decoder
4343
./fuzz.sh

fuzz/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fuzz/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ edition = "2021"
55

66
[dependencies]
77
afl = "*"
8-
iris = { path = "../../iris" }
8+
norm = { path = "../../norm" }

fuzz/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use afl::fuzz;
2-
use iris::png::PngDecoder;
2+
use norm::png::PngDecoder;
33

44
fn main() {
55
fuzz!(|data: &[u8]| {

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/iris-decode "$FILE"
17+
cargo b --release && samply record ./target/release/norm-decode "$FILE"

src/bin/decode_png.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use anyhow::{anyhow, Result};
2-
use iris::png::PngDecoder;
2+
use norm::png::PngDecoder;
33
#[cfg(feature = "time")]
4-
use iris::util::event_log::{log_event, Event};
4+
use norm::util::event_log::{log_event, Event};
55
#[cfg(feature = "time")]
66
use std::time::Instant;
77

src/bin/lato_glyphs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use anyhow::Result;
2-
use iris::font::{
2+
use norm::font::{
33
grammar::{Glyph, GlyphData, SimpleGlyph},
44
shaper::TrueTypeFontShaper,
55
TrueTypeFontParser,
@@ -170,7 +170,7 @@ fn main() -> Result<()> {
170170
#[cfg(test)]
171171
mod tests {
172172
use super::*;
173-
use iris::font::grammar::SimpleGlyphFlag;
173+
use norm::font::grammar::SimpleGlyphFlag;
174174

175175
#[test]
176176
fn draw_implicit_points() {

src/bin/ssim.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use anyhow::{anyhow, Result};
2-
use iris::png::{grammar::Png, PngDecoder};
2+
use norm::png::{grammar::Png, PngDecoder};
33
use std::{fs, time::Instant};
44

55
fn read_png(image_path: &str) -> Result<Png> {

0 commit comments

Comments
 (0)