martin/martin-mbtiles
Yuri Astrakhan 74c84fab1f
rename id_format to source_id_format, refactor (#794)
* rename configuration `auto_publish.tables.id_format` and
`auto_publish.functions.id_format` fields from `id_format` to
`source_id_format` fields. The `id_format` will continue to be supported
(read) from the configuration, but it will be auto-converted to the new
name on save. It is an error to have both in the same config file.
  * The rename was discussed in #682

* internal refactorings: consolidate PG-related utilities, rename a few
vars, move PG errors to their own file.

This is partially made due to #790 (thanks @Binabh!) - and should be
merged before that to make that PR easier.
2023-08-03 01:13:38 +00:00
..
.sqlx Add ability to copy to existing mbtiles files (#778) 2023-07-27 18:54:49 +00:00
src rename id_format to source_id_format, refactor (#794) 2023-08-03 01:13:38 +00:00
.env Add .mbtiles support (#549) 2023-01-09 00:10:23 -05:00
Cargo.toml update lock, minor toml sort cleanup 2023-07-05 20:56:23 -04:00
README.md readme for all packages 2023-06-04 00:56:20 -04:00

martin-mbtiles

Book docs.rs docs Slack chat GitHub crates.io version CI build

A library to help tile servers like Martin work with MBTiles files.

This crate also has a small utility that allows users to interact with the *.mbtiles files from the command line. See tools documentation for more information.

Development

Any changes to SQL commands require running of just prepare-sqlite. This will install cargo sqlx command if it is not already installed, and update the ./sqlx-data.json file.