[package] authors.workspace = true build = "build.rs" categories.workspace = true description.workspace = true edition.workspace = true homepage.workspace = true keywords.workspace = true license.workspace = true name = "pzzld-core" readme.workspace = true repository.workspace = true version.workspace = true [features] default = [ "std", ] full = [ "default", "rand", "serde", ] # ********* [FF] Dependencies ********* alloc = [ "rand?/alloc", "serde?/alloc", ] rand = [ "dep:rand", ] serde = [ "dep:serde" ] # ********* [FF] Environments ********* std = [ "alloc", "rand?/std", "serde?/std", "strum/std", ] [lib] bench = true crate-type = ["cdylib", "rlib"] doctest = true test = true [[test]] name = "default" [build-dependencies] [dependencies] paste.workspace = true smart-default.workspace = true [dependencies.rand] default-features = false optional = true version = "0.8" [dependencies.serde] default-features = false features = ["derive"] optional = true version = "1" [dependencies.strum] default-features = false features = ["derive"] version = "0.26" [dev-dependencies] lazy_static.workspace = true [package.metadata.docs.rs] all-features = true rustc-args = ["--cfg", "docsrs"] [target.'cfg(target_family = "wasm32")'.dependencies] getrandom = { features = ["js"], version = "0.2" } [target.wasm32-wasi]