pydantic / pydantic-core

Core validation logic for pydantic written in rust
MIT License
1.4k stars 232 forks source link

Making `ObType` a separate crate #1339

Open samuelcolvin opened 3 months ago

samuelcolvin commented 3 months ago

See https://github.com/samuelcolvin/rtoml/pull/59.

We should move ObType to a separate crate so it can be reused by other projects, there's also a chance that it allows one of us, or something else to come along and make it faster.

https://github.com/pydantic/pydantic-core/blob/a65f3272f002c7663c368aa4708ca706547e3bdb/src/serializers/ob_type.rs#L383-L428

sydney-runkle commented 1 month ago

This would probably be a good issue for me to pick up at some point in terms of comfort with the rust ecosystem 👍