# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "phanta" version = "0.0.0" authors = ["Joe McCain III "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "phanta implements several primitives and utilities for dealing with `PhantomData`" homepage = "https://github.com/FL03/phanta/wiki" readme = "README.md" keywords = [] categories = [] license = "Apache-2.0" repository = "https://github.com/FL03/phanta.git" [package.metadata.docs.rs] all-features = true rustc-args = [ "--cfg", "docsrs", ] [lib] name = "phanta" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" test = true doctest = false bench = true [[example]] name = "basic" path = "examples/basic.rs" required-features = ["std"] [[test]] name = "default" path = "tests/default.rs" [dependencies.serde] version = "1" features = ["derive"] optional = true default-features = false [dev-dependencies.anyhow] version = "1" [dev-dependencies.lazy_static] version = "1" [build-dependencies] [features] alloc = ["serde?/alloc"] default = ["std"] full = [ "default", "serde", ] serde = ["dep:serde"] std = [ "alloc", "serde?/std", ] [target.wasm32-unknown-unknown.dependencies] [target.wasm32-wasi]