Diesel internally uses the diesel_table_macro_syntax crate to parse the schema.rs file. It might be a good idea to just use the same code in dsync to make sure that it supports all of the macro syntax without keeping close track of all variants that are supported by diesel.