Up to [cvs.NetBSD.org] / pkgsrc / devel / py-msgspec
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-msgspec: updated to 0.20.0 0.20.0 (2025-11-23) Support Python 3.14, including freethreaded mode Expose the StructMeta metaclass Add msgspec.inspect.is_struct and msgspec.inspect.is_struct_type functions for checking whether an object is a msgspec.Struct-like instance or class Support Windows arm64 builds Enable ThinLTO on macOS aarch64 builds Fix leaks of re.Pattern objects when using pattern constraints of msgspec.Meta Fixed memoryview support for msgspec.msgpack Fix crash when typing.TypedDict contains incorrect metadata Add setuptools-scm as a build dependency instead of vendoring versioneer Remove support for legacy packaging builds Improved the developer experience by adding the just command runner and Dev Container support
Fix PLIST after py-setuptools update; bump depends and revision
devel/py-msgspec: import py-msgspec-0.18.6 msgspec is a fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML. It features: * High performance encoders/decoders for common protocols. The JSON and MessagePack implementations regularly benchmark as the fastest options for Python. * Support for a wide variety of Python types. Additional types may be supported through extensions. * Zero-cost schema validation using familiar Python type annotations. In benchmarks msgspec decodes and validates JSON faster than orjson can decode it alone. * A speedy Struct type for representing structured data. If you already use dataclasses or attrs, Structs should feel familiar. However, they're 5-60x faster for common operations.