[package] name = "pezsp-weights" version = "27.0.0" authors.workspace = true edition.workspace = true license = "Apache-2.0" homepage.workspace = true repository.workspace = true description = "Types and traits for interfacing between the host and the wasm runtime." documentation = "https://docs.rs/pezsp-wasm-interface" [lints] workspace = true [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] bounded-collections = { workspace = true } codec = { features = ["derive"], workspace = true } pezsp-arithmetic = { workspace = true } pezsp-debug-derive = { workspace = true } scale-info = { features = ["derive"], workspace = true } schemars = { optional = true, workspace = true } serde = { optional = true, features = ["alloc", "derive"], workspace = true } smallvec = { workspace = true, default-features = true } [features] default = ["std"] std = [ "bounded-collections/std", "codec/std", "pezsp-arithmetic/std", "pezsp-debug-derive/std", "scale-info/std", "serde/std", "schemars?/std" ] # By default some types have documentation, `full-metadata-docs` allows to add documentation to # more types in the metadata. full-metadata-docs = ["scale-info/docs"] # Serde support without relying on std features. serde = [ "bounded-collections/serde", "dep:serde", "pezsp-arithmetic/serde", "scale-info/serde", ] json-schema = ["dep:schemars"]