Skip to content

Commit cfa3038

Browse files
committed
move image constant data to main crate
real 0.11.0 release
1 parent 38d315f commit cfa3038

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ site/dist
1111
*.txt
1212
*.db
1313
!*/assets/*
14+
!src/primitive/assets/*
1415

1516
*.ua
1617
*.uasm
File renamed without changes.

src/primitive/defs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,10 @@ constant!(
223223
("Hair", "🦰🦱🦲🦳"),
224224
/// The Uiua logo
225225
#[cfg(feature = "image")]
226-
("Logo", image_bytes_to_array(include_bytes!("../../site/assets/uiua-logo-512.png"), true).unwrap()),
226+
("Logo", image_bytes_to_array(include_bytes!("assets/uiua-logo-512.png"), true).unwrap()),
227227
/// Ethically sourced Lena picture
228228
#[cfg(feature = "image")]
229-
("Lena", image_bytes_to_array(include_bytes!("../../site/assets/lena.jpg"), false).unwrap()),
229+
("Lena", image_bytes_to_array(include_bytes!("assets/lena.jpg"), false).unwrap()),
230230
///
231231
(
232232
"⍼",

0 commit comments

Comments
 (0)