Skip to main content

ordinary_assets/
lib.rs

1#![cfg_attr(docsrs, feature(doc_cfg))]
2#![doc = include_str!("../README.md")]
3#![warn(clippy::all, clippy::pedantic)]
4
5// Copyright (C) 2026 Ordinary Labs, LLC.
6//
7// SPDX-License-Identifier: AGPL-3.0-only
8
9pub const APP_V1_JS: &str = include_str!(concat!(
10    env!("CARGO_MANIFEST_DIR"),
11    "/generated/v1/js/index.js"
12));
13
14pub const APP_V1_JS_PX: &str = "import { px } from '/.ordinary/v1/js'; px();";
15
16// generated with https://singlecolorimage.com where generated results are
17// licenced under https://creativecommons.org/publicdomain/zero/1.0/
18pub const APP_V1_IMG_PX: &[u8] = include_bytes!(concat!(
19    env!("CARGO_MANIFEST_DIR"),
20    "/generated/v1/img/px.png"
21));
22
23pub const APP_V1_WASM: &[u8] = include_bytes!(concat!(
24    env!("CARGO_MANIFEST_DIR"),
25    "/generated/v1/wasm/client.wasm"
26));