Skip to main content

Crate ftm_types

Crate ftm_types 

Source
Expand description

FollowTheMoney schema parser and code generator

This library downloads FTM YAML schemas from the opensanctions/followthemoney repository and generates type-safe Rust structs.

Re-exports§

pub use codegen::CodeGenerator;
pub use schema::FtmProperty;
pub use schema::FtmSchema;
pub use schema::ResolvedSchema;
pub use schema::SchemaRegistry;
pub use generated::FtmEntity;

Modules§

codegen
Code generation for FTM schemas
generated
schema
FTM schema parser