Crate magnet_derive[][src]

Magnet, a JSON/BSON schema generator.

This crate only contains the #[derive(BsonSchema)] proc-macro. For documentation, please see the magnet_schema crate.

Functions

derive_bson_schema

The top-level entry point of this proc-macro. Only here to be exported and to handle Result::Err return values by panic!()ing.