[workspace]
members = ["xtask"]
[package]
name = "prismatica"
version = "0.1.0"
edition = "2024"
rust-version = "1.85"
description = "260+ scientific colormaps as compile-time Rust constants"
license = "GPL-3.0-only"
repository = "https://github.com/resonant-jovian/prismatica"
documentation = "https://docs.rs/prismatica"
readme = "README.md"
keywords = ["colormap", "scientific", "visualization", "perceptual", "data-viz"]
categories = ["no-std", "science", "visualization"]
exclude = ["data/", "xtask/"]
[features]
default = ["std", "core"]
std = ["alloc"]
alloc = []
core = ["matplotlib", "crameri"]
matplotlib = []
crameri = []
cet = []
cmocean = []
colorbrewer = []
cmasher = []
ncar = []
cartocolors = []
moreland = []
d3 = []
all = [
"matplotlib", "crameri", "cet", "cmocean", "colorbrewer",
"cmasher", "ncar", "cartocolors", "moreland", "d3",
]
egui-integration = ["dep:egui"]
plotters-integration = ["dep:plotters"]
image-integration = ["dep:image"]
serde-support = ["dep:serde"]
[dependencies]
libm = "0.2"
egui = { version = "0.33", optional = true, default-features = false }
plotters = { version = "0.3", optional = true, default-features = false }
image = { version = "0.25", optional = true, default-features = false }
serde = { version = "1", optional = true, features = ["derive"] }