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