-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
47 lines (39 loc) · 1.21 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[package]
name = "base16cs"
version = "0.3.0"
edition = "2021"
authors = ["Santoso Wijaya <[email protected]>"]
description = "A base16 color palette template renderer"
readme = "README.md"
keywords = ["base16", "colors", "colorscheme"]
homepage = "https://github.com/santoso-wijaya/base16cs"
repository = "https://github.com/santoso-wijaya/base16cs"
documentation = "https://docs.rs/base16cs"
license = "MIT"
[lib]
name = "base16cs"
path = "src/lib.rs"
[[bin]]
name = "base16cs-render"
path = "src/bin/render.rs"
required-features = ["cli"]
[features]
default = ["liquid", "yaml"]
liquid = ["dep:liquid", "dep:glob"]
yaml = ["dep:serde_yaml"]
cli = ["dep:clap", "dep:exitcode"]
[dependencies]
anyhow = { version = "1.0" }
arrayvec = { version = "0.7", features = ["serde"] }
glob = { version = "0.3", optional = true }
liquid = { version = "0.26", features = ["stdlib"], optional = true }
num-traits = "0.2"
palette = { version = "0.7", features = ["serializing"] }
serde = { version = "1.0" }
serde_arrays = "0.1"
serde_yaml = { version = "0.9", optional = true }
clap = { version = "4.5", features = ["derive"], optional = true }
exitcode = { version = "1.1.2", optional = true }
[dev-dependencies]
rstest = "0.21"
tempdir = "0.3"