[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 = "phanta" readme.workspace = true repository.workspace = true version.workspace = true [features] default = [ "std", ] full = [ "default", "serde", ] # [FF] Dependencies alloc = [ "serde?/alloc", ] serde = [ "dep:serde" ] # ********* [FF] Environments ********* std = [ "alloc", "serde?/std", ] [lib] bench = true crate-type = ["cdylib", "rlib"] doctest = false test = true [[example]] name = "basic" required-features = ["std"] [build-dependencies] [dev-dependencies] anyhow = "1" lazy_static = "1" [dependencies.serde] default-features = false features = ["derive"] optional = true version = "1" [package.metadata.docs.rs] all-features = true rustc-args = ["--cfg", "docsrs"] [target.wasm32-unknown-unknown.dependencies] [target.wasm32-wasi]