config!() { /* proc-macro */ }Expand description
This function-like macro makes static CONFIG which contains app_id, a connection of an embedded database, and sync server endpoint URL.
config! {
app_id: "a917e367-3484-424d-9302-f09bdaf647ae" ,
sync_server_endpoint: "http://127.0.0.1:3000/presigned-url" ,
database_directory_name: "local" ,
database_file_name: "local.sqlite3"
}