# 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 = "postcard-schema" version = "0.2.0" authors = ["James Munns "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Reflection-like schemas for postcard types" documentation = "https://docs.rs/postcard-schema/" readme = "README.md" keywords = ["serde"] categories = [ "embedded", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/jamesmunns/postcard" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "postcard_schema" path = "src/lib.rs" [[test]] name = "schema" path = "tests/schema.rs" [dependencies.chrono_v0_4] version = "0.4" optional = true default-features = false package = "chrono" [dependencies.heapless_v0_7] version = "0.7" optional = true default-features = false package = "heapless" [dependencies.heapless_v0_8] version = "0.8" optional = true default-features = false package = "heapless" [dependencies.nalgebra_v0_33] version = "0.33.0" optional = true default-features = false package = "nalgebra" [dependencies.postcard-derive] version = "0.2.0" optional = true [dependencies.serde] version = "1.0" features = ["derive"] default-features = false [dependencies.uuid_v1_0] version = "1.0" optional = true default-features = false package = "uuid" [dev-dependencies.nalgebra_v0_33] version = "0.33.0" features = ["serde-serialize-no-std"] default-features = false package = "nalgebra" [dev-dependencies.postcard] version = "1.0" features = ["use-std"] [features] alloc = ["serde/alloc"] chrono-v0_4 = ["chrono_v0_4"] default = [] derive = ["postcard-derive"] heapless-v0_7 = ["heapless_v0_7"] heapless-v0_8 = ["heapless_v0_8"] nalgebra-v0_33 = ["nalgebra_v0_33"] use-std = ["serde/std"] uuid-v1_0 = ["uuid_v1_0"]