2019-04-12 13:48:54 +03:00
|
|
|
# This file is automatically @generated by Cargo.
|
|
|
|
# It is not intended for manual editing.
|
2021-07-22 21:44:26 +03:00
|
|
|
version = 3
|
|
|
|
|
2018-02-21 13:37:31 +03:00
|
|
|
[[package]]
|
|
|
|
name = "actix"
|
2022-08-15 16:54:48 +03:00
|
|
|
version = "0.13.0"
|
2018-02-21 13:37:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-15 16:54:48 +03:00
|
|
|
checksum = "f728064aca1c318585bf4bb04ffcfac9e75e508ab4e8b1bd9ba5dfe04e2cbed5"
|
2020-10-14 10:59:32 +03:00
|
|
|
dependencies = [
|
|
|
|
"actix-rt",
|
|
|
|
"actix_derive",
|
2023-07-03 13:43:29 +03:00
|
|
|
"bitflags 1.3.2",
|
2022-08-15 16:54:48 +03:00
|
|
|
"bytes",
|
|
|
|
"crossbeam-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-task",
|
2021-05-01 19:37:13 +03:00
|
|
|
"futures-util",
|
2020-10-14 10:59:32 +03:00
|
|
|
"log",
|
2021-05-01 19:37:13 +03:00
|
|
|
"once_cell",
|
2023-07-04 15:05:23 +03:00
|
|
|
"parking_lot",
|
2022-08-15 16:54:48 +03:00
|
|
|
"pin-project-lite",
|
2020-10-14 10:59:32 +03:00
|
|
|
"smallvec",
|
2022-08-15 16:54:48 +03:00
|
|
|
"tokio",
|
|
|
|
"tokio-util",
|
2019-10-26 20:37:49 +03:00
|
|
|
]
|
|
|
|
|
2020-09-27 11:31:53 +03:00
|
|
|
[[package]]
|
|
|
|
name = "actix-codec"
|
2023-05-16 21:12:57 +03:00
|
|
|
version = "0.5.1"
|
2020-09-27 11:31:53 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-05-16 21:12:57 +03:00
|
|
|
checksum = "617a8268e3537fe1d8c9ead925fca49ef6400927ee7bc26750e90ecee14ce4b8"
|
2020-09-27 11:31:53 +03:00
|
|
|
dependencies = [
|
2023-07-03 13:43:29 +03:00
|
|
|
"bitflags 1.3.2",
|
2022-08-15 16:54:48 +03:00
|
|
|
"bytes",
|
2020-10-14 10:59:32 +03:00
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
2022-08-15 16:54:48 +03:00
|
|
|
"memchr",
|
|
|
|
"pin-project-lite",
|
|
|
|
"tokio",
|
|
|
|
"tokio-util",
|
2023-05-16 21:12:57 +03:00
|
|
|
"tracing",
|
2021-02-21 21:44:28 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "actix-cors"
|
2022-10-31 05:42:38 +03:00
|
|
|
version = "0.6.4"
|
2021-02-21 21:44:28 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-31 05:42:38 +03:00
|
|
|
checksum = "b340e9cfa5b08690aae90fb61beb44e9b06f44fe3d0f93781aaa58cfba86245e"
|
2021-02-21 21:44:28 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"actix-utils",
|
2020-10-14 10:59:32 +03:00
|
|
|
"actix-web",
|
|
|
|
"derive_more",
|
2021-02-21 21:44:28 +03:00
|
|
|
"futures-util",
|
|
|
|
"log",
|
|
|
|
"once_cell",
|
2022-08-15 16:54:48 +03:00
|
|
|
"smallvec",
|
2018-02-21 13:37:31 +03:00
|
|
|
]
|
|
|
|
|
2021-02-21 21:44:28 +03:00
|
|
|
[[package]]
|
|
|
|
name = "actix-http"
|
2023-08-29 22:29:59 +03:00
|
|
|
version = "3.4.0"
|
2021-02-21 21:44:28 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-29 22:29:59 +03:00
|
|
|
checksum = "a92ef85799cba03f76e4f7c10f533e66d87c9a7e7055f3391f09000ad8351bc9"
|
2021-02-21 21:44:28 +03:00
|
|
|
dependencies = [
|
2021-05-01 19:37:13 +03:00
|
|
|
"actix-codec",
|
2021-02-21 21:44:28 +03:00
|
|
|
"actix-rt",
|
|
|
|
"actix-service",
|
2021-05-01 19:37:13 +03:00
|
|
|
"actix-utils",
|
2023-08-29 22:29:59 +03:00
|
|
|
"ahash",
|
2023-03-28 07:34:09 +03:00
|
|
|
"base64",
|
2023-08-29 22:29:59 +03:00
|
|
|
"bitflags 2.4.0",
|
2022-02-12 17:25:52 +03:00
|
|
|
"brotli",
|
2022-08-15 16:54:48 +03:00
|
|
|
"bytes",
|
|
|
|
"bytestring",
|
2021-02-21 21:44:28 +03:00
|
|
|
"derive_more",
|
|
|
|
"encoding_rs",
|
|
|
|
"flate2",
|
|
|
|
"futures-core",
|
|
|
|
"h2",
|
|
|
|
"http",
|
|
|
|
"httparse",
|
2022-08-15 16:54:48 +03:00
|
|
|
"httpdate",
|
2022-09-13 01:42:06 +03:00
|
|
|
"itoa",
|
2021-02-21 21:44:28 +03:00
|
|
|
"language-tags",
|
2022-08-15 16:54:48 +03:00
|
|
|
"local-channel",
|
2021-02-21 21:44:28 +03:00
|
|
|
"mime",
|
|
|
|
"percent-encoding",
|
2022-08-15 16:54:48 +03:00
|
|
|
"pin-project-lite",
|
|
|
|
"rand",
|
2022-09-13 09:18:01 +03:00
|
|
|
"sha1",
|
2022-08-15 16:54:48 +03:00
|
|
|
"smallvec",
|
2023-01-23 09:48:53 +03:00
|
|
|
"tokio",
|
|
|
|
"tokio-util",
|
2022-08-15 16:54:48 +03:00
|
|
|
"tracing",
|
2023-07-21 05:56:50 +03:00
|
|
|
"zstd 0.12.4",
|
2021-02-21 21:44:28 +03:00
|
|
|
]
|
|
|
|
|
2020-04-26 17:57:13 +03:00
|
|
|
[[package]]
|
|
|
|
name = "actix-macros"
|
2023-07-21 05:56:50 +03:00
|
|
|
version = "0.2.4"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-21 05:56:50 +03:00
|
|
|
checksum = "e01ed3140b2f8d422c68afa1ed2e85d996ea619c988ac834d255db32138655cb"
|
2020-04-26 17:57:13 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"quote",
|
2023-08-21 10:33:22 +03:00
|
|
|
"syn 2.0.29",
|
2019-10-26 20:37:49 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "actix-router"
|
2022-09-28 11:19:23 +03:00
|
|
|
version = "0.5.1"
|
2019-10-26 20:37:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-28 11:19:23 +03:00
|
|
|
checksum = "d66ff4d247d2b160861fa2866457e85706833527840e4133f8f49aa423a38799"
|
2019-10-26 20:37:49 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"bytestring",
|
|
|
|
"http",
|
|
|
|
"regex",
|
|
|
|
"serde",
|
2022-09-28 11:19:23 +03:00
|
|
|
"tracing",
|
2019-10-26 20:37:49 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "actix-rt"
|
2023-08-28 06:26:51 +03:00
|
|
|
version = "2.9.0"
|
2019-10-26 20:37:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 06:26:51 +03:00
|
|
|
checksum = "28f32d40287d3f402ae0028a9d54bef51af15c8769492826a69d28f81893151d"
|
2019-10-26 20:37:49 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"actix-macros",
|
2022-08-15 16:54:48 +03:00
|
|
|
"futures-core",
|
|
|
|
"tokio",
|
2019-10-26 20:37:49 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "actix-server"
|
2023-08-28 06:26:51 +03:00
|
|
|
version = "2.3.0"
|
2019-10-26 20:37:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 06:26:51 +03:00
|
|
|
checksum = "3eb13e7eef0423ea6eab0e59f6c72e7cb46d33691ad56a726b3cd07ddec2c2d4"
|
2019-10-26 20:37:49 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"actix-rt",
|
|
|
|
"actix-service",
|
2021-05-01 19:37:13 +03:00
|
|
|
"actix-utils",
|
2022-08-15 16:54:48 +03:00
|
|
|
"futures-core",
|
2020-10-14 10:59:32 +03:00
|
|
|
"futures-util",
|
2022-08-15 16:54:48 +03:00
|
|
|
"mio",
|
2023-08-29 22:29:59 +03:00
|
|
|
"socket2",
|
2022-08-15 16:54:48 +03:00
|
|
|
"tokio",
|
|
|
|
"tracing",
|
2019-10-26 20:37:49 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "actix-service"
|
2022-08-15 16:54:48 +03:00
|
|
|
version = "2.0.2"
|
2019-10-26 20:37:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-15 16:54:48 +03:00
|
|
|
checksum = "3b894941f818cfdc7ccc4b9e60fa7e53b5042a2e8567270f9147d5591893373a"
|
2019-10-26 20:37:49 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"futures-core",
|
|
|
|
"paste",
|
|
|
|
"pin-project-lite",
|
2019-10-26 20:37:49 +03:00
|
|
|
]
|
|
|
|
|
2020-09-27 11:31:53 +03:00
|
|
|
[[package]]
|
|
|
|
name = "actix-utils"
|
2022-10-31 23:28:21 +03:00
|
|
|
version = "3.0.1"
|
2020-09-27 11:31:53 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-31 23:28:21 +03:00
|
|
|
checksum = "88a1dcdff1466e3c2488e1cb5c36a71822750ad43839937f85d2f4d9f8b705d8"
|
2020-09-27 11:31:53 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"local-waker",
|
|
|
|
"pin-project-lite",
|
2019-10-26 20:37:49 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "actix-web"
|
2023-08-29 22:29:59 +03:00
|
|
|
version = "4.4.0"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-29 22:29:59 +03:00
|
|
|
checksum = "0e4a5b5e29603ca8c94a77c65cf874718ceb60292c5a5c3e5f4ace041af462b9"
|
2020-10-14 10:59:32 +03:00
|
|
|
dependencies = [
|
2021-05-01 19:37:13 +03:00
|
|
|
"actix-codec",
|
|
|
|
"actix-http",
|
2020-10-14 10:59:32 +03:00
|
|
|
"actix-macros",
|
|
|
|
"actix-router",
|
|
|
|
"actix-rt",
|
|
|
|
"actix-server",
|
|
|
|
"actix-service",
|
2021-05-01 19:37:13 +03:00
|
|
|
"actix-utils",
|
2020-10-14 10:59:32 +03:00
|
|
|
"actix-web-codegen",
|
2023-08-29 22:29:59 +03:00
|
|
|
"ahash",
|
2022-08-15 16:54:48 +03:00
|
|
|
"bytes",
|
|
|
|
"bytestring",
|
|
|
|
"cfg-if",
|
|
|
|
"cookie",
|
2020-10-14 10:59:32 +03:00
|
|
|
"derive_more",
|
|
|
|
"encoding_rs",
|
2021-02-21 21:44:28 +03:00
|
|
|
"futures-core",
|
|
|
|
"futures-util",
|
2022-09-13 01:42:06 +03:00
|
|
|
"itoa",
|
2022-08-15 16:54:48 +03:00
|
|
|
"language-tags",
|
2020-10-14 10:59:32 +03:00
|
|
|
"log",
|
|
|
|
"mime",
|
2022-08-15 16:54:48 +03:00
|
|
|
"once_cell",
|
|
|
|
"pin-project-lite",
|
2020-10-14 10:59:32 +03:00
|
|
|
"regex",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2021-05-01 19:37:13 +03:00
|
|
|
"serde_urlencoded",
|
2022-08-15 16:54:48 +03:00
|
|
|
"smallvec",
|
2023-08-29 22:29:59 +03:00
|
|
|
"socket2",
|
2022-09-13 09:18:01 +03:00
|
|
|
"time",
|
2020-10-14 10:59:32 +03:00
|
|
|
"url",
|
2019-10-26 20:37:49 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "actix-web-codegen"
|
2023-08-30 03:49:08 +03:00
|
|
|
version = "4.2.2"
|
2019-10-26 20:37:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-30 03:49:08 +03:00
|
|
|
checksum = "eb1f50ebbb30eca122b188319a4398b3f7bb4a8cdf50ecfb73bfc6a3c3ce54f5"
|
2019-10-26 20:37:49 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"actix-router",
|
2020-10-14 10:59:32 +03:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-08-30 03:49:08 +03:00
|
|
|
"syn 2.0.29",
|
2018-02-21 13:37:31 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "actix_derive"
|
2022-08-15 16:54:48 +03:00
|
|
|
version = "0.6.0"
|
2018-02-21 13:37:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-15 16:54:48 +03:00
|
|
|
checksum = "6d44b8fee1ced9671ba043476deddef739dd0959bf77030b26b738cc591737a7"
|
2018-02-21 13:37:31 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-03-20 06:31:56 +03:00
|
|
|
"syn 1.0.109",
|
2020-06-07 13:08:12 +03:00
|
|
|
]
|
|
|
|
|
2023-06-28 09:14:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "addr2line"
|
2023-08-28 06:26:51 +03:00
|
|
|
version = "0.21.0"
|
2023-06-28 09:14:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 06:26:51 +03:00
|
|
|
checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb"
|
2023-06-28 09:14:48 +03:00
|
|
|
dependencies = [
|
|
|
|
"gimli",
|
|
|
|
]
|
|
|
|
|
2020-07-05 12:33:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "adler"
|
2021-04-25 14:46:44 +03:00
|
|
|
version = "1.0.2"
|
2018-10-17 12:11:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-25 14:46:44 +03:00
|
|
|
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
|
2018-10-17 12:11:23 +03:00
|
|
|
|
2023-03-03 06:32:41 +03:00
|
|
|
[[package]]
|
|
|
|
name = "ahash"
|
|
|
|
version = "0.8.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"getrandom",
|
|
|
|
"once_cell",
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
2017-10-09 14:29:03 +03:00
|
|
|
[[package]]
|
|
|
|
name = "aho-corasick"
|
2023-08-29 22:29:59 +03:00
|
|
|
version = "1.0.5"
|
2017-10-09 14:29:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-29 22:29:59 +03:00
|
|
|
checksum = "0c378d78423fdad8089616f827526ee33c19f2fddbd5de1629152c9593ba4783"
|
2017-10-09 14:29:03 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"memchr",
|
2017-09-30 13:55:44 +03:00
|
|
|
]
|
|
|
|
|
2022-02-12 17:25:52 +03:00
|
|
|
[[package]]
|
|
|
|
name = "alloc-no-stdlib"
|
2022-09-13 08:57:02 +03:00
|
|
|
version = "2.0.4"
|
2022-02-12 17:25:52 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-13 08:57:02 +03:00
|
|
|
checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3"
|
2022-02-12 17:25:52 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "alloc-stdlib"
|
2022-09-13 08:57:02 +03:00
|
|
|
version = "0.2.2"
|
2022-02-12 17:25:52 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-13 08:57:02 +03:00
|
|
|
checksum = "94fb8275041c72129eb51b7d0322c29b8387a0386127718b096429201a5d6ece"
|
2022-02-12 17:25:52 +03:00
|
|
|
dependencies = [
|
|
|
|
"alloc-no-stdlib",
|
|
|
|
]
|
|
|
|
|
2023-06-13 06:05:54 +03:00
|
|
|
[[package]]
|
|
|
|
name = "allocator-api2"
|
2023-07-17 05:21:54 +03:00
|
|
|
version = "0.2.16"
|
2023-06-13 06:05:54 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-17 05:21:54 +03:00
|
|
|
checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5"
|
2023-06-13 06:05:54 +03:00
|
|
|
|
2022-09-13 01:42:06 +03:00
|
|
|
[[package]]
|
|
|
|
name = "anes"
|
|
|
|
version = "0.1.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
|
|
|
|
|
2023-04-03 05:06:55 +03:00
|
|
|
[[package]]
|
|
|
|
name = "anstream"
|
2023-08-27 05:45:37 +03:00
|
|
|
version = "0.5.0"
|
2023-04-03 05:06:55 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-27 05:45:37 +03:00
|
|
|
checksum = "b1f58811cfac344940f1a400b6e6231ce35171f614f26439e80f8c1465c5cc0c"
|
2023-04-03 05:06:55 +03:00
|
|
|
dependencies = [
|
|
|
|
"anstyle",
|
|
|
|
"anstyle-parse",
|
2023-04-14 06:25:16 +03:00
|
|
|
"anstyle-query",
|
2023-04-03 05:06:55 +03:00
|
|
|
"anstyle-wincon",
|
2023-04-14 06:25:16 +03:00
|
|
|
"colorchoice",
|
2023-04-03 05:06:55 +03:00
|
|
|
"utf8parse",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "anstyle"
|
2023-08-28 06:26:51 +03:00
|
|
|
version = "1.0.2"
|
2023-04-03 05:06:55 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 06:26:51 +03:00
|
|
|
checksum = "15c4c2c83f81532e5845a733998b6971faca23490340a418e9b72a3ec9de12ea"
|
2023-04-03 05:06:55 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "anstyle-parse"
|
2023-06-23 06:01:57 +03:00
|
|
|
version = "0.2.1"
|
2023-04-03 05:06:55 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-23 06:01:57 +03:00
|
|
|
checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333"
|
2023-04-03 05:06:55 +03:00
|
|
|
dependencies = [
|
|
|
|
"utf8parse",
|
|
|
|
]
|
|
|
|
|
2023-04-14 06:25:16 +03:00
|
|
|
[[package]]
|
|
|
|
name = "anstyle-query"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b"
|
|
|
|
dependencies = [
|
|
|
|
"windows-sys 0.48.0",
|
|
|
|
]
|
|
|
|
|
2023-04-03 05:06:55 +03:00
|
|
|
[[package]]
|
|
|
|
name = "anstyle-wincon"
|
2023-08-27 05:45:37 +03:00
|
|
|
version = "2.1.0"
|
2023-04-03 05:06:55 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-27 05:45:37 +03:00
|
|
|
checksum = "58f54d10c6dfa51283a066ceab3ec1ab78d13fae00aa49243a45e4571fb79dfd"
|
2023-04-03 05:06:55 +03:00
|
|
|
dependencies = [
|
|
|
|
"anstyle",
|
2023-04-14 06:25:16 +03:00
|
|
|
"windows-sys 0.48.0",
|
2023-04-03 05:06:55 +03:00
|
|
|
]
|
|
|
|
|
2023-06-03 03:40:22 +03:00
|
|
|
[[package]]
|
|
|
|
name = "anyhow"
|
2023-08-17 06:10:12 +03:00
|
|
|
version = "1.0.75"
|
2023-06-03 03:40:22 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-17 06:10:12 +03:00
|
|
|
checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6"
|
2023-06-03 03:40:22 +03:00
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "arrayref"
|
|
|
|
version = "0.3.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "arrayvec"
|
2023-06-23 06:01:57 +03:00
|
|
|
version = "0.7.4"
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-23 06:01:57 +03:00
|
|
|
checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711"
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "assert_fs"
|
|
|
|
version = "1.0.13"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f070617a68e5c2ed5d06ee8dd620ee18fb72b99f6c094bed34cf8ab07c875b48"
|
|
|
|
dependencies = [
|
|
|
|
"anstyle",
|
|
|
|
"doc-comment",
|
|
|
|
"globwalk",
|
|
|
|
"predicates",
|
|
|
|
"predicates-core",
|
|
|
|
"predicates-tree",
|
|
|
|
"tempfile",
|
|
|
|
]
|
|
|
|
|
2023-01-08 22:19:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "async-compression"
|
|
|
|
version = "0.3.15"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "942c7cd7ae39e91bde4820d74132e9862e62c2f386c3aa90ccf55949f5bad63a"
|
|
|
|
dependencies = [
|
|
|
|
"brotli",
|
|
|
|
"flate2",
|
|
|
|
"futures-core",
|
|
|
|
"memchr",
|
|
|
|
"pin-project-lite",
|
|
|
|
"tokio",
|
2023-01-23 09:48:53 +03:00
|
|
|
"zstd 0.11.2+zstd.1.5.2",
|
|
|
|
"zstd-safe 5.0.2+zstd.1.5.2",
|
2023-01-08 22:19:11 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-recursion"
|
2023-03-22 07:47:14 +03:00
|
|
|
version = "1.0.4"
|
2023-01-08 22:19:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-22 07:47:14 +03:00
|
|
|
checksum = "0e97ce7de6cf12de5d7226c73f5ba9811622f4db3a5b91b55c53e987e5f91cba"
|
2023-01-08 22:19:11 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-08-21 10:33:22 +03:00
|
|
|
"syn 2.0.29",
|
2023-01-08 22:19:11 +03:00
|
|
|
]
|
|
|
|
|
2018-01-19 14:06:01 +03:00
|
|
|
[[package]]
|
2020-04-26 17:57:13 +03:00
|
|
|
name = "async-trait"
|
2023-08-14 06:01:26 +03:00
|
|
|
version = "0.1.73"
|
2018-01-19 14:06:01 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-14 06:01:26 +03:00
|
|
|
checksum = "bc00ceb34980c03614e35a3a4e218276a0a824e911d07651cd0d858a51e8c0f0"
|
2018-01-19 14:06:01 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-08-21 10:33:22 +03:00
|
|
|
"syn 2.0.29",
|
2018-01-19 14:06:01 +03:00
|
|
|
]
|
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "atoi"
|
2023-07-04 15:05:23 +03:00
|
|
|
version = "2.0.0"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-04 15:05:23 +03:00
|
|
|
checksum = "f28d99ec8bfea296261ca1af174f24225171fea9664ba9003cbebee704810528"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"num-traits",
|
|
|
|
]
|
|
|
|
|
2020-01-11 12:05:45 +03:00
|
|
|
[[package]]
|
|
|
|
name = "autocfg"
|
2022-02-12 17:25:52 +03:00
|
|
|
version = "1.1.0"
|
2020-01-11 12:05:45 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-12 17:25:52 +03:00
|
|
|
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
2020-01-11 12:05:45 +03:00
|
|
|
|
2023-06-28 09:14:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "backtrace"
|
2023-08-28 06:26:51 +03:00
|
|
|
version = "0.3.69"
|
2023-06-28 09:14:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 06:26:51 +03:00
|
|
|
checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837"
|
2023-06-28 09:14:48 +03:00
|
|
|
dependencies = [
|
|
|
|
"addr2line",
|
|
|
|
"cc",
|
|
|
|
"cfg-if",
|
|
|
|
"libc",
|
2023-07-03 13:43:29 +03:00
|
|
|
"miniz_oxide",
|
2023-06-28 09:14:48 +03:00
|
|
|
"object",
|
|
|
|
"rustc-demangle",
|
|
|
|
]
|
|
|
|
|
2023-01-23 09:48:53 +03:00
|
|
|
[[package]]
|
|
|
|
name = "base64"
|
2023-08-28 06:26:51 +03:00
|
|
|
version = "0.21.3"
|
2023-01-23 09:48:53 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 06:26:51 +03:00
|
|
|
checksum = "414dcefbc63d77c526a76b3afcf6fbb9b5e2791c19c3aa2297733208750c6e53"
|
2023-01-23 09:48:53 +03:00
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "base64ct"
|
|
|
|
version = "1.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b"
|
|
|
|
|
2022-08-15 16:54:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "bitflags"
|
|
|
|
version = "1.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
|
|
|
|
2023-07-03 13:43:29 +03:00
|
|
|
[[package]]
|
|
|
|
name = "bitflags"
|
2023-08-16 05:45:33 +03:00
|
|
|
version = "2.4.0"
|
2023-07-03 13:43:29 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-16 05:45:33 +03:00
|
|
|
checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635"
|
2023-07-04 15:05:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
2023-07-03 13:43:29 +03:00
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "bitvec"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c"
|
|
|
|
dependencies = [
|
|
|
|
"funty",
|
|
|
|
"radium",
|
|
|
|
"tap",
|
|
|
|
"wyz",
|
|
|
|
]
|
|
|
|
|
2022-01-01 20:43:04 +03:00
|
|
|
[[package]]
|
|
|
|
name = "block-buffer"
|
2023-03-09 20:37:29 +03:00
|
|
|
version = "0.10.4"
|
2022-01-01 20:43:04 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-09 20:37:29 +03:00
|
|
|
checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
|
2022-01-01 20:43:04 +03:00
|
|
|
dependencies = [
|
|
|
|
"generic-array",
|
|
|
|
]
|
|
|
|
|
2018-01-22 20:01:44 +03:00
|
|
|
[[package]]
|
2022-02-12 17:25:52 +03:00
|
|
|
name = "brotli"
|
2022-05-03 12:12:54 +03:00
|
|
|
version = "3.3.4"
|
2018-01-22 20:01:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-03 12:12:54 +03:00
|
|
|
checksum = "a1a0b1dbcc8ae29329621f8d4f0d835787c1c38bb1401979b49d13b0b305ff68"
|
2018-01-22 20:01:44 +03:00
|
|
|
dependencies = [
|
2022-02-12 17:25:52 +03:00
|
|
|
"alloc-no-stdlib",
|
|
|
|
"alloc-stdlib",
|
|
|
|
"brotli-decompressor",
|
2018-02-21 13:37:31 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2022-02-12 17:25:52 +03:00
|
|
|
name = "brotli-decompressor"
|
2023-01-17 00:15:23 +03:00
|
|
|
version = "2.3.4"
|
2018-02-21 13:37:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-17 00:15:23 +03:00
|
|
|
checksum = "4b6561fd3f895a11e8f72af2cb7d22e08366bebc2b6b57f7744c4bda27034744"
|
2018-02-21 13:37:31 +03:00
|
|
|
dependencies = [
|
2022-02-12 17:25:52 +03:00
|
|
|
"alloc-no-stdlib",
|
|
|
|
"alloc-stdlib",
|
2018-01-22 20:01:44 +03:00
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "bstr"
|
2023-08-29 22:29:59 +03:00
|
|
|
version = "1.6.1"
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-29 22:29:59 +03:00
|
|
|
checksum = "8042c26c77e5bd6897a7358e0abb3ec412ed126d826988135653fc669263899d"
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2020-01-27 08:18:39 +03:00
|
|
|
[[package]]
|
|
|
|
name = "bumpalo"
|
2023-05-23 02:04:55 +03:00
|
|
|
version = "3.13.0"
|
2020-01-27 08:18:39 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-05-23 02:04:55 +03:00
|
|
|
checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1"
|
2020-01-27 08:18:39 +03:00
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "bytemuck"
|
|
|
|
version = "1.13.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea"
|
|
|
|
|
2017-09-30 13:55:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "byteorder"
|
2021-04-25 14:46:44 +03:00
|
|
|
version = "1.4.3"
|
2017-09-30 13:55:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-25 14:46:44 +03:00
|
|
|
checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
|
2017-09-30 13:55:44 +03:00
|
|
|
|
2020-04-26 17:57:13 +03:00
|
|
|
[[package]]
|
|
|
|
name = "bytes"
|
2023-02-02 07:47:48 +03:00
|
|
|
version = "1.4.0"
|
2021-02-21 21:44:28 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-02 07:47:48 +03:00
|
|
|
checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be"
|
2021-02-21 21:44:28 +03:00
|
|
|
|
2020-04-26 17:57:13 +03:00
|
|
|
[[package]]
|
|
|
|
name = "bytestring"
|
2023-03-07 02:55:25 +03:00
|
|
|
version = "1.3.0"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-07 02:55:25 +03:00
|
|
|
checksum = "238e4886760d98c4f899360c834fa93e62cf7f721ac3c2da375cbdf4b8679aae"
|
2020-04-26 17:57:13 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"bytes",
|
2020-04-26 17:57:13 +03:00
|
|
|
]
|
|
|
|
|
2020-06-02 09:49:21 +03:00
|
|
|
[[package]]
|
|
|
|
name = "cargo-husky"
|
|
|
|
version = "1.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-14 10:59:32 +03:00
|
|
|
checksum = "7b02b629252fe8ef6460461409564e2c21d0c8e77e0944f3d189ff06c4e932ad"
|
2020-06-02 09:49:21 +03:00
|
|
|
|
2019-10-26 20:37:49 +03:00
|
|
|
[[package]]
|
|
|
|
name = "cast"
|
2022-08-15 16:54:48 +03:00
|
|
|
version = "0.3.0"
|
2019-10-26 20:37:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-15 16:54:48 +03:00
|
|
|
checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
|
2019-10-26 20:37:49 +03:00
|
|
|
|
2018-02-21 13:37:31 +03:00
|
|
|
[[package]]
|
|
|
|
name = "cc"
|
2023-08-21 10:33:22 +03:00
|
|
|
version = "1.0.83"
|
2018-02-21 13:37:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-21 10:33:22 +03:00
|
|
|
checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
|
2022-08-15 16:54:48 +03:00
|
|
|
dependencies = [
|
|
|
|
"jobserver",
|
2023-08-02 04:39:24 +03:00
|
|
|
"libc",
|
2022-08-15 16:54:48 +03:00
|
|
|
]
|
2018-01-18 13:42:06 +03:00
|
|
|
|
2020-10-31 13:07:04 +03:00
|
|
|
[[package]]
|
|
|
|
name = "cfg-if"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
|
|
|
2022-09-13 01:42:06 +03:00
|
|
|
[[package]]
|
|
|
|
name = "ciborium"
|
2023-05-09 11:39:31 +03:00
|
|
|
version = "0.2.1"
|
2022-09-13 01:42:06 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-05-09 11:39:31 +03:00
|
|
|
checksum = "effd91f6c78e5a4ace8a5d3c0b6bfaec9e2baaef55f3efc00e45fb2e477ee926"
|
2022-09-13 01:42:06 +03:00
|
|
|
dependencies = [
|
|
|
|
"ciborium-io",
|
|
|
|
"ciborium-ll",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ciborium-io"
|
2023-05-09 11:39:31 +03:00
|
|
|
version = "0.2.1"
|
2022-09-13 01:42:06 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-05-09 11:39:31 +03:00
|
|
|
checksum = "cdf919175532b369853f5d5e20b26b43112613fd6fe7aee757e35f7a44642656"
|
2022-09-13 01:42:06 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ciborium-ll"
|
2023-05-09 11:39:31 +03:00
|
|
|
version = "0.2.1"
|
2022-09-13 01:42:06 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-05-09 11:39:31 +03:00
|
|
|
checksum = "defaa24ecc093c77630e6c15e17c51f5e187bf35ee514f4e2d67baaa96dae22b"
|
2022-09-13 01:42:06 +03:00
|
|
|
dependencies = [
|
|
|
|
"ciborium-io",
|
|
|
|
"half",
|
|
|
|
]
|
|
|
|
|
2022-09-28 11:19:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "clap"
|
2023-08-29 05:51:26 +03:00
|
|
|
version = "4.4.1"
|
2023-03-28 06:14:58 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-29 05:51:26 +03:00
|
|
|
checksum = "7c8d502cbaec4595d2e7d5f61e318f05417bd2b66fdc3809498f0d3fdf0bea27"
|
2023-03-28 06:14:58 +03:00
|
|
|
dependencies = [
|
2023-03-28 07:32:38 +03:00
|
|
|
"clap_builder",
|
2023-03-28 06:29:55 +03:00
|
|
|
"clap_derive",
|
|
|
|
"once_cell",
|
2023-03-28 07:32:38 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "clap_builder"
|
2023-08-29 05:51:26 +03:00
|
|
|
version = "4.4.1"
|
2023-03-28 07:32:38 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-29 05:51:26 +03:00
|
|
|
checksum = "5891c7bc0edb3e1c2204fc5e94009affabeb1821c9e5fdc3959536c5c0bb984d"
|
2023-03-28 07:32:38 +03:00
|
|
|
dependencies = [
|
2023-04-03 05:06:55 +03:00
|
|
|
"anstream",
|
|
|
|
"anstyle",
|
2023-05-24 06:32:10 +03:00
|
|
|
"clap_lex",
|
2022-09-28 11:19:23 +03:00
|
|
|
"strsim",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "clap_derive"
|
2023-08-27 05:45:37 +03:00
|
|
|
version = "4.4.0"
|
2022-09-28 11:19:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-27 05:45:37 +03:00
|
|
|
checksum = "c9fd1a5729c4548118d7d70ff234a44868d00489a4b6597b0b020918a0e91a1a"
|
2022-09-28 11:19:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"heck",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-08-21 10:33:22 +03:00
|
|
|
"syn 2.0.29",
|
2022-09-28 11:19:23 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "clap_lex"
|
2023-08-28 06:26:51 +03:00
|
|
|
version = "0.5.1"
|
2023-04-03 05:06:55 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 06:26:51 +03:00
|
|
|
checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961"
|
2023-04-03 05:06:55 +03:00
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "color_quant"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"
|
|
|
|
|
2023-04-03 05:06:55 +03:00
|
|
|
[[package]]
|
2023-04-14 06:25:16 +03:00
|
|
|
name = "colorchoice"
|
2023-04-03 05:06:55 +03:00
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 06:25:16 +03:00
|
|
|
checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7"
|
2022-09-28 11:19:23 +03:00
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "const-oid"
|
2023-08-16 05:45:33 +03:00
|
|
|
version = "0.9.5"
|
2023-07-04 15:05:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-16 05:45:33 +03:00
|
|
|
checksum = "28c122c3980598d243d63d9a704629a2d748d101f278052ff068be5a4423ab6f"
|
2023-07-04 15:05:23 +03:00
|
|
|
|
2021-04-25 14:46:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "convert_case"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e"
|
2021-02-21 21:44:28 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cookie"
|
2022-12-19 05:28:24 +03:00
|
|
|
version = "0.16.2"
|
2021-02-21 21:44:28 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-19 05:28:24 +03:00
|
|
|
checksum = "e859cd57d0710d9e06c381b550c06e76992472a8c6d527aecd2fc673dcc231fb"
|
2021-02-21 21:44:28 +03:00
|
|
|
dependencies = [
|
|
|
|
"percent-encoding",
|
2022-09-13 09:18:01 +03:00
|
|
|
"time",
|
2021-02-21 21:44:28 +03:00
|
|
|
"version_check",
|
|
|
|
]
|
2020-09-13 19:42:44 +03:00
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "core-foundation"
|
|
|
|
version = "0.9.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146"
|
|
|
|
dependencies = [
|
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "core-foundation-sys"
|
2023-04-03 05:06:55 +03:00
|
|
|
version = "0.8.4"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-03 05:06:55 +03:00
|
|
|
checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
|
2020-09-13 19:42:44 +03:00
|
|
|
[[package]]
|
2021-07-16 16:08:46 +03:00
|
|
|
name = "cpufeatures"
|
2023-07-06 03:56:23 +03:00
|
|
|
version = "0.2.9"
|
2020-09-13 19:42:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-06 03:56:23 +03:00
|
|
|
checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1"
|
2021-07-16 16:08:46 +03:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
2020-09-13 19:42:44 +03:00
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "crc"
|
2023-01-31 08:52:15 +03:00
|
|
|
version = "3.0.1"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-31 08:52:15 +03:00
|
|
|
checksum = "86ec7a15cbe22e59248fc7eadb1907dab5ba09372595da4d73dd805ed4417dfe"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"crc-catalog",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crc-catalog"
|
2023-01-12 00:35:48 +03:00
|
|
|
version = "2.2.0"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-12 00:35:48 +03:00
|
|
|
checksum = "9cace84e55f07e7301bae1c519df89cdad8cc3cd868413d3fdbdeca9ff3db484"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
|
2018-12-07 18:52:18 +03:00
|
|
|
[[package]]
|
|
|
|
name = "crc32fast"
|
2022-02-12 17:25:52 +03:00
|
|
|
version = "1.3.2"
|
2018-12-07 18:52:18 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-12 17:25:52 +03:00
|
|
|
checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
|
2018-12-07 18:52:18 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"cfg-if",
|
2019-02-04 11:53:06 +03:00
|
|
|
]
|
|
|
|
|
2019-10-26 20:37:49 +03:00
|
|
|
[[package]]
|
|
|
|
name = "criterion"
|
2023-05-27 20:07:22 +03:00
|
|
|
version = "0.5.1"
|
2019-10-26 20:37:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-05-27 20:07:22 +03:00
|
|
|
checksum = "f2b12d017a929603d80db1831cd3a24082f8137ce19c69e6447f54f5fc8d692f"
|
2020-10-14 10:59:32 +03:00
|
|
|
dependencies = [
|
2022-09-13 01:42:06 +03:00
|
|
|
"anes",
|
2020-10-14 10:59:32 +03:00
|
|
|
"cast",
|
2022-09-13 01:42:06 +03:00
|
|
|
"ciborium",
|
2023-05-24 06:32:10 +03:00
|
|
|
"clap",
|
2020-10-14 10:59:32 +03:00
|
|
|
"criterion-plot",
|
2021-07-23 11:04:34 +03:00
|
|
|
"futures",
|
2023-05-24 06:32:10 +03:00
|
|
|
"is-terminal",
|
2023-06-23 06:24:31 +03:00
|
|
|
"itertools 0.10.5",
|
2020-10-14 10:59:32 +03:00
|
|
|
"num-traits",
|
2023-05-24 06:32:10 +03:00
|
|
|
"once_cell",
|
2020-10-14 10:59:32 +03:00
|
|
|
"oorandom",
|
|
|
|
"plotters",
|
|
|
|
"rayon",
|
|
|
|
"regex",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
|
|
|
"tinytemplate",
|
2022-08-15 16:54:48 +03:00
|
|
|
"tokio",
|
2020-10-14 10:59:32 +03:00
|
|
|
"walkdir",
|
2019-10-26 20:37:49 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "criterion-plot"
|
2022-09-13 01:42:06 +03:00
|
|
|
version = "0.5.0"
|
2019-10-26 20:37:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-13 01:42:06 +03:00
|
|
|
checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1"
|
2019-10-26 20:37:49 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"cast",
|
2023-06-23 06:24:31 +03:00
|
|
|
"itertools 0.10.5",
|
2019-10-26 20:37:49 +03:00
|
|
|
]
|
|
|
|
|
2019-02-04 11:53:06 +03:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-channel"
|
2023-05-02 04:04:24 +03:00
|
|
|
version = "0.5.8"
|
2020-10-31 13:07:04 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-05-02 04:04:24 +03:00
|
|
|
checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200"
|
2020-10-31 13:07:04 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"cfg-if",
|
|
|
|
"crossbeam-utils",
|
2020-10-31 13:07:04 +03:00
|
|
|
]
|
|
|
|
|
2018-03-13 14:32:09 +03:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-deque"
|
2023-03-02 06:09:06 +03:00
|
|
|
version = "0.8.3"
|
2018-03-13 14:32:09 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-02 06:09:06 +03:00
|
|
|
checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef"
|
2018-03-13 14:32:09 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"cfg-if",
|
2020-10-14 10:59:32 +03:00
|
|
|
"crossbeam-epoch",
|
2022-08-15 16:54:48 +03:00
|
|
|
"crossbeam-utils",
|
2018-03-13 14:32:09 +03:00
|
|
|
]
|
|
|
|
|
2018-07-24 12:34:01 +03:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-epoch"
|
2023-06-13 06:05:54 +03:00
|
|
|
version = "0.9.15"
|
2018-07-24 12:34:01 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-13 06:05:54 +03:00
|
|
|
checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7"
|
2018-07-24 12:34:01 +03:00
|
|
|
dependencies = [
|
2022-05-03 12:12:54 +03:00
|
|
|
"autocfg",
|
2022-08-15 16:54:48 +03:00
|
|
|
"cfg-if",
|
|
|
|
"crossbeam-utils",
|
2020-10-14 10:59:32 +03:00
|
|
|
"memoffset",
|
|
|
|
"scopeguard",
|
2018-07-24 12:34:01 +03:00
|
|
|
]
|
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-queue"
|
|
|
|
version = "0.3.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d1cfb3ea8a53f37c40dea2c7bedcbd88bdfae54f5e2175d6ecaff1c988353add"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"crossbeam-utils",
|
|
|
|
]
|
|
|
|
|
2019-11-07 20:54:06 +03:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-utils"
|
2023-06-13 06:05:54 +03:00
|
|
|
version = "0.8.16"
|
2017-10-09 14:29:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-13 06:05:54 +03:00
|
|
|
checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294"
|
2017-10-09 14:29:03 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"cfg-if",
|
2020-10-31 13:07:04 +03:00
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "crunch"
|
|
|
|
version = "0.5.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0dc013e70da3bfe5b552de26a1f34ecf67d61ea811251d2bf75c1324a1ecb425"
|
|
|
|
|
2020-10-31 13:07:04 +03:00
|
|
|
[[package]]
|
2022-01-01 20:43:04 +03:00
|
|
|
name = "crypto-common"
|
2022-08-15 16:54:48 +03:00
|
|
|
version = "0.1.6"
|
2020-10-31 13:07:04 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-15 16:54:48 +03:00
|
|
|
checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
|
2020-10-31 13:07:04 +03:00
|
|
|
dependencies = [
|
|
|
|
"generic-array",
|
2022-05-03 12:12:54 +03:00
|
|
|
"typenum",
|
2017-10-09 14:29:03 +03:00
|
|
|
]
|
|
|
|
|
2022-11-26 12:46:40 +03:00
|
|
|
[[package]]
|
|
|
|
name = "ctor"
|
2023-07-13 06:21:53 +03:00
|
|
|
version = "0.2.4"
|
2022-11-26 12:46:40 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-13 06:21:53 +03:00
|
|
|
checksum = "1f34ba9a9bcb8645379e9de8cb3ecfcf4d1c85ba66d90deb3259206fa5aa193b"
|
2022-11-26 12:46:40 +03:00
|
|
|
dependencies = [
|
|
|
|
"quote",
|
2023-08-21 10:33:22 +03:00
|
|
|
"syn 2.0.29",
|
2022-11-26 12:46:40 +03:00
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "data-url"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8d7439c3735f405729d52c3fbbe4de140eaf938a1fe47d227c27f8254d4302a5"
|
|
|
|
|
2023-02-08 19:55:37 +03:00
|
|
|
[[package]]
|
|
|
|
name = "deadpool"
|
|
|
|
version = "0.9.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "421fe0f90f2ab22016f32a9881be5134fdd71c65298917084b0c7477cbc3856e"
|
|
|
|
dependencies = [
|
|
|
|
"async-trait",
|
|
|
|
"deadpool-runtime",
|
|
|
|
"num_cpus",
|
|
|
|
"retain_mut",
|
|
|
|
"tokio",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "deadpool-postgres"
|
|
|
|
version = "0.10.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "836a24a9d49deefe610b8b60c767a7412e9a931d79a89415cd2d2d71630ca8d7"
|
|
|
|
dependencies = [
|
|
|
|
"deadpool",
|
|
|
|
"log",
|
|
|
|
"tokio",
|
|
|
|
"tokio-postgres",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "deadpool-runtime"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "eaa37046cc0f6c3cc6090fbdbf73ef0b8ef4cfcc37f6befc0020f63e8cf121e1"
|
|
|
|
dependencies = [
|
|
|
|
"tokio",
|
|
|
|
]
|
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "der"
|
2023-08-08 22:33:30 +03:00
|
|
|
version = "0.7.8"
|
2023-07-04 15:05:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-08 22:33:30 +03:00
|
|
|
checksum = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c"
|
2023-07-04 15:05:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"const-oid",
|
|
|
|
"pem-rfc7468",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
2023-08-02 04:39:24 +03:00
|
|
|
[[package]]
|
|
|
|
name = "deranged"
|
2023-08-21 10:33:22 +03:00
|
|
|
version = "0.3.8"
|
2023-08-02 04:39:24 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-21 10:33:22 +03:00
|
|
|
checksum = "f2696e8a945f658fd14dc3b87242e6b80cd0f36ff04ea560fa39082368847946"
|
2023-08-02 04:39:24 +03:00
|
|
|
|
2017-12-17 13:51:07 +03:00
|
|
|
[[package]]
|
2019-10-26 20:37:49 +03:00
|
|
|
name = "derive_more"
|
2022-01-01 20:43:04 +03:00
|
|
|
version = "0.99.17"
|
2018-03-13 14:32:09 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-01 20:43:04 +03:00
|
|
|
checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321"
|
2018-03-13 14:32:09 +03:00
|
|
|
dependencies = [
|
2021-04-25 14:46:44 +03:00
|
|
|
"convert_case",
|
2020-10-14 10:59:32 +03:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2022-09-13 09:18:01 +03:00
|
|
|
"rustc_version",
|
2023-03-20 06:31:56 +03:00
|
|
|
"syn 1.0.109",
|
2018-03-13 14:32:09 +03:00
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "difflib"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8"
|
|
|
|
|
2022-01-01 20:43:04 +03:00
|
|
|
[[package]]
|
|
|
|
name = "digest"
|
2023-05-23 02:04:55 +03:00
|
|
|
version = "0.10.7"
|
2022-01-01 20:43:04 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-05-23 02:04:55 +03:00
|
|
|
checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
|
2022-01-01 20:43:04 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"block-buffer",
|
2023-07-04 15:05:23 +03:00
|
|
|
"const-oid",
|
2022-01-01 20:43:04 +03:00
|
|
|
"crypto-common",
|
|
|
|
"subtle",
|
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "doc-comment"
|
|
|
|
version = "0.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10"
|
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "dotenvy"
|
2023-03-23 10:43:35 +03:00
|
|
|
version = "0.15.7"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-23 10:43:35 +03:00
|
|
|
checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
|
2018-03-13 14:32:09 +03:00
|
|
|
[[package]]
|
2019-10-26 20:37:49 +03:00
|
|
|
name = "either"
|
2023-07-24 06:39:17 +03:00
|
|
|
version = "1.9.0"
|
2018-03-13 14:32:09 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-24 06:39:17 +03:00
|
|
|
checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
2018-03-13 14:32:09 +03:00
|
|
|
|
|
|
|
[[package]]
|
2019-10-26 20:37:49 +03:00
|
|
|
name = "encoding_rs"
|
2023-08-28 06:26:51 +03:00
|
|
|
version = "0.8.33"
|
2018-03-13 14:32:09 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 06:26:51 +03:00
|
|
|
checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1"
|
2018-03-13 14:32:09 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"cfg-if",
|
2019-10-26 20:37:49 +03:00
|
|
|
]
|
2018-03-13 14:32:09 +03:00
|
|
|
|
2023-01-08 22:19:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "enum_dispatch"
|
2023-07-09 05:23:21 +03:00
|
|
|
version = "0.3.12"
|
2023-01-08 22:19:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-09 05:23:21 +03:00
|
|
|
checksum = "8f33313078bb8d4d05a2733a94ac4c2d8a0df9a2b84424ebf4f33bfc224a890e"
|
2023-01-08 22:19:11 +03:00
|
|
|
dependencies = [
|
|
|
|
"once_cell",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-08-21 10:33:22 +03:00
|
|
|
"syn 2.0.29",
|
2023-01-08 22:19:11 +03:00
|
|
|
]
|
|
|
|
|
2018-01-18 19:07:14 +03:00
|
|
|
[[package]]
|
|
|
|
name = "env_logger"
|
2022-11-27 05:34:49 +03:00
|
|
|
version = "0.10.0"
|
2018-01-18 19:07:14 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-27 05:34:49 +03:00
|
|
|
checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0"
|
2018-01-18 19:07:14 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"humantime",
|
2022-11-27 05:34:49 +03:00
|
|
|
"is-terminal",
|
2020-10-14 10:59:32 +03:00
|
|
|
"log",
|
|
|
|
"regex",
|
|
|
|
"termcolor",
|
2018-02-21 13:37:31 +03:00
|
|
|
]
|
|
|
|
|
2023-06-26 06:35:14 +03:00
|
|
|
[[package]]
|
|
|
|
name = "equivalent"
|
2023-07-17 05:21:54 +03:00
|
|
|
version = "1.0.1"
|
2023-06-26 06:35:14 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-17 05:21:54 +03:00
|
|
|
checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
|
2023-06-26 06:35:14 +03:00
|
|
|
|
2022-11-25 05:36:50 +03:00
|
|
|
[[package]]
|
|
|
|
name = "errno"
|
|
|
|
version = "0.2.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1"
|
|
|
|
dependencies = [
|
|
|
|
"errno-dragonfly",
|
|
|
|
"libc",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2023-04-03 05:06:55 +03:00
|
|
|
[[package]]
|
|
|
|
name = "errno"
|
2023-08-29 22:29:59 +03:00
|
|
|
version = "0.3.3"
|
2023-04-03 05:06:55 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-29 22:29:59 +03:00
|
|
|
checksum = "136526188508e25c6fef639d7927dfb3e0e3084488bf202267829cf7fc23dbdd"
|
2023-04-03 05:06:55 +03:00
|
|
|
dependencies = [
|
|
|
|
"errno-dragonfly",
|
|
|
|
"libc",
|
2023-04-08 09:38:52 +03:00
|
|
|
"windows-sys 0.48.0",
|
2023-04-03 05:06:55 +03:00
|
|
|
]
|
|
|
|
|
2022-11-25 05:36:50 +03:00
|
|
|
[[package]]
|
|
|
|
name = "errno-dragonfly"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf"
|
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "etcetera"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "136d1b5283a1ab77bd9257427ffd09d8667ced0570b6f938942bc7568ed5b943"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"home",
|
|
|
|
"windows-sys 0.48.0",
|
|
|
|
]
|
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "event-listener"
|
|
|
|
version = "2.5.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0"
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "exitcode"
|
|
|
|
version = "1.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "de853764b47027c2e862a995c34978ffa63c1501f2e15f987ba11bd4f9bba193"
|
|
|
|
|
2017-10-09 14:29:03 +03:00
|
|
|
[[package]]
|
|
|
|
name = "fallible-iterator"
|
2020-05-04 21:21:11 +03:00
|
|
|
version = "0.2.0"
|
2017-10-09 14:29:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-14 10:59:32 +03:00
|
|
|
checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7"
|
2017-10-09 14:29:03 +03:00
|
|
|
|
2023-08-16 20:22:01 +03:00
|
|
|
[[package]]
|
|
|
|
name = "fallible-streaming-iterator"
|
|
|
|
version = "0.1.9"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a"
|
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "fastrand"
|
2023-07-21 05:56:50 +03:00
|
|
|
version = "2.0.0"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-21 05:56:50 +03:00
|
|
|
checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "fdeflate"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d329bdeac514ee06249dabc27877490f17f5d371ec693360768b838e19f3ae10"
|
|
|
|
dependencies = [
|
|
|
|
"simd-adler32",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "filetime"
|
2023-08-06 05:11:53 +03:00
|
|
|
version = "0.2.22"
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-06 05:11:53 +03:00
|
|
|
checksum = "d4029edd3e734da6fe05b6cd7bd2960760a616bd2ddd0d59a0124746d6272af0"
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"libc",
|
2023-08-06 05:11:53 +03:00
|
|
|
"redox_syscall",
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
"windows-sys 0.48.0",
|
|
|
|
]
|
|
|
|
|
2018-02-21 13:37:31 +03:00
|
|
|
[[package]]
|
|
|
|
name = "flate2"
|
2023-08-16 05:45:33 +03:00
|
|
|
version = "1.0.27"
|
2018-02-21 13:37:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-16 05:45:33 +03:00
|
|
|
checksum = "c6c98ee8095e9d1dcbf2fcc6d95acccb90d1c81db1e44725c6a984b1dbdfb010"
|
2018-02-21 13:37:31 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"crc32fast",
|
2023-07-03 13:43:29 +03:00
|
|
|
"miniz_oxide",
|
2018-02-21 13:37:31 +03:00
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "float-cmp"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4"
|
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "flume"
|
|
|
|
version = "0.10.14"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1657b4441c3403d9f7b3409e47575237dac27b1b5726df654a6ecbf92f0f7577"
|
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
|
|
|
"pin-project",
|
2023-07-04 00:29:44 +03:00
|
|
|
"spin 0.9.8",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
]
|
|
|
|
|
2023-01-08 22:19:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "fmmap"
|
|
|
|
version = "0.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5de47572bd3bf7eb669581e4303b922dde85432800a3228f6824f6a04ee455ab"
|
|
|
|
dependencies = [
|
|
|
|
"async-trait",
|
|
|
|
"byteorder",
|
|
|
|
"bytes",
|
|
|
|
"enum_dispatch",
|
|
|
|
"fs4",
|
|
|
|
"memmapix",
|
|
|
|
"parse-display",
|
|
|
|
"pin-project-lite",
|
|
|
|
"tokio",
|
|
|
|
]
|
|
|
|
|
2018-02-21 13:37:31 +03:00
|
|
|
[[package]]
|
|
|
|
name = "fnv"
|
2020-06-07 13:08:12 +03:00
|
|
|
version = "1.0.7"
|
2018-02-21 13:37:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-14 10:59:32 +03:00
|
|
|
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
|
2018-02-21 13:37:31 +03:00
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "fontconfig-parser"
|
2023-08-04 05:47:04 +03:00
|
|
|
version = "0.5.3"
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-04 05:47:04 +03:00
|
|
|
checksum = "674e258f4b5d2dcd63888c01c68413c51f565e8af99d2f7701c7b81d79ef41c4"
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"roxmltree",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "fontdb"
|
|
|
|
version = "0.14.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "af8d8cbea8f21307d7e84bca254772981296f058a1d36b461bf4d83a7499fc9e"
|
|
|
|
dependencies = [
|
|
|
|
"fontconfig-parser",
|
|
|
|
"log",
|
|
|
|
"memmap2",
|
|
|
|
"slotmap",
|
|
|
|
"tinyvec",
|
2023-06-23 06:01:57 +03:00
|
|
|
"ttf-parser 0.19.1",
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
]
|
|
|
|
|
2019-02-04 11:53:06 +03:00
|
|
|
[[package]]
|
2020-05-04 21:21:11 +03:00
|
|
|
name = "foreign-types"
|
|
|
|
version = "0.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-14 10:59:32 +03:00
|
|
|
checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
|
2020-05-04 21:21:11 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"foreign-types-shared",
|
2020-05-04 21:21:11 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "foreign-types-shared"
|
2019-02-15 16:32:38 +03:00
|
|
|
version = "0.1.1"
|
2019-02-04 11:53:06 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-14 10:59:32 +03:00
|
|
|
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
|
2019-02-04 11:53:06 +03:00
|
|
|
|
2020-12-20 15:45:58 +03:00
|
|
|
[[package]]
|
|
|
|
name = "form_urlencoded"
|
2023-06-13 06:05:54 +03:00
|
|
|
version = "1.2.0"
|
2020-12-20 15:45:58 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-13 06:05:54 +03:00
|
|
|
checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652"
|
2020-12-20 15:45:58 +03:00
|
|
|
dependencies = [
|
|
|
|
"percent-encoding",
|
|
|
|
]
|
|
|
|
|
2023-01-08 22:19:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "fs4"
|
2023-07-04 00:29:44 +03:00
|
|
|
version = "0.6.6"
|
2023-01-08 22:19:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-04 00:29:44 +03:00
|
|
|
checksum = "2eeb4ed9e12f43b7fa0baae3f9cdda28352770132ef2e09a23760c29cae8bd47"
|
2023-01-08 22:19:11 +03:00
|
|
|
dependencies = [
|
|
|
|
"async-trait",
|
2023-08-29 22:29:59 +03:00
|
|
|
"rustix 0.38.10",
|
2023-01-08 22:19:11 +03:00
|
|
|
"tokio",
|
2023-05-09 11:39:31 +03:00
|
|
|
"windows-sys 0.48.0",
|
2023-01-08 22:19:11 +03:00
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "funty"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c"
|
|
|
|
|
2020-04-26 17:57:13 +03:00
|
|
|
[[package]]
|
|
|
|
name = "futures"
|
2023-03-31 06:29:03 +03:00
|
|
|
version = "0.3.28"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-31 06:29:03 +03:00
|
|
|
checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40"
|
2020-04-26 17:57:13 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-executor",
|
|
|
|
"futures-io",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-task",
|
|
|
|
"futures-util",
|
2020-04-26 17:57:13 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-channel"
|
2023-03-31 06:29:03 +03:00
|
|
|
version = "0.3.28"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-31 06:29:03 +03:00
|
|
|
checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2"
|
2020-04-26 17:57:13 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
2020-04-26 17:57:13 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-core"
|
2023-03-31 06:29:03 +03:00
|
|
|
version = "0.3.28"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-31 06:29:03 +03:00
|
|
|
checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c"
|
2020-04-26 17:57:13 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-executor"
|
2023-03-31 06:29:03 +03:00
|
|
|
version = "0.3.28"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-31 06:29:03 +03:00
|
|
|
checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0"
|
2020-04-26 17:57:13 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"futures-core",
|
|
|
|
"futures-task",
|
|
|
|
"futures-util",
|
2020-04-26 17:57:13 +03:00
|
|
|
]
|
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "futures-intrusive"
|
2023-07-04 15:05:23 +03:00
|
|
|
version = "0.5.0"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-04 15:05:23 +03:00
|
|
|
checksum = "1d930c203dd0b6ff06e0201a4a2fe9149b43c684fd4420555b26d21b1a02956f"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"lock_api",
|
2023-07-04 15:05:23 +03:00
|
|
|
"parking_lot",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
]
|
|
|
|
|
2020-04-26 17:57:13 +03:00
|
|
|
[[package]]
|
|
|
|
name = "futures-io"
|
2023-03-31 06:29:03 +03:00
|
|
|
version = "0.3.28"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-31 06:29:03 +03:00
|
|
|
checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964"
|
2020-04-26 17:57:13 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-macro"
|
2023-03-31 06:29:03 +03:00
|
|
|
version = "0.3.28"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-31 06:29:03 +03:00
|
|
|
checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72"
|
2020-04-26 17:57:13 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-08-21 10:33:22 +03:00
|
|
|
"syn 2.0.29",
|
2020-04-26 17:57:13 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-sink"
|
2023-03-31 06:29:03 +03:00
|
|
|
version = "0.3.28"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-31 06:29:03 +03:00
|
|
|
checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e"
|
2020-04-26 17:57:13 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-task"
|
2023-03-31 06:29:03 +03:00
|
|
|
version = "0.3.28"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-31 06:29:03 +03:00
|
|
|
checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65"
|
2020-04-26 17:57:13 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-util"
|
2023-03-31 06:29:03 +03:00
|
|
|
version = "0.3.28"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-31 06:29:03 +03:00
|
|
|
checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533"
|
2020-04-26 17:57:13 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-io",
|
|
|
|
"futures-macro",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-task",
|
|
|
|
"memchr",
|
2022-08-15 16:54:48 +03:00
|
|
|
"pin-project-lite",
|
2020-10-14 10:59:32 +03:00
|
|
|
"pin-utils",
|
|
|
|
"slab",
|
2020-04-26 17:57:13 +03:00
|
|
|
]
|
|
|
|
|
2018-03-13 14:32:09 +03:00
|
|
|
[[package]]
|
2019-10-26 20:37:49 +03:00
|
|
|
name = "generic-array"
|
2023-04-03 05:06:55 +03:00
|
|
|
version = "0.14.7"
|
2018-03-13 14:32:09 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-03 05:06:55 +03:00
|
|
|
checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
|
2018-03-13 14:32:09 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"typenum",
|
|
|
|
"version_check",
|
2018-03-13 14:32:09 +03:00
|
|
|
]
|
|
|
|
|
2017-10-09 14:29:03 +03:00
|
|
|
[[package]]
|
2019-10-26 20:37:49 +03:00
|
|
|
name = "getrandom"
|
2023-06-13 06:05:54 +03:00
|
|
|
version = "0.2.10"
|
2021-02-21 21:44:28 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-13 06:05:54 +03:00
|
|
|
checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427"
|
2021-02-21 21:44:28 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"cfg-if",
|
2021-02-21 21:44:28 +03:00
|
|
|
"libc",
|
2022-08-15 16:54:48 +03:00
|
|
|
"wasi",
|
2021-02-21 21:44:28 +03:00
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "gif"
|
|
|
|
version = "0.12.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "80792593675e051cf94a4b111980da2ba60d4a83e43e0048c5693baab3977045"
|
|
|
|
dependencies = [
|
|
|
|
"color_quant",
|
|
|
|
"weezl",
|
|
|
|
]
|
|
|
|
|
2023-06-28 09:14:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "gimli"
|
2023-08-28 06:26:51 +03:00
|
|
|
version = "0.28.0"
|
2023-06-28 09:14:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 06:26:51 +03:00
|
|
|
checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0"
|
2023-06-28 09:14:48 +03:00
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "globset"
|
2023-08-06 05:11:53 +03:00
|
|
|
version = "0.4.13"
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-06 05:11:53 +03:00
|
|
|
checksum = "759c97c1e17c55525b57192c06a267cda0ac5210b222d6b82189a2338fa1c13d"
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
dependencies = [
|
2023-07-17 05:21:54 +03:00
|
|
|
"aho-corasick",
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
"bstr",
|
|
|
|
"fnv",
|
|
|
|
"log",
|
|
|
|
"regex",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "globwalk"
|
|
|
|
version = "0.8.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "93e3af942408868f6934a7b85134a3230832b9977cf66125df2f9edcfce4ddcc"
|
|
|
|
dependencies = [
|
2023-07-03 13:43:29 +03:00
|
|
|
"bitflags 1.3.2",
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
"ignore",
|
|
|
|
"walkdir",
|
|
|
|
]
|
|
|
|
|
2018-02-21 13:37:31 +03:00
|
|
|
[[package]]
|
|
|
|
name = "h2"
|
2023-08-28 06:26:51 +03:00
|
|
|
version = "0.3.21"
|
2018-02-21 13:37:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 06:26:51 +03:00
|
|
|
checksum = "91fc23aa11be92976ef4729127f1a74adf36d8436f7816b185d18df956790833"
|
2018-02-21 13:37:31 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"bytes",
|
2020-10-14 10:59:32 +03:00
|
|
|
"fnv",
|
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-util",
|
|
|
|
"http",
|
2023-06-26 06:35:14 +03:00
|
|
|
"indexmap 1.9.3",
|
2020-10-14 10:59:32 +03:00
|
|
|
"slab",
|
2022-08-15 16:54:48 +03:00
|
|
|
"tokio",
|
|
|
|
"tokio-util",
|
2020-10-14 10:59:32 +03:00
|
|
|
"tracing",
|
2018-02-21 13:37:31 +03:00
|
|
|
]
|
|
|
|
|
2020-06-30 08:17:24 +03:00
|
|
|
[[package]]
|
|
|
|
name = "half"
|
2021-11-07 17:28:21 +03:00
|
|
|
version = "1.8.2"
|
2020-06-30 08:17:24 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-11-07 17:28:21 +03:00
|
|
|
checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7"
|
2020-06-30 08:17:24 +03:00
|
|
|
|
2020-09-13 19:42:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "hashbrown"
|
2022-07-29 12:20:49 +03:00
|
|
|
version = "0.12.3"
|
2020-09-13 19:42:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-29 12:20:49 +03:00
|
|
|
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
|
2023-05-16 21:12:57 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hashbrown"
|
2023-06-13 06:05:54 +03:00
|
|
|
version = "0.14.0"
|
2023-05-16 21:12:57 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-13 06:05:54 +03:00
|
|
|
checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
2023-08-29 22:29:59 +03:00
|
|
|
"ahash",
|
2023-06-13 06:05:54 +03:00
|
|
|
"allocator-api2",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hashlink"
|
2023-08-29 22:29:59 +03:00
|
|
|
version = "0.8.4"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-29 22:29:59 +03:00
|
|
|
checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
2023-06-13 06:05:54 +03:00
|
|
|
"hashbrown 0.14.0",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
]
|
2020-09-13 19:42:44 +03:00
|
|
|
|
2022-09-28 11:19:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "heck"
|
2023-02-02 07:47:48 +03:00
|
|
|
version = "0.4.1"
|
2022-09-28 11:19:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-02 07:47:48 +03:00
|
|
|
checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"unicode-segmentation",
|
|
|
|
]
|
2022-09-28 11:19:23 +03:00
|
|
|
|
2023-02-06 08:37:40 +03:00
|
|
|
[[package]]
|
|
|
|
name = "hermit-abi"
|
2023-07-06 03:56:23 +03:00
|
|
|
version = "0.3.2"
|
2023-02-06 08:37:40 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-06 03:56:23 +03:00
|
|
|
checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b"
|
2023-02-06 08:37:40 +03:00
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "hex"
|
|
|
|
version = "0.4.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
|
|
|
|
|
2023-01-08 22:19:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "hilbert_2d"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "705f81e042b11734af35c701c7f6b65f8a968a430621fa2c95e72e27f9f8be5c"
|
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "hkdf"
|
|
|
|
version = "0.12.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "791a029f6b9fc27657f6f188ec6e5e43f6911f6f878e0dc5501396e09809d437"
|
|
|
|
dependencies = [
|
|
|
|
"hmac",
|
|
|
|
]
|
|
|
|
|
2017-10-09 14:29:03 +03:00
|
|
|
[[package]]
|
|
|
|
name = "hmac"
|
2022-05-03 12:12:54 +03:00
|
|
|
version = "0.12.1"
|
2017-10-09 14:29:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-03 12:12:54 +03:00
|
|
|
checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"
|
2017-10-09 14:29:03 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"digest",
|
2018-02-21 13:37:31 +03:00
|
|
|
]
|
2017-09-30 13:55:44 +03:00
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "home"
|
|
|
|
version = "0.5.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb"
|
|
|
|
dependencies = [
|
|
|
|
"windows-sys 0.48.0",
|
|
|
|
]
|
|
|
|
|
2017-09-30 13:55:44 +03:00
|
|
|
[[package]]
|
2018-02-21 13:37:31 +03:00
|
|
|
name = "http"
|
2023-02-20 18:44:22 +03:00
|
|
|
version = "0.2.9"
|
2017-09-30 13:55:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-20 18:44:22 +03:00
|
|
|
checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482"
|
2017-09-30 13:55:44 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"bytes",
|
2020-10-14 10:59:32 +03:00
|
|
|
"fnv",
|
2022-09-13 01:42:06 +03:00
|
|
|
"itoa",
|
2017-09-30 13:55:44 +03:00
|
|
|
]
|
|
|
|
|
2018-02-21 13:37:31 +03:00
|
|
|
[[package]]
|
|
|
|
name = "httparse"
|
2022-09-13 08:57:02 +03:00
|
|
|
version = "1.8.0"
|
2018-02-21 13:37:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-13 08:57:02 +03:00
|
|
|
checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904"
|
2018-02-21 13:37:31 +03:00
|
|
|
|
2022-08-15 16:54:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "httpdate"
|
2023-08-16 05:45:33 +03:00
|
|
|
version = "1.0.3"
|
2022-08-15 16:54:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-16 05:45:33 +03:00
|
|
|
checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
|
2022-08-15 16:54:48 +03:00
|
|
|
|
2018-03-13 14:32:09 +03:00
|
|
|
[[package]]
|
|
|
|
name = "humantime"
|
2021-02-21 21:44:28 +03:00
|
|
|
version = "2.1.0"
|
2018-03-13 14:32:09 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-21 21:44:28 +03:00
|
|
|
checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
|
2018-03-13 14:32:09 +03:00
|
|
|
|
2019-10-26 20:37:49 +03:00
|
|
|
[[package]]
|
|
|
|
name = "idna"
|
2023-06-13 06:05:54 +03:00
|
|
|
version = "0.4.0"
|
2019-10-26 20:37:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-13 06:05:54 +03:00
|
|
|
checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c"
|
2019-10-26 20:37:49 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"unicode-bidi",
|
|
|
|
"unicode-normalization",
|
2019-10-26 20:37:49 +03:00
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "ignore"
|
|
|
|
version = "0.4.20"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "dbe7873dab538a9a44ad79ede1faf5f30d49f9a5c883ddbab48bce81b64b7492"
|
|
|
|
dependencies = [
|
|
|
|
"globset",
|
|
|
|
"lazy_static",
|
|
|
|
"log",
|
|
|
|
"memchr",
|
|
|
|
"regex",
|
|
|
|
"same-file",
|
|
|
|
"thread_local",
|
|
|
|
"walkdir",
|
|
|
|
"winapi-util",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "image"
|
2023-08-16 05:45:33 +03:00
|
|
|
version = "0.24.7"
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-16 05:45:33 +03:00
|
|
|
checksum = "6f3dfdbdd72063086ff443e297b61695500514b1e41095b6fb9a5ab48a70a711"
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"bytemuck",
|
|
|
|
"byteorder",
|
|
|
|
"color_quant",
|
|
|
|
"num-rational",
|
|
|
|
"num-traits",
|
|
|
|
"png",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "imagesize"
|
|
|
|
version = "0.12.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "029d73f573d8e8d63e6d5020011d3255b28c3ba85d6cf870a07184ed23de9284"
|
|
|
|
|
2018-03-13 14:32:09 +03:00
|
|
|
[[package]]
|
|
|
|
name = "indexmap"
|
2023-03-25 21:40:23 +03:00
|
|
|
version = "1.9.3"
|
2018-03-13 14:32:09 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-25 21:40:23 +03:00
|
|
|
checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
|
2019-10-26 20:37:49 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"autocfg",
|
2023-05-16 21:12:57 +03:00
|
|
|
"hashbrown 0.12.3",
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
"rayon",
|
2019-10-26 20:37:49 +03:00
|
|
|
]
|
2018-03-13 14:32:09 +03:00
|
|
|
|
2023-06-26 06:35:14 +03:00
|
|
|
[[package]]
|
|
|
|
name = "indexmap"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d"
|
|
|
|
dependencies = [
|
|
|
|
"equivalent",
|
|
|
|
"hashbrown 0.14.0",
|
|
|
|
]
|
|
|
|
|
2022-10-05 22:12:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "indoc"
|
2023-07-17 05:21:54 +03:00
|
|
|
version = "2.0.3"
|
2022-10-05 22:12:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-17 05:21:54 +03:00
|
|
|
checksum = "2c785eefb63ebd0e33416dfcb8d6da0bf27ce752843a45632a67bf10d4d4b5c4"
|
2022-10-05 22:12:44 +03:00
|
|
|
|
2023-01-08 22:19:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "io-lifetimes"
|
|
|
|
version = "0.7.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "59ce5ef949d49ee85593fc4d3f3f95ad61657076395cbbce23e2121fc5542074"
|
|
|
|
|
2022-11-25 05:36:50 +03:00
|
|
|
[[package]]
|
|
|
|
name = "is-terminal"
|
2023-07-09 05:23:21 +03:00
|
|
|
version = "0.4.9"
|
2022-11-25 05:36:50 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-09 05:23:21 +03:00
|
|
|
checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b"
|
2022-11-25 05:36:50 +03:00
|
|
|
dependencies = [
|
2023-07-01 00:32:29 +03:00
|
|
|
"hermit-abi",
|
2023-08-29 22:29:59 +03:00
|
|
|
"rustix 0.38.10",
|
2023-04-08 09:38:52 +03:00
|
|
|
"windows-sys 0.48.0",
|
2022-11-25 05:36:50 +03:00
|
|
|
]
|
|
|
|
|
2021-02-21 21:44:28 +03:00
|
|
|
[[package]]
|
|
|
|
name = "itertools"
|
2022-09-21 05:51:44 +03:00
|
|
|
version = "0.10.5"
|
2021-02-21 21:44:28 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-21 05:51:44 +03:00
|
|
|
checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
|
2021-02-21 21:44:28 +03:00
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
]
|
|
|
|
|
2023-06-23 06:24:31 +03:00
|
|
|
[[package]]
|
|
|
|
name = "itertools"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57"
|
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
]
|
|
|
|
|
2022-01-01 20:43:04 +03:00
|
|
|
[[package]]
|
|
|
|
name = "itoa"
|
2023-07-17 05:21:54 +03:00
|
|
|
version = "1.0.9"
|
2022-01-01 20:43:04 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-17 05:21:54 +03:00
|
|
|
checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38"
|
2022-01-01 20:43:04 +03:00
|
|
|
|
2020-01-27 08:18:39 +03:00
|
|
|
[[package]]
|
2022-08-15 16:54:48 +03:00
|
|
|
name = "jobserver"
|
2023-03-02 06:09:06 +03:00
|
|
|
version = "0.1.26"
|
2020-01-27 08:18:39 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-02 06:09:06 +03:00
|
|
|
checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2"
|
2020-01-27 08:18:39 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"libc",
|
2020-01-27 08:18:39 +03:00
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "jpeg-decoder"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bc0000e42512c92e31c2252315bda326620a4e034105e900c98ec492fa077b3e"
|
|
|
|
|
2017-09-30 13:55:44 +03:00
|
|
|
[[package]]
|
2022-08-15 16:54:48 +03:00
|
|
|
name = "js-sys"
|
2023-06-13 06:05:54 +03:00
|
|
|
version = "0.3.64"
|
2017-09-30 13:55:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-13 06:05:54 +03:00
|
|
|
checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a"
|
2018-02-21 13:37:31 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"wasm-bindgen",
|
2018-02-21 13:37:31 +03:00
|
|
|
]
|
2017-09-30 13:55:44 +03:00
|
|
|
|
2023-08-27 19:46:56 +03:00
|
|
|
[[package]]
|
|
|
|
name = "json-patch"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1f54898088ccb91df1b492cc80029a6fdf1c48ca0db7c6822a8babad69c94658"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"thiserror",
|
|
|
|
"treediff",
|
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "kurbo"
|
|
|
|
version = "0.9.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bd85a5776cd9500c2e2059c8c76c3b01528566b7fcbaf8098b55a33fc298849b"
|
|
|
|
dependencies = [
|
|
|
|
"arrayvec",
|
|
|
|
]
|
|
|
|
|
2018-03-13 14:32:09 +03:00
|
|
|
[[package]]
|
|
|
|
name = "language-tags"
|
2022-08-15 16:54:48 +03:00
|
|
|
version = "0.3.2"
|
2018-03-13 14:32:09 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-15 16:54:48 +03:00
|
|
|
checksum = "d4345964bb142484797b161f473a503a434de77149dd8c7427788c6e13379388"
|
2018-03-13 14:32:09 +03:00
|
|
|
|
2018-01-18 13:42:06 +03:00
|
|
|
[[package]]
|
|
|
|
name = "lazy_static"
|
2019-08-30 18:42:24 +03:00
|
|
|
version = "1.4.0"
|
2018-01-18 13:42:06 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-14 10:59:32 +03:00
|
|
|
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
|
2023-07-04 15:05:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"spin 0.5.2",
|
|
|
|
]
|
2018-01-18 13:42:06 +03:00
|
|
|
|
2017-09-30 13:55:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "libc"
|
2023-07-03 13:43:29 +03:00
|
|
|
version = "0.2.147"
|
2022-08-15 16:54:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-03 13:43:29 +03:00
|
|
|
checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
|
2022-08-15 16:54:48 +03:00
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "libdeflate-sys"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cb6784b6b84b67d71b4307963d456a9c7c29f9b47c658f533e598de369e34277"
|
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libdeflater"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d8e285aa6a046fd338b2592c16bee148b2b00789138ed6b7bb56bb13d585050d"
|
|
|
|
dependencies = [
|
|
|
|
"libdeflate-sys",
|
|
|
|
]
|
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "libm"
|
|
|
|
version = "0.2.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4"
|
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "libsqlite3-sys"
|
2023-07-04 15:05:23 +03:00
|
|
|
version = "0.26.0"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-04 15:05:23 +03:00
|
|
|
checksum = "afc22eff61b133b115c6e8c74e818c628d6d5e7a502afea6f64dee076dd94326"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
|
|
|
]
|
|
|
|
|
2023-01-08 22:19:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "linux-raw-sys"
|
|
|
|
version = "0.0.46"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d"
|
|
|
|
|
2023-07-03 13:43:29 +03:00
|
|
|
[[package]]
|
|
|
|
name = "linux-raw-sys"
|
2023-08-02 04:39:24 +03:00
|
|
|
version = "0.4.5"
|
2023-07-03 13:43:29 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-02 04:39:24 +03:00
|
|
|
checksum = "57bcfdad1b858c2db7c38303a6d2ad4dfaf5eb53dfeb0910128b2c26d6158503"
|
2023-07-03 13:43:29 +03:00
|
|
|
|
2022-08-15 16:54:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "local-channel"
|
|
|
|
version = "0.1.3"
|
2018-01-18 13:42:06 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-15 16:54:48 +03:00
|
|
|
checksum = "7f303ec0e94c6c54447f84f3b0ef7af769858a9c4ef56ef2a986d3dcd4c3fc9c"
|
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-util",
|
|
|
|
"local-waker",
|
|
|
|
]
|
2018-01-18 13:42:06 +03:00
|
|
|
|
2018-02-21 13:37:31 +03:00
|
|
|
[[package]]
|
2022-08-15 16:54:48 +03:00
|
|
|
name = "local-waker"
|
|
|
|
version = "0.1.3"
|
2018-07-25 15:02:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-15 16:54:48 +03:00
|
|
|
checksum = "e34f76eb3611940e0e7d53a9aaa4e6a3151f69541a282fd0dad5571420c53ff1"
|
2018-07-25 15:02:31 +03:00
|
|
|
|
2020-07-01 09:27:12 +03:00
|
|
|
[[package]]
|
|
|
|
name = "lock_api"
|
2023-06-13 06:05:54 +03:00
|
|
|
version = "0.4.10"
|
2020-07-01 09:27:12 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-13 06:05:54 +03:00
|
|
|
checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16"
|
2020-07-01 09:27:12 +03:00
|
|
|
dependencies = [
|
2022-05-03 12:12:54 +03:00
|
|
|
"autocfg",
|
2020-10-14 10:59:32 +03:00
|
|
|
"scopeguard",
|
2020-07-01 09:27:12 +03:00
|
|
|
]
|
|
|
|
|
2017-09-30 13:55:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "log"
|
2023-08-14 06:04:10 +03:00
|
|
|
version = "0.4.20"
|
2017-09-30 13:55:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-14 06:04:10 +03:00
|
|
|
checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f"
|
2018-01-22 20:01:44 +03:00
|
|
|
|
2018-01-16 15:55:05 +03:00
|
|
|
[[package]]
|
|
|
|
name = "martin"
|
2023-06-23 06:24:31 +03:00
|
|
|
version = "0.8.7"
|
2018-01-16 15:55:05 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"actix",
|
|
|
|
"actix-cors",
|
2022-08-15 16:54:48 +03:00
|
|
|
"actix-http",
|
2020-10-14 10:59:32 +03:00
|
|
|
"actix-rt",
|
|
|
|
"actix-web",
|
2022-08-15 16:54:48 +03:00
|
|
|
"async-trait",
|
2023-02-20 18:44:22 +03:00
|
|
|
"brotli",
|
2020-10-14 10:59:32 +03:00
|
|
|
"cargo-husky",
|
2023-05-24 06:32:10 +03:00
|
|
|
"clap",
|
2020-10-14 10:59:32 +03:00
|
|
|
"criterion",
|
2022-11-26 12:46:40 +03:00
|
|
|
"ctor",
|
2023-02-08 19:55:37 +03:00
|
|
|
"deadpool-postgres",
|
2020-10-14 10:59:32 +03:00
|
|
|
"env_logger",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
"flate2",
|
2022-11-26 12:46:40 +03:00
|
|
|
"futures",
|
2022-10-05 22:12:44 +03:00
|
|
|
"indoc",
|
2023-06-23 06:24:31 +03:00
|
|
|
"itertools 0.11.0",
|
2023-08-27 19:46:56 +03:00
|
|
|
"json-patch",
|
2020-10-14 10:59:32 +03:00
|
|
|
"log",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
"martin-mbtiles",
|
2022-11-26 12:46:40 +03:00
|
|
|
"martin-tile-utils",
|
2020-10-14 10:59:32 +03:00
|
|
|
"num_cpus",
|
2021-10-18 14:35:08 +03:00
|
|
|
"openssl",
|
2023-01-08 22:19:11 +03:00
|
|
|
"pmtiles",
|
2021-10-10 12:09:56 +03:00
|
|
|
"postgis",
|
2020-10-14 10:59:32 +03:00
|
|
|
"postgres",
|
2021-10-18 14:35:08 +03:00
|
|
|
"postgres-openssl",
|
2021-07-02 16:08:48 +03:00
|
|
|
"postgres-protocol",
|
2023-02-06 22:32:28 +03:00
|
|
|
"regex",
|
2022-09-13 09:18:01 +03:00
|
|
|
"semver",
|
2020-10-14 10:59:32 +03:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"serde_yaml",
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
"spreet",
|
2022-12-22 09:35:29 +03:00
|
|
|
"subst",
|
2022-12-13 13:02:38 +03:00
|
|
|
"thiserror",
|
2020-10-14 10:59:32 +03:00
|
|
|
"tilejson",
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
"tokio",
|
2018-01-16 15:55:05 +03:00
|
|
|
]
|
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "martin-mbtiles"
|
2023-07-04 15:05:23 +03:00
|
|
|
version = "0.4.0"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"actix-rt",
|
2023-06-03 03:40:22 +03:00
|
|
|
"anyhow",
|
2023-06-01 17:13:20 +03:00
|
|
|
"clap",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
"futures",
|
|
|
|
"log",
|
|
|
|
"martin-tile-utils",
|
|
|
|
"serde_json",
|
2023-08-16 20:22:01 +03:00
|
|
|
"sqlite-hashes",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
"sqlx",
|
|
|
|
"thiserror",
|
|
|
|
"tilejson",
|
2023-06-03 03:40:22 +03:00
|
|
|
"tokio",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
]
|
|
|
|
|
2022-11-26 12:46:40 +03:00
|
|
|
[[package]]
|
|
|
|
name = "martin-tile-utils"
|
2023-06-04 22:04:42 +03:00
|
|
|
version = "0.1.2"
|
2022-11-26 12:46:40 +03:00
|
|
|
|
2017-10-09 14:29:03 +03:00
|
|
|
[[package]]
|
2021-04-25 14:46:44 +03:00
|
|
|
name = "md-5"
|
2022-09-28 11:19:23 +03:00
|
|
|
version = "0.10.5"
|
2017-10-09 14:29:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-28 11:19:23 +03:00
|
|
|
checksum = "6365506850d44bff6e2fbcb5176cf63650e48bd45ef2fe2665ae1570e0f4b9ca"
|
2021-04-25 14:46:44 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"digest",
|
2021-04-25 14:46:44 +03:00
|
|
|
]
|
2017-10-09 14:29:03 +03:00
|
|
|
|
2018-01-18 13:42:06 +03:00
|
|
|
[[package]]
|
|
|
|
name = "memchr"
|
2023-08-29 22:29:59 +03:00
|
|
|
version = "2.6.1"
|
2018-01-18 13:42:06 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-29 22:29:59 +03:00
|
|
|
checksum = "f478948fd84d9f8e86967bf432640e46adfb5a4bd4f14ef7e864ab38220534ae"
|
2017-10-09 14:29:03 +03:00
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "memmap2"
|
|
|
|
version = "0.6.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6d28bba84adfe6646737845bc5ebbfa2c08424eb1c37e94a1fd2a82adb56a872"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2023-01-08 22:19:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "memmapix"
|
|
|
|
version = "0.6.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "aa20aa603283688ba48d9ee8c225b900aebf0d0a871630ed5239e7bf606e5fd1"
|
|
|
|
dependencies = [
|
2023-07-06 03:56:23 +03:00
|
|
|
"rustix 0.35.14",
|
2023-01-08 22:19:11 +03:00
|
|
|
]
|
|
|
|
|
2018-02-21 13:37:31 +03:00
|
|
|
[[package]]
|
|
|
|
name = "memoffset"
|
2023-06-13 06:05:54 +03:00
|
|
|
version = "0.9.0"
|
2018-02-21 13:37:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-13 06:05:54 +03:00
|
|
|
checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c"
|
2019-07-28 18:05:15 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"autocfg",
|
2019-07-28 18:05:15 +03:00
|
|
|
]
|
2018-02-21 13:37:31 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "mime"
|
2023-03-22 07:47:14 +03:00
|
|
|
version = "0.3.17"
|
2018-02-21 13:37:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-22 07:47:14 +03:00
|
|
|
checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
|
2018-02-21 13:37:31 +03:00
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "minimal-lexical"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
|
|
|
|
2018-10-17 12:11:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "miniz_oxide"
|
2023-05-01 06:32:26 +03:00
|
|
|
version = "0.7.1"
|
2020-07-05 12:33:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-05-01 06:32:26 +03:00
|
|
|
checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7"
|
2020-07-05 12:33:47 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"adler",
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
"simd-adler32",
|
2020-07-05 12:33:47 +03:00
|
|
|
]
|
|
|
|
|
2018-02-21 13:37:31 +03:00
|
|
|
[[package]]
|
|
|
|
name = "mio"
|
2023-05-30 22:23:20 +03:00
|
|
|
version = "0.8.8"
|
2018-02-21 13:37:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-05-30 22:23:20 +03:00
|
|
|
checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2"
|
2018-02-21 13:37:31 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"libc",
|
|
|
|
"log",
|
2022-08-15 16:54:48 +03:00
|
|
|
"wasi",
|
2023-05-30 22:23:20 +03:00
|
|
|
"windows-sys 0.48.0",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "multimap"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "70db9248a93dc36a36d9a47898caa007a32755c7ad140ec64eeeb50d5a730631"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "native-tls"
|
|
|
|
version = "0.2.11"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e"
|
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"openssl",
|
|
|
|
"openssl-probe",
|
|
|
|
"openssl-sys",
|
|
|
|
"schannel",
|
|
|
|
"security-framework",
|
|
|
|
"security-framework-sys",
|
|
|
|
"tempfile",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "nom"
|
2023-01-17 00:15:23 +03:00
|
|
|
version = "7.1.3"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-17 00:15:23 +03:00
|
|
|
checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
"minimal-lexical",
|
2021-04-25 14:46:44 +03:00
|
|
|
]
|
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "num-bigint-dig"
|
|
|
|
version = "0.8.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "dc84195820f291c7697304f3cbdadd1cb7199c0efc917ff5eafd71225c136151"
|
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"lazy_static",
|
|
|
|
"libm",
|
|
|
|
"num-integer",
|
|
|
|
"num-iter",
|
|
|
|
"num-traits",
|
|
|
|
"rand",
|
|
|
|
"smallvec",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "num-integer"
|
|
|
|
version = "0.1.45"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"num-traits",
|
|
|
|
]
|
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "num-iter"
|
|
|
|
version = "0.1.43"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"num-integer",
|
|
|
|
"num-traits",
|
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "num-rational"
|
|
|
|
version = "0.4.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"num-integer",
|
|
|
|
"num-traits",
|
|
|
|
]
|
|
|
|
|
2017-09-30 13:55:44 +03:00
|
|
|
[[package]]
|
2019-10-26 20:37:49 +03:00
|
|
|
name = "num-traits"
|
2023-07-21 05:56:50 +03:00
|
|
|
version = "0.2.16"
|
2017-09-30 13:55:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-21 05:56:50 +03:00
|
|
|
checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2"
|
2017-09-30 13:55:44 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"autocfg",
|
2023-07-04 15:05:23 +03:00
|
|
|
"libm",
|
2017-09-30 13:55:44 +03:00
|
|
|
]
|
|
|
|
|
2017-10-09 14:29:03 +03:00
|
|
|
[[package]]
|
2019-10-26 20:37:49 +03:00
|
|
|
name = "num_cpus"
|
2023-07-01 00:32:29 +03:00
|
|
|
version = "1.16.0"
|
2017-10-09 14:29:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-01 00:32:29 +03:00
|
|
|
checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
|
2017-10-09 14:29:03 +03:00
|
|
|
dependencies = [
|
2023-07-01 00:32:29 +03:00
|
|
|
"hermit-abi",
|
2020-10-14 10:59:32 +03:00
|
|
|
"libc",
|
2018-02-21 13:37:31 +03:00
|
|
|
]
|
|
|
|
|
2023-06-28 09:14:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "object"
|
2023-08-28 06:26:51 +03:00
|
|
|
version = "0.32.0"
|
2023-06-28 09:14:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 06:26:51 +03:00
|
|
|
checksum = "77ac5bbd07aea88c60a577a1ce218075ffd59208b2d7ca97adf9bfc5aeb21ebe"
|
2023-06-28 09:14:48 +03:00
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2020-06-07 13:08:12 +03:00
|
|
|
[[package]]
|
|
|
|
name = "once_cell"
|
2023-06-04 20:10:53 +03:00
|
|
|
version = "1.18.0"
|
2020-06-07 13:08:12 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-04 20:10:53 +03:00
|
|
|
checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"
|
2020-06-07 13:08:12 +03:00
|
|
|
|
2020-01-27 08:18:39 +03:00
|
|
|
[[package]]
|
|
|
|
name = "oorandom"
|
2020-12-20 15:45:58 +03:00
|
|
|
version = "11.1.3"
|
2020-01-27 08:18:39 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-20 15:45:58 +03:00
|
|
|
checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
|
2020-01-27 08:18:39 +03:00
|
|
|
|
2020-05-04 21:21:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "openssl"
|
2023-08-28 05:38:21 +03:00
|
|
|
version = "0.10.57"
|
2020-05-04 21:21:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 05:38:21 +03:00
|
|
|
checksum = "bac25ee399abb46215765b1cb35bc0212377e58a061560d8b29b024fd0430e7c"
|
2020-05-04 21:21:11 +03:00
|
|
|
dependencies = [
|
2023-08-28 05:38:21 +03:00
|
|
|
"bitflags 2.4.0",
|
2022-08-15 16:54:48 +03:00
|
|
|
"cfg-if",
|
2020-10-14 10:59:32 +03:00
|
|
|
"foreign-types",
|
|
|
|
"libc",
|
2021-04-25 14:46:44 +03:00
|
|
|
"once_cell",
|
2022-05-03 12:12:54 +03:00
|
|
|
"openssl-macros",
|
2020-10-14 10:59:32 +03:00
|
|
|
"openssl-sys",
|
2020-05-04 21:21:11 +03:00
|
|
|
]
|
|
|
|
|
2022-05-03 12:12:54 +03:00
|
|
|
[[package]]
|
|
|
|
name = "openssl-macros"
|
2023-04-03 05:06:55 +03:00
|
|
|
version = "0.1.1"
|
2022-05-03 12:12:54 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-03 05:06:55 +03:00
|
|
|
checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
|
2022-05-03 12:12:54 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-08-21 10:33:22 +03:00
|
|
|
"syn 2.0.29",
|
2022-05-03 12:12:54 +03:00
|
|
|
]
|
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "openssl-probe"
|
|
|
|
version = "0.1.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
|
|
|
|
|
2022-10-07 20:58:30 +03:00
|
|
|
[[package]]
|
|
|
|
name = "openssl-src"
|
2023-08-04 05:47:04 +03:00
|
|
|
version = "111.27.0+1.1.1v"
|
2022-10-07 20:58:30 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-04 05:47:04 +03:00
|
|
|
checksum = "06e8f197c82d7511c5b014030c9b1efeda40d7d5f99d23b4ceed3524a5e63f02"
|
2022-10-07 20:58:30 +03:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
]
|
|
|
|
|
2020-05-04 21:21:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "openssl-sys"
|
2023-08-28 05:38:21 +03:00
|
|
|
version = "0.9.92"
|
2020-05-04 21:21:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 05:38:21 +03:00
|
|
|
checksum = "db7e971c2c2bba161b2d2fdf37080177eff520b3bc044787c7f1f5f9e78d869b"
|
2020-05-04 21:21:11 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"cc",
|
|
|
|
"libc",
|
2022-10-07 20:58:30 +03:00
|
|
|
"openssl-src",
|
2020-10-14 10:59:32 +03:00
|
|
|
"pkg-config",
|
2022-08-15 16:54:48 +03:00
|
|
|
"vcpkg",
|
2019-06-19 12:34:06 +03:00
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "oxipng"
|
|
|
|
version = "8.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "630638e107fb436644c300e781d3f17e1b04656138ba0d40564be4be3b06db32"
|
|
|
|
dependencies = [
|
|
|
|
"bitvec",
|
|
|
|
"crossbeam-channel",
|
|
|
|
"filetime",
|
|
|
|
"image",
|
2023-06-26 06:35:14 +03:00
|
|
|
"indexmap 1.9.3",
|
2023-06-23 06:24:31 +03:00
|
|
|
"itertools 0.10.5",
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
"libdeflater",
|
|
|
|
"log",
|
|
|
|
"rayon",
|
|
|
|
"rgb",
|
|
|
|
"rustc-hash",
|
|
|
|
"rustc_version",
|
|
|
|
"zopfli",
|
|
|
|
]
|
|
|
|
|
2020-07-01 09:27:12 +03:00
|
|
|
[[package]]
|
2022-08-15 16:54:48 +03:00
|
|
|
name = "parking_lot"
|
|
|
|
version = "0.12.1"
|
2020-07-01 09:27:12 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-15 16:54:48 +03:00
|
|
|
checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
|
2020-07-01 09:27:12 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"lock_api",
|
2023-07-04 15:05:23 +03:00
|
|
|
"parking_lot_core",
|
2020-07-01 09:27:12 +03:00
|
|
|
]
|
|
|
|
|
2022-05-03 12:12:54 +03:00
|
|
|
[[package]]
|
|
|
|
name = "parking_lot_core"
|
2023-06-13 06:05:54 +03:00
|
|
|
version = "0.9.8"
|
2022-05-03 12:12:54 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-13 06:05:54 +03:00
|
|
|
checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447"
|
2022-05-03 12:12:54 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"cfg-if",
|
2022-05-03 12:12:54 +03:00
|
|
|
"libc",
|
2023-08-06 05:11:53 +03:00
|
|
|
"redox_syscall",
|
2022-05-03 12:12:54 +03:00
|
|
|
"smallvec",
|
2023-06-13 06:05:54 +03:00
|
|
|
"windows-targets",
|
2022-05-03 12:12:54 +03:00
|
|
|
]
|
|
|
|
|
2023-01-08 22:19:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "parse-display"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3b25af4ef94a8528b41fb49a696e361dc6ef975c782417268072d987ac327964"
|
|
|
|
dependencies = [
|
|
|
|
"once_cell",
|
|
|
|
"parse-display-derive",
|
|
|
|
"regex",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parse-display-derive"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "73f106cced1f4b645e3fca6125105cdf7407e35d1af710f290aac530f6b826b9"
|
|
|
|
dependencies = [
|
|
|
|
"once_cell",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"regex",
|
chore(deps): Bump regex from 1.7.3 to 1.8.1 (#645)
Bumps [regex](https://github.com/rust-lang/regex) from 1.7.3 to 1.8.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/regex/blob/master/CHANGELOG.md">regex's
changelog</a>.</em></p>
<blockquote>
<h1>1.8.1 (2023-04-21)</h1>
<p>This is a patch release that fixes a bug where a regex match could be
reported
where none was found. Specifically, the bug occurs when a pattern
contains some
literal prefixes that could be extracted <em>and</em> an optional word
boundary in the
prefix.</p>
<p>Bug fixes:</p>
<ul>
<li>[BUG <a
href="https://redirect.github.com/rust-lang/regex/issues/981">#981</a>](<a
href="https://redirect.github.com/rust-lang/regex/issues/981">rust-lang/regex#981</a>):
Fix a bug where a word boundary could interact with prefix literal
optimizations and lead to a false positive match.</li>
</ul>
<h1>1.8.0 (2023-04-20)</h1>
<p>This is a sizeable release that will be soon followed by another
sizeable
release. Both of them will combined close over 40 existing issues and
PRs.</p>
<p>This first release, despite its size, essentially represent
preparatory work
for the second release, which will be even bigger. Namely, this
release:</p>
<ul>
<li>Increases the MSRV to Rust 1.60.0, which was released about 1 year
ago.</li>
<li>Upgrades its dependency on <code>aho-corasick</code> to the recently
release 1.0
version.</li>
<li>Upgrades its dependency on <code>regex-syntax</code> to the
simultaneously released
<code>0.7</code> version. The changes to <code>regex-syntax</code>
principally revolve around a
rewrite of its literal extraction code and a number of simplifications
and
optimizations to its high-level intermediate representation (HIR).</li>
</ul>
<p>The second release, which will follow ~shortly after the release
above, will
contain a soup-to-nuts rewrite of every regex engine. This will be done
by
bringing <a
href="https://github.com/BurntSushi/regex-automata"><code>regex-automata</code></a>
into
this repository, and then changing the <code>regex</code> crate to be
nothing but an API
shim layer on top of <code>regex-automata</code>'s API.</p>
<p>These tandem releases are the culmination of about 3
years of on-and-off work that <a
href="https://redirect.github.com/rust-lang/regex/issues/656">began in
earnest in March
2020</a>.</p>
<p>Because of the scale of changes involved in these releases, I would
love to
hear about your experience. Especially if you notice undocumented
changes in
behavior or performance changes (positive <em>or</em> negative).</p>
<p>Most changes in the first release are listed below. For more details,
please
see the commit log, which reflects a linear and decently documented
history
of all changes.</p>
<p>New features:</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/regex/commit/4e29fceace6f3c189f78b1baaec6755f27d69ffb"><code>4e29fce</code></a>
1.8.1</li>
<li><a
href="https://github.com/rust-lang/regex/commit/8a7cb645cfd7c4e0f77482e8894155b93ca5fc3f"><code>8a7cb64</code></a>
deps: bump regex-syntax to 0.7.1</li>
<li><a
href="https://github.com/rust-lang/regex/commit/31c845296c5d34092aae637a02bf0d757a35f646"><code>31c8452</code></a>
regex-syntax-0.7.1</li>
<li><a
href="https://github.com/rust-lang/regex/commit/960aadeba06420f8b979aa983fd55429c42d3e4a"><code>960aade</code></a>
changelog: 1.8.1</li>
<li><a
href="https://github.com/rust-lang/regex/commit/f003d72578c84d3b849fa1c59724e003338a3ca1"><code>f003d72</code></a>
impl: fix prefix literal matching bug</li>
<li><a
href="https://github.com/rust-lang/regex/commit/93316a3b1adc43cc12fab6c73a59f646658cd984"><code>93316a3</code></a>
doc: update MSRV in README</li>
<li><a
href="https://github.com/rust-lang/regex/commit/070374f2878f23809a4e5ca0810d523f692c6e7e"><code>070374f</code></a>
release: 1.8.0</li>
<li><a
href="https://github.com/rust-lang/regex/commit/a73c61cecbf24ebf70699269cca95b991dbe2e7e"><code>a73c61c</code></a>
fuzz: get rid of 'named-profiles' feature</li>
<li><a
href="https://github.com/rust-lang/regex/commit/7cd75d22b56f60dc711976242a5cbca9e5922413"><code>7cd75d2</code></a>
changelog: tweaks to 1.8 release entry</li>
<li><a
href="https://github.com/rust-lang/regex/commit/33898de870fc584ce912651590d8715d1178e667"><code>33898de</code></a>
syntax: fix bug in new alternation literal analysis</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/regex/compare/1.7.3...1.8.1">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=regex&package-manager=cargo&previous-version=1.7.3&new-version=1.8.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 20:48:13 +03:00
|
|
|
"regex-syntax 0.6.29",
|
2023-01-08 22:19:11 +03:00
|
|
|
"structmeta",
|
2023-03-20 06:31:56 +03:00
|
|
|
"syn 1.0.109",
|
2023-01-08 22:19:11 +03:00
|
|
|
]
|
|
|
|
|
2022-08-15 16:54:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "paste"
|
2023-07-17 05:21:54 +03:00
|
|
|
version = "1.0.14"
|
2022-08-15 16:54:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-17 05:21:54 +03:00
|
|
|
checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c"
|
2022-08-15 16:54:48 +03:00
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "pem-rfc7468"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412"
|
|
|
|
dependencies = [
|
|
|
|
"base64ct",
|
|
|
|
]
|
|
|
|
|
2019-07-28 18:05:15 +03:00
|
|
|
[[package]]
|
2020-04-26 17:57:13 +03:00
|
|
|
name = "percent-encoding"
|
2023-06-13 06:05:54 +03:00
|
|
|
version = "2.3.0"
|
2019-07-28 18:05:15 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-13 06:05:54 +03:00
|
|
|
checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94"
|
2018-02-21 13:37:31 +03:00
|
|
|
|
2020-09-25 14:15:35 +03:00
|
|
|
[[package]]
|
2020-10-31 13:07:04 +03:00
|
|
|
name = "phf"
|
2023-07-03 13:43:29 +03:00
|
|
|
version = "0.11.2"
|
2020-09-25 14:15:35 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-03 13:43:29 +03:00
|
|
|
checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc"
|
2020-09-25 14:15:35 +03:00
|
|
|
dependencies = [
|
2020-10-31 13:07:04 +03:00
|
|
|
"phf_shared",
|
2020-09-25 14:15:35 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2020-10-31 13:07:04 +03:00
|
|
|
name = "phf_shared"
|
2023-07-03 13:43:29 +03:00
|
|
|
version = "0.11.2"
|
2020-09-25 14:15:35 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-03 13:43:29 +03:00
|
|
|
checksum = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b"
|
2020-09-25 14:15:35 +03:00
|
|
|
dependencies = [
|
2020-10-31 13:07:04 +03:00
|
|
|
"siphasher",
|
2020-09-25 14:15:35 +03:00
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "pico-args"
|
|
|
|
version = "0.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5be167a7af36ee22fe3115051bc51f6e6c7054c9348e28deb4f49bd6f705a315"
|
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "pin-project"
|
2023-08-08 22:33:30 +03:00
|
|
|
version = "1.1.3"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-08 22:33:30 +03:00
|
|
|
checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"pin-project-internal",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pin-project-internal"
|
2023-08-08 22:33:30 +03:00
|
|
|
version = "1.1.3"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-08 22:33:30 +03:00
|
|
|
checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-08-21 10:33:22 +03:00
|
|
|
"syn 2.0.29",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
]
|
|
|
|
|
2020-12-20 15:45:58 +03:00
|
|
|
[[package]]
|
|
|
|
name = "pin-project-lite"
|
2023-08-28 06:26:51 +03:00
|
|
|
version = "0.2.13"
|
2020-12-20 15:45:58 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 06:26:51 +03:00
|
|
|
checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58"
|
2020-12-20 15:45:58 +03:00
|
|
|
|
2020-04-26 17:57:13 +03:00
|
|
|
[[package]]
|
|
|
|
name = "pin-utils"
|
|
|
|
version = "0.1.0"
|
2017-10-09 14:29:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-14 10:59:32 +03:00
|
|
|
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
2017-10-09 14:29:03 +03:00
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "pkcs1"
|
|
|
|
version = "0.7.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f"
|
|
|
|
dependencies = [
|
|
|
|
"der",
|
|
|
|
"pkcs8",
|
|
|
|
"spki",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pkcs8"
|
|
|
|
version = "0.10.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7"
|
|
|
|
dependencies = [
|
|
|
|
"der",
|
|
|
|
"spki",
|
|
|
|
]
|
|
|
|
|
2020-05-04 21:21:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "pkg-config"
|
2023-05-09 11:39:31 +03:00
|
|
|
version = "0.3.27"
|
2020-05-04 21:21:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-05-09 11:39:31 +03:00
|
|
|
checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964"
|
2020-05-04 21:21:11 +03:00
|
|
|
|
2020-01-27 08:18:39 +03:00
|
|
|
[[package]]
|
|
|
|
name = "plotters"
|
2023-06-17 06:57:31 +03:00
|
|
|
version = "0.3.5"
|
2020-01-27 08:18:39 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-17 06:57:31 +03:00
|
|
|
checksum = "d2c224ba00d7cadd4d5c660deaf2098e5e80e07846537c51f9cfa4be50c1fd45"
|
2020-01-27 08:18:39 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"num-traits",
|
2021-02-21 21:44:28 +03:00
|
|
|
"plotters-backend",
|
|
|
|
"plotters-svg",
|
2020-10-14 10:59:32 +03:00
|
|
|
"wasm-bindgen",
|
|
|
|
"web-sys",
|
2020-01-27 08:18:39 +03:00
|
|
|
]
|
|
|
|
|
2021-02-21 21:44:28 +03:00
|
|
|
[[package]]
|
|
|
|
name = "plotters-backend"
|
2023-06-17 06:57:31 +03:00
|
|
|
version = "0.3.5"
|
2021-02-21 21:44:28 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-17 06:57:31 +03:00
|
|
|
checksum = "9e76628b4d3a7581389a35d5b6e2139607ad7c75b17aed325f210aa91f4a9609"
|
2021-02-21 21:44:28 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "plotters-svg"
|
2023-06-17 06:57:31 +03:00
|
|
|
version = "0.3.5"
|
2021-02-21 21:44:28 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-17 06:57:31 +03:00
|
|
|
checksum = "38f6d39893cca0701371e3c27294f09797214b86f1fb951b89ade8ec04e2abab"
|
2021-02-21 21:44:28 +03:00
|
|
|
dependencies = [
|
|
|
|
"plotters-backend",
|
|
|
|
]
|
|
|
|
|
2023-01-08 22:19:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "pmtiles"
|
2023-05-25 19:01:35 +03:00
|
|
|
version = "0.2.2"
|
2023-01-08 22:19:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-05-25 19:01:35 +03:00
|
|
|
checksum = "648223fdb2b9b5e7cf99ffca14801a056195a184c5900d3f4083185cfbd8aa10"
|
2023-01-08 22:19:11 +03:00
|
|
|
dependencies = [
|
|
|
|
"async-compression",
|
|
|
|
"async-recursion",
|
|
|
|
"async-trait",
|
|
|
|
"bytes",
|
|
|
|
"fmmap",
|
|
|
|
"hilbert_2d",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"tilejson",
|
|
|
|
"tokio",
|
|
|
|
"varint-rs",
|
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "png"
|
2023-08-21 10:33:22 +03:00
|
|
|
version = "0.17.10"
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-21 10:33:22 +03:00
|
|
|
checksum = "dd75bf2d8dd3702b9707cdbc56a5b9ef42cec752eb8b3bafc01234558442aa64"
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
dependencies = [
|
2023-07-03 13:43:29 +03:00
|
|
|
"bitflags 1.3.2",
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
"crc32fast",
|
|
|
|
"fdeflate",
|
|
|
|
"flate2",
|
2023-07-03 13:43:29 +03:00
|
|
|
"miniz_oxide",
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
]
|
|
|
|
|
2021-10-10 12:09:56 +03:00
|
|
|
[[package]]
|
|
|
|
name = "postgis"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b52406590b7a682cadd0f0339c43905eb323568e84a2e97e855ef92645e0ec09"
|
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
2022-08-15 16:54:48 +03:00
|
|
|
"bytes",
|
2021-10-10 12:09:56 +03:00
|
|
|
"postgres-types",
|
|
|
|
]
|
|
|
|
|
2017-09-30 13:55:44 +03:00
|
|
|
[[package]]
|
2017-10-09 14:29:03 +03:00
|
|
|
name = "postgres"
|
2023-08-28 06:26:51 +03:00
|
|
|
version = "0.19.7"
|
2017-09-30 13:55:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 06:26:51 +03:00
|
|
|
checksum = "7915b33ed60abc46040cbcaa25ffa1c7ec240668e0477c4f3070786f5916d451"
|
2017-10-09 14:29:03 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"bytes",
|
2020-10-14 10:59:32 +03:00
|
|
|
"fallible-iterator",
|
2022-09-13 08:57:02 +03:00
|
|
|
"futures-util",
|
2020-10-14 10:59:32 +03:00
|
|
|
"log",
|
2022-08-15 16:54:48 +03:00
|
|
|
"tokio",
|
2020-10-14 10:59:32 +03:00
|
|
|
"tokio-postgres",
|
2020-05-04 21:21:11 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2021-10-18 14:35:08 +03:00
|
|
|
name = "postgres-openssl"
|
2021-04-25 14:46:44 +03:00
|
|
|
version = "0.5.0"
|
2020-05-04 21:21:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-18 14:35:08 +03:00
|
|
|
checksum = "1de0ea6504e07ca78355a6fb88ad0f36cafe9e696cbc6717f16a207f3a60be72"
|
2020-05-04 21:21:11 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"futures",
|
2021-10-18 14:35:08 +03:00
|
|
|
"openssl",
|
2022-08-15 16:54:48 +03:00
|
|
|
"tokio",
|
2021-10-18 14:35:08 +03:00
|
|
|
"tokio-openssl",
|
2020-10-14 10:59:32 +03:00
|
|
|
"tokio-postgres",
|
2017-10-09 14:29:03 +03:00
|
|
|
]
|
2017-09-30 13:55:44 +03:00
|
|
|
|
|
|
|
[[package]]
|
2017-10-09 14:29:03 +03:00
|
|
|
name = "postgres-protocol"
|
2023-08-21 06:32:50 +03:00
|
|
|
version = "0.6.6"
|
2017-09-30 13:55:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-21 06:32:50 +03:00
|
|
|
checksum = "49b6c5ef183cd3ab4ba005f1ca64c21e8bd97ce4699cfea9e8d9a2c4958ca520"
|
2017-10-09 14:29:03 +03:00
|
|
|
dependencies = [
|
2023-03-28 07:34:09 +03:00
|
|
|
"base64",
|
2020-10-14 10:59:32 +03:00
|
|
|
"byteorder",
|
2022-08-15 16:54:48 +03:00
|
|
|
"bytes",
|
2020-10-14 10:59:32 +03:00
|
|
|
"fallible-iterator",
|
|
|
|
"hmac",
|
2021-04-25 14:46:44 +03:00
|
|
|
"md-5",
|
2020-10-14 10:59:32 +03:00
|
|
|
"memchr",
|
2022-08-15 16:54:48 +03:00
|
|
|
"rand",
|
2020-10-14 10:59:32 +03:00
|
|
|
"sha2",
|
|
|
|
"stringprep",
|
2017-10-09 14:29:03 +03:00
|
|
|
]
|
2017-09-30 13:55:44 +03:00
|
|
|
|
|
|
|
[[package]]
|
2020-05-04 21:21:11 +03:00
|
|
|
name = "postgres-types"
|
2023-08-21 10:42:01 +03:00
|
|
|
version = "0.2.6"
|
2017-09-30 13:55:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-21 10:42:01 +03:00
|
|
|
checksum = "8d2234cdee9408b523530a9b6d2d6b373d1db34f6a8e51dc03ded1828d7fb67c"
|
2017-09-30 13:55:44 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"bytes",
|
2020-10-14 10:59:32 +03:00
|
|
|
"fallible-iterator",
|
|
|
|
"postgres-protocol",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2022-09-13 09:18:01 +03:00
|
|
|
"time",
|
2020-10-14 10:59:32 +03:00
|
|
|
"uuid",
|
2017-10-09 14:29:03 +03:00
|
|
|
]
|
|
|
|
|
2019-10-26 20:37:49 +03:00
|
|
|
[[package]]
|
|
|
|
name = "ppv-lite86"
|
2022-11-19 18:52:58 +03:00
|
|
|
version = "0.2.17"
|
2019-10-26 20:37:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-19 18:52:58 +03:00
|
|
|
checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
|
2019-10-26 20:37:49 +03:00
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "predicates"
|
|
|
|
version = "3.0.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "09963355b9f467184c04017ced4a2ba2d75cbcb4e7462690d388233253d4b1a9"
|
|
|
|
dependencies = [
|
|
|
|
"anstyle",
|
|
|
|
"difflib",
|
2023-06-23 06:24:31 +03:00
|
|
|
"itertools 0.10.5",
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
"predicates-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "predicates-core"
|
|
|
|
version = "1.0.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "predicates-tree"
|
|
|
|
version = "1.0.9"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf"
|
|
|
|
dependencies = [
|
|
|
|
"predicates-core",
|
|
|
|
"termtree",
|
|
|
|
]
|
|
|
|
|
2019-08-20 12:19:04 +03:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro2"
|
2023-07-17 05:21:54 +03:00
|
|
|
version = "1.0.66"
|
2019-08-20 12:19:04 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-17 05:21:54 +03:00
|
|
|
checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9"
|
2019-08-20 12:19:04 +03:00
|
|
|
dependencies = [
|
2022-05-27 14:04:27 +03:00
|
|
|
"unicode-ident",
|
2019-08-20 12:19:04 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "quote"
|
2023-08-21 10:42:01 +03:00
|
|
|
version = "1.0.33"
|
2019-08-20 12:19:04 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-21 10:42:01 +03:00
|
|
|
checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae"
|
2019-08-20 12:19:04 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"proc-macro2",
|
2019-08-20 12:19:04 +03:00
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "radium"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09"
|
|
|
|
|
2021-02-21 21:44:28 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rand"
|
2022-05-03 12:12:54 +03:00
|
|
|
version = "0.8.5"
|
2021-02-21 21:44:28 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-03 12:12:54 +03:00
|
|
|
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
2021-02-21 21:44:28 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"libc",
|
2022-08-15 16:54:48 +03:00
|
|
|
"rand_chacha",
|
|
|
|
"rand_core",
|
2021-02-21 21:44:28 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_chacha"
|
2021-07-16 16:08:46 +03:00
|
|
|
version = "0.3.1"
|
2021-02-21 21:44:28 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-16 16:08:46 +03:00
|
|
|
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
|
2021-02-21 21:44:28 +03:00
|
|
|
dependencies = [
|
|
|
|
"ppv-lite86",
|
2022-08-15 16:54:48 +03:00
|
|
|
"rand_core",
|
2021-02-21 21:44:28 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_core"
|
2022-09-28 11:19:23 +03:00
|
|
|
version = "0.6.4"
|
2021-02-21 21:44:28 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-28 11:19:23 +03:00
|
|
|
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
|
2021-02-21 21:44:28 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"getrandom",
|
2021-02-21 21:44:28 +03:00
|
|
|
]
|
|
|
|
|
2019-10-26 20:37:49 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rayon"
|
2023-03-07 02:55:25 +03:00
|
|
|
version = "1.7.0"
|
2019-10-26 20:37:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-07 02:55:25 +03:00
|
|
|
checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b"
|
2019-10-26 20:37:49 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"either",
|
|
|
|
"rayon-core",
|
2019-10-26 20:37:49 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rayon-core"
|
2023-03-07 02:55:25 +03:00
|
|
|
version = "1.11.0"
|
2019-10-26 20:37:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-07 02:55:25 +03:00
|
|
|
checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d"
|
2019-10-26 20:37:49 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"crossbeam-channel",
|
2020-10-14 10:59:32 +03:00
|
|
|
"crossbeam-deque",
|
2022-08-15 16:54:48 +03:00
|
|
|
"crossbeam-utils",
|
2020-10-14 10:59:32 +03:00
|
|
|
"num_cpus",
|
2019-10-26 20:37:49 +03:00
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rctree"
|
|
|
|
version = "0.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3b42e27ef78c35d3998403c1d26f3efd9e135d3e5121b0a4845cc5cc27547f4f"
|
|
|
|
|
2023-04-03 05:06:55 +03:00
|
|
|
[[package]]
|
|
|
|
name = "redox_syscall"
|
|
|
|
version = "0.3.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29"
|
|
|
|
dependencies = [
|
2023-07-03 13:43:29 +03:00
|
|
|
"bitflags 1.3.2",
|
2023-04-03 05:06:55 +03:00
|
|
|
]
|
|
|
|
|
2018-05-05 10:08:27 +03:00
|
|
|
[[package]]
|
|
|
|
name = "regex"
|
2023-08-28 05:38:54 +03:00
|
|
|
version = "1.9.4"
|
2023-07-06 03:56:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 05:38:54 +03:00
|
|
|
checksum = "12de2eff854e5fa4b1295edd650e227e9d8fb0c9e90b12e7f36d6a6811791a29"
|
2023-07-06 03:56:23 +03:00
|
|
|
dependencies = [
|
2023-07-17 05:21:54 +03:00
|
|
|
"aho-corasick",
|
2023-07-06 03:56:23 +03:00
|
|
|
"memchr",
|
|
|
|
"regex-automata",
|
2023-08-28 05:38:54 +03:00
|
|
|
"regex-syntax 0.7.5",
|
2023-07-06 03:56:23 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "regex-automata"
|
2023-08-28 05:38:54 +03:00
|
|
|
version = "0.3.7"
|
2017-10-09 14:29:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 05:38:54 +03:00
|
|
|
checksum = "49530408a136e16e5b486e883fbb6ba058e8e4e8ae6621a77b048b314336e629"
|
2017-10-09 14:29:03 +03:00
|
|
|
dependencies = [
|
2023-07-17 05:21:54 +03:00
|
|
|
"aho-corasick",
|
2020-10-14 10:59:32 +03:00
|
|
|
"memchr",
|
2023-08-28 05:38:54 +03:00
|
|
|
"regex-syntax 0.7.5",
|
2017-10-09 14:29:03 +03:00
|
|
|
]
|
|
|
|
|
2018-05-05 10:08:27 +03:00
|
|
|
[[package]]
|
|
|
|
name = "regex-syntax"
|
2023-03-22 06:28:42 +03:00
|
|
|
version = "0.6.29"
|
2021-02-21 21:44:28 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-22 06:28:42 +03:00
|
|
|
checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
|
2021-02-21 21:44:28 +03:00
|
|
|
|
chore(deps): Bump regex from 1.7.3 to 1.8.1 (#645)
Bumps [regex](https://github.com/rust-lang/regex) from 1.7.3 to 1.8.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/regex/blob/master/CHANGELOG.md">regex's
changelog</a>.</em></p>
<blockquote>
<h1>1.8.1 (2023-04-21)</h1>
<p>This is a patch release that fixes a bug where a regex match could be
reported
where none was found. Specifically, the bug occurs when a pattern
contains some
literal prefixes that could be extracted <em>and</em> an optional word
boundary in the
prefix.</p>
<p>Bug fixes:</p>
<ul>
<li>[BUG <a
href="https://redirect.github.com/rust-lang/regex/issues/981">#981</a>](<a
href="https://redirect.github.com/rust-lang/regex/issues/981">rust-lang/regex#981</a>):
Fix a bug where a word boundary could interact with prefix literal
optimizations and lead to a false positive match.</li>
</ul>
<h1>1.8.0 (2023-04-20)</h1>
<p>This is a sizeable release that will be soon followed by another
sizeable
release. Both of them will combined close over 40 existing issues and
PRs.</p>
<p>This first release, despite its size, essentially represent
preparatory work
for the second release, which will be even bigger. Namely, this
release:</p>
<ul>
<li>Increases the MSRV to Rust 1.60.0, which was released about 1 year
ago.</li>
<li>Upgrades its dependency on <code>aho-corasick</code> to the recently
release 1.0
version.</li>
<li>Upgrades its dependency on <code>regex-syntax</code> to the
simultaneously released
<code>0.7</code> version. The changes to <code>regex-syntax</code>
principally revolve around a
rewrite of its literal extraction code and a number of simplifications
and
optimizations to its high-level intermediate representation (HIR).</li>
</ul>
<p>The second release, which will follow ~shortly after the release
above, will
contain a soup-to-nuts rewrite of every regex engine. This will be done
by
bringing <a
href="https://github.com/BurntSushi/regex-automata"><code>regex-automata</code></a>
into
this repository, and then changing the <code>regex</code> crate to be
nothing but an API
shim layer on top of <code>regex-automata</code>'s API.</p>
<p>These tandem releases are the culmination of about 3
years of on-and-off work that <a
href="https://redirect.github.com/rust-lang/regex/issues/656">began in
earnest in March
2020</a>.</p>
<p>Because of the scale of changes involved in these releases, I would
love to
hear about your experience. Especially if you notice undocumented
changes in
behavior or performance changes (positive <em>or</em> negative).</p>
<p>Most changes in the first release are listed below. For more details,
please
see the commit log, which reflects a linear and decently documented
history
of all changes.</p>
<p>New features:</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/regex/commit/4e29fceace6f3c189f78b1baaec6755f27d69ffb"><code>4e29fce</code></a>
1.8.1</li>
<li><a
href="https://github.com/rust-lang/regex/commit/8a7cb645cfd7c4e0f77482e8894155b93ca5fc3f"><code>8a7cb64</code></a>
deps: bump regex-syntax to 0.7.1</li>
<li><a
href="https://github.com/rust-lang/regex/commit/31c845296c5d34092aae637a02bf0d757a35f646"><code>31c8452</code></a>
regex-syntax-0.7.1</li>
<li><a
href="https://github.com/rust-lang/regex/commit/960aadeba06420f8b979aa983fd55429c42d3e4a"><code>960aade</code></a>
changelog: 1.8.1</li>
<li><a
href="https://github.com/rust-lang/regex/commit/f003d72578c84d3b849fa1c59724e003338a3ca1"><code>f003d72</code></a>
impl: fix prefix literal matching bug</li>
<li><a
href="https://github.com/rust-lang/regex/commit/93316a3b1adc43cc12fab6c73a59f646658cd984"><code>93316a3</code></a>
doc: update MSRV in README</li>
<li><a
href="https://github.com/rust-lang/regex/commit/070374f2878f23809a4e5ca0810d523f692c6e7e"><code>070374f</code></a>
release: 1.8.0</li>
<li><a
href="https://github.com/rust-lang/regex/commit/a73c61cecbf24ebf70699269cca95b991dbe2e7e"><code>a73c61c</code></a>
fuzz: get rid of 'named-profiles' feature</li>
<li><a
href="https://github.com/rust-lang/regex/commit/7cd75d22b56f60dc711976242a5cbca9e5922413"><code>7cd75d2</code></a>
changelog: tweaks to 1.8 release entry</li>
<li><a
href="https://github.com/rust-lang/regex/commit/33898de870fc584ce912651590d8715d1178e667"><code>33898de</code></a>
syntax: fix bug in new alternation literal analysis</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/regex/compare/1.7.3...1.8.1">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=regex&package-manager=cargo&previous-version=1.7.3&new-version=1.8.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 20:48:13 +03:00
|
|
|
[[package]]
|
|
|
|
name = "regex-syntax"
|
2023-08-28 05:38:54 +03:00
|
|
|
version = "0.7.5"
|
chore(deps): Bump regex from 1.7.3 to 1.8.1 (#645)
Bumps [regex](https://github.com/rust-lang/regex) from 1.7.3 to 1.8.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/regex/blob/master/CHANGELOG.md">regex's
changelog</a>.</em></p>
<blockquote>
<h1>1.8.1 (2023-04-21)</h1>
<p>This is a patch release that fixes a bug where a regex match could be
reported
where none was found. Specifically, the bug occurs when a pattern
contains some
literal prefixes that could be extracted <em>and</em> an optional word
boundary in the
prefix.</p>
<p>Bug fixes:</p>
<ul>
<li>[BUG <a
href="https://redirect.github.com/rust-lang/regex/issues/981">#981</a>](<a
href="https://redirect.github.com/rust-lang/regex/issues/981">rust-lang/regex#981</a>):
Fix a bug where a word boundary could interact with prefix literal
optimizations and lead to a false positive match.</li>
</ul>
<h1>1.8.0 (2023-04-20)</h1>
<p>This is a sizeable release that will be soon followed by another
sizeable
release. Both of them will combined close over 40 existing issues and
PRs.</p>
<p>This first release, despite its size, essentially represent
preparatory work
for the second release, which will be even bigger. Namely, this
release:</p>
<ul>
<li>Increases the MSRV to Rust 1.60.0, which was released about 1 year
ago.</li>
<li>Upgrades its dependency on <code>aho-corasick</code> to the recently
release 1.0
version.</li>
<li>Upgrades its dependency on <code>regex-syntax</code> to the
simultaneously released
<code>0.7</code> version. The changes to <code>regex-syntax</code>
principally revolve around a
rewrite of its literal extraction code and a number of simplifications
and
optimizations to its high-level intermediate representation (HIR).</li>
</ul>
<p>The second release, which will follow ~shortly after the release
above, will
contain a soup-to-nuts rewrite of every regex engine. This will be done
by
bringing <a
href="https://github.com/BurntSushi/regex-automata"><code>regex-automata</code></a>
into
this repository, and then changing the <code>regex</code> crate to be
nothing but an API
shim layer on top of <code>regex-automata</code>'s API.</p>
<p>These tandem releases are the culmination of about 3
years of on-and-off work that <a
href="https://redirect.github.com/rust-lang/regex/issues/656">began in
earnest in March
2020</a>.</p>
<p>Because of the scale of changes involved in these releases, I would
love to
hear about your experience. Especially if you notice undocumented
changes in
behavior or performance changes (positive <em>or</em> negative).</p>
<p>Most changes in the first release are listed below. For more details,
please
see the commit log, which reflects a linear and decently documented
history
of all changes.</p>
<p>New features:</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/regex/commit/4e29fceace6f3c189f78b1baaec6755f27d69ffb"><code>4e29fce</code></a>
1.8.1</li>
<li><a
href="https://github.com/rust-lang/regex/commit/8a7cb645cfd7c4e0f77482e8894155b93ca5fc3f"><code>8a7cb64</code></a>
deps: bump regex-syntax to 0.7.1</li>
<li><a
href="https://github.com/rust-lang/regex/commit/31c845296c5d34092aae637a02bf0d757a35f646"><code>31c8452</code></a>
regex-syntax-0.7.1</li>
<li><a
href="https://github.com/rust-lang/regex/commit/960aadeba06420f8b979aa983fd55429c42d3e4a"><code>960aade</code></a>
changelog: 1.8.1</li>
<li><a
href="https://github.com/rust-lang/regex/commit/f003d72578c84d3b849fa1c59724e003338a3ca1"><code>f003d72</code></a>
impl: fix prefix literal matching bug</li>
<li><a
href="https://github.com/rust-lang/regex/commit/93316a3b1adc43cc12fab6c73a59f646658cd984"><code>93316a3</code></a>
doc: update MSRV in README</li>
<li><a
href="https://github.com/rust-lang/regex/commit/070374f2878f23809a4e5ca0810d523f692c6e7e"><code>070374f</code></a>
release: 1.8.0</li>
<li><a
href="https://github.com/rust-lang/regex/commit/a73c61cecbf24ebf70699269cca95b991dbe2e7e"><code>a73c61c</code></a>
fuzz: get rid of 'named-profiles' feature</li>
<li><a
href="https://github.com/rust-lang/regex/commit/7cd75d22b56f60dc711976242a5cbca9e5922413"><code>7cd75d2</code></a>
changelog: tweaks to 1.8 release entry</li>
<li><a
href="https://github.com/rust-lang/regex/commit/33898de870fc584ce912651590d8715d1178e667"><code>33898de</code></a>
syntax: fix bug in new alternation literal analysis</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/regex/compare/1.7.3...1.8.1">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=regex&package-manager=cargo&previous-version=1.7.3&new-version=1.8.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 20:48:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 05:38:54 +03:00
|
|
|
checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da"
|
chore(deps): Bump regex from 1.7.3 to 1.8.1 (#645)
Bumps [regex](https://github.com/rust-lang/regex) from 1.7.3 to 1.8.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/regex/blob/master/CHANGELOG.md">regex's
changelog</a>.</em></p>
<blockquote>
<h1>1.8.1 (2023-04-21)</h1>
<p>This is a patch release that fixes a bug where a regex match could be
reported
where none was found. Specifically, the bug occurs when a pattern
contains some
literal prefixes that could be extracted <em>and</em> an optional word
boundary in the
prefix.</p>
<p>Bug fixes:</p>
<ul>
<li>[BUG <a
href="https://redirect.github.com/rust-lang/regex/issues/981">#981</a>](<a
href="https://redirect.github.com/rust-lang/regex/issues/981">rust-lang/regex#981</a>):
Fix a bug where a word boundary could interact with prefix literal
optimizations and lead to a false positive match.</li>
</ul>
<h1>1.8.0 (2023-04-20)</h1>
<p>This is a sizeable release that will be soon followed by another
sizeable
release. Both of them will combined close over 40 existing issues and
PRs.</p>
<p>This first release, despite its size, essentially represent
preparatory work
for the second release, which will be even bigger. Namely, this
release:</p>
<ul>
<li>Increases the MSRV to Rust 1.60.0, which was released about 1 year
ago.</li>
<li>Upgrades its dependency on <code>aho-corasick</code> to the recently
release 1.0
version.</li>
<li>Upgrades its dependency on <code>regex-syntax</code> to the
simultaneously released
<code>0.7</code> version. The changes to <code>regex-syntax</code>
principally revolve around a
rewrite of its literal extraction code and a number of simplifications
and
optimizations to its high-level intermediate representation (HIR).</li>
</ul>
<p>The second release, which will follow ~shortly after the release
above, will
contain a soup-to-nuts rewrite of every regex engine. This will be done
by
bringing <a
href="https://github.com/BurntSushi/regex-automata"><code>regex-automata</code></a>
into
this repository, and then changing the <code>regex</code> crate to be
nothing but an API
shim layer on top of <code>regex-automata</code>'s API.</p>
<p>These tandem releases are the culmination of about 3
years of on-and-off work that <a
href="https://redirect.github.com/rust-lang/regex/issues/656">began in
earnest in March
2020</a>.</p>
<p>Because of the scale of changes involved in these releases, I would
love to
hear about your experience. Especially if you notice undocumented
changes in
behavior or performance changes (positive <em>or</em> negative).</p>
<p>Most changes in the first release are listed below. For more details,
please
see the commit log, which reflects a linear and decently documented
history
of all changes.</p>
<p>New features:</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/regex/commit/4e29fceace6f3c189f78b1baaec6755f27d69ffb"><code>4e29fce</code></a>
1.8.1</li>
<li><a
href="https://github.com/rust-lang/regex/commit/8a7cb645cfd7c4e0f77482e8894155b93ca5fc3f"><code>8a7cb64</code></a>
deps: bump regex-syntax to 0.7.1</li>
<li><a
href="https://github.com/rust-lang/regex/commit/31c845296c5d34092aae637a02bf0d757a35f646"><code>31c8452</code></a>
regex-syntax-0.7.1</li>
<li><a
href="https://github.com/rust-lang/regex/commit/960aadeba06420f8b979aa983fd55429c42d3e4a"><code>960aade</code></a>
changelog: 1.8.1</li>
<li><a
href="https://github.com/rust-lang/regex/commit/f003d72578c84d3b849fa1c59724e003338a3ca1"><code>f003d72</code></a>
impl: fix prefix literal matching bug</li>
<li><a
href="https://github.com/rust-lang/regex/commit/93316a3b1adc43cc12fab6c73a59f646658cd984"><code>93316a3</code></a>
doc: update MSRV in README</li>
<li><a
href="https://github.com/rust-lang/regex/commit/070374f2878f23809a4e5ca0810d523f692c6e7e"><code>070374f</code></a>
release: 1.8.0</li>
<li><a
href="https://github.com/rust-lang/regex/commit/a73c61cecbf24ebf70699269cca95b991dbe2e7e"><code>a73c61c</code></a>
fuzz: get rid of 'named-profiles' feature</li>
<li><a
href="https://github.com/rust-lang/regex/commit/7cd75d22b56f60dc711976242a5cbca9e5922413"><code>7cd75d2</code></a>
changelog: tweaks to 1.8 release entry</li>
<li><a
href="https://github.com/rust-lang/regex/commit/33898de870fc584ce912651590d8715d1178e667"><code>33898de</code></a>
syntax: fix bug in new alternation literal analysis</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/regex/compare/1.7.3...1.8.1">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=regex&package-manager=cargo&previous-version=1.7.3&new-version=1.8.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 20:48:13 +03:00
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "resvg"
|
|
|
|
version = "0.34.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b0e3d65cea36eefb28a020edb6e66341764e00cd4b426e0c1f0599b1adaa78f5"
|
|
|
|
dependencies = [
|
|
|
|
"gif",
|
|
|
|
"jpeg-decoder",
|
|
|
|
"log",
|
|
|
|
"pico-args",
|
|
|
|
"png",
|
|
|
|
"rgb",
|
|
|
|
"svgtypes",
|
|
|
|
"tiny-skia",
|
|
|
|
"usvg",
|
|
|
|
]
|
|
|
|
|
2023-02-08 19:55:37 +03:00
|
|
|
[[package]]
|
|
|
|
name = "retain_mut"
|
|
|
|
version = "0.1.9"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4389f1d5789befaf6029ebd9f7dac4af7f7e3d61b69d4f30e2ac02b57e7712b0"
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rgb"
|
|
|
|
version = "0.8.36"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "20ec2d3e3fc7a92ced357df9cebd5a10b6fb2aa1ee797bf7e9ce2f17dffc8f59"
|
|
|
|
dependencies = [
|
|
|
|
"bytemuck",
|
|
|
|
]
|
|
|
|
|
2023-07-04 00:29:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "ring"
|
|
|
|
version = "0.16.20"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc"
|
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"once_cell",
|
|
|
|
"spin 0.5.2",
|
|
|
|
"untrusted",
|
|
|
|
"web-sys",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "roxmltree"
|
|
|
|
version = "0.18.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d8f595a457b6b8c6cda66a48503e92ee8d19342f905948f29c383200ec9eb1d8"
|
|
|
|
dependencies = [
|
|
|
|
"xmlparser",
|
|
|
|
]
|
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rsa"
|
|
|
|
version = "0.9.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6ab43bb47d23c1a631b4b680199a45255dce26fa9ab2fa902581f624ff13e6a8"
|
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"const-oid",
|
|
|
|
"digest",
|
|
|
|
"num-bigint-dig",
|
|
|
|
"num-integer",
|
|
|
|
"num-iter",
|
|
|
|
"num-traits",
|
|
|
|
"pkcs1",
|
|
|
|
"pkcs8",
|
|
|
|
"rand_core",
|
|
|
|
"signature",
|
|
|
|
"spki",
|
|
|
|
"subtle",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
2023-08-16 20:22:01 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rusqlite"
|
|
|
|
version = "0.29.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "549b9d036d571d42e6e85d1c1425e2ac83491075078ca9a15be021c56b1641f2"
|
|
|
|
dependencies = [
|
2023-08-17 06:10:12 +03:00
|
|
|
"bitflags 2.4.0",
|
2023-08-16 20:22:01 +03:00
|
|
|
"fallible-iterator",
|
|
|
|
"fallible-streaming-iterator",
|
|
|
|
"hashlink",
|
|
|
|
"libsqlite3-sys",
|
|
|
|
"smallvec",
|
|
|
|
]
|
|
|
|
|
2023-06-28 09:14:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-demangle"
|
|
|
|
version = "0.1.23"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76"
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-hash"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
|
|
|
|
|
2021-07-16 16:08:46 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_version"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
|
|
|
|
dependencies = [
|
2022-09-13 09:18:01 +03:00
|
|
|
"semver",
|
2021-07-16 16:08:46 +03:00
|
|
|
]
|
|
|
|
|
2023-01-08 22:19:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rustix"
|
2023-07-06 03:56:23 +03:00
|
|
|
version = "0.35.14"
|
2023-01-08 22:19:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-06 03:56:23 +03:00
|
|
|
checksum = "6380889b07a03b5ecf1d44dc9ede6fd2145d84b502a2a9ca0b03c48e0cc3220f"
|
2023-01-08 22:19:11 +03:00
|
|
|
dependencies = [
|
2023-07-03 13:43:29 +03:00
|
|
|
"bitflags 1.3.2",
|
2023-04-03 05:06:55 +03:00
|
|
|
"errno 0.2.8",
|
2023-07-21 05:56:50 +03:00
|
|
|
"io-lifetimes",
|
2023-01-08 22:19:11 +03:00
|
|
|
"libc",
|
|
|
|
"linux-raw-sys 0.0.46",
|
2023-02-02 07:47:48 +03:00
|
|
|
"windows-sys 0.42.0",
|
2023-01-08 22:19:11 +03:00
|
|
|
]
|
|
|
|
|
2023-07-03 13:43:29 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rustix"
|
2023-08-29 22:29:59 +03:00
|
|
|
version = "0.38.10"
|
2023-07-03 13:43:29 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-29 22:29:59 +03:00
|
|
|
checksum = "ed6248e1caa625eb708e266e06159f135e8c26f2bb7ceb72dc4b2766d0340964"
|
2023-07-03 13:43:29 +03:00
|
|
|
dependencies = [
|
2023-08-16 05:45:33 +03:00
|
|
|
"bitflags 2.4.0",
|
2023-08-29 22:29:59 +03:00
|
|
|
"errno 0.3.3",
|
2023-07-03 13:43:29 +03:00
|
|
|
"libc",
|
2023-08-02 04:39:24 +03:00
|
|
|
"linux-raw-sys 0.4.5",
|
2023-07-03 13:43:29 +03:00
|
|
|
"windows-sys 0.48.0",
|
|
|
|
]
|
|
|
|
|
2023-07-04 00:29:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rustls"
|
2023-08-29 22:29:59 +03:00
|
|
|
version = "0.21.7"
|
2023-07-04 00:29:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-29 22:29:59 +03:00
|
|
|
checksum = "cd8d6c9f025a446bc4d18ad9632e69aec8f287aa84499ee335599fabd20c3fd8"
|
2023-07-04 00:29:44 +03:00
|
|
|
dependencies = [
|
|
|
|
"ring",
|
2023-07-17 05:21:54 +03:00
|
|
|
"rustls-webpki",
|
2023-07-04 00:29:44 +03:00
|
|
|
"sct",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustls-pemfile"
|
|
|
|
version = "1.0.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2d3987094b1d07b653b7dfdc3f70ce9a1da9c51ac18c1b06b662e4f9a0e9f4b2"
|
|
|
|
dependencies = [
|
|
|
|
"base64",
|
|
|
|
]
|
|
|
|
|
2023-07-06 03:56:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rustls-webpki"
|
2023-08-22 21:49:20 +03:00
|
|
|
version = "0.101.4"
|
2023-07-06 03:56:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-22 21:49:20 +03:00
|
|
|
checksum = "7d93931baf2d282fff8d3a532bbfd7653f734643161b87e3e01e59a04439bf0d"
|
2023-07-06 03:56:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"ring",
|
|
|
|
"untrusted",
|
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rustybuzz"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "162bdf42e261bee271b3957691018634488084ef577dddeb6420a9684cab2a6a"
|
|
|
|
dependencies = [
|
2023-07-03 13:43:29 +03:00
|
|
|
"bitflags 1.3.2",
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
"bytemuck",
|
|
|
|
"smallvec",
|
|
|
|
"ttf-parser 0.18.1",
|
|
|
|
"unicode-bidi-mirroring",
|
|
|
|
"unicode-ccc",
|
|
|
|
"unicode-general-category",
|
|
|
|
"unicode-script",
|
|
|
|
]
|
|
|
|
|
2018-08-16 14:07:19 +03:00
|
|
|
[[package]]
|
|
|
|
name = "ryu"
|
2023-07-17 05:21:54 +03:00
|
|
|
version = "1.0.15"
|
2018-08-16 14:07:19 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-17 05:21:54 +03:00
|
|
|
checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741"
|
2018-08-16 14:07:19 +03:00
|
|
|
|
2018-09-15 12:49:25 +03:00
|
|
|
[[package]]
|
2019-10-26 20:37:49 +03:00
|
|
|
name = "same-file"
|
2020-01-11 12:05:45 +03:00
|
|
|
version = "1.0.6"
|
2018-09-15 12:49:25 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-14 10:59:32 +03:00
|
|
|
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
2019-10-26 20:37:49 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"winapi-util",
|
2019-10-26 20:37:49 +03:00
|
|
|
]
|
2018-09-15 12:49:25 +03:00
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "schannel"
|
2023-07-04 00:29:44 +03:00
|
|
|
version = "0.1.22"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-04 00:29:44 +03:00
|
|
|
checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
2023-07-04 00:29:44 +03:00
|
|
|
"windows-sys 0.48.0",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
]
|
|
|
|
|
2019-06-19 12:34:06 +03:00
|
|
|
[[package]]
|
|
|
|
name = "scopeguard"
|
2023-07-17 20:53:58 +03:00
|
|
|
version = "1.2.0"
|
2019-06-19 12:34:06 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-17 20:53:58 +03:00
|
|
|
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
2019-06-19 12:34:06 +03:00
|
|
|
|
2023-07-04 00:29:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "sct"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4"
|
|
|
|
dependencies = [
|
|
|
|
"ring",
|
|
|
|
"untrusted",
|
|
|
|
]
|
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "security-framework"
|
2023-07-24 06:39:17 +03:00
|
|
|
version = "2.9.2"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-24 06:39:17 +03:00
|
|
|
checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
2023-07-03 13:43:29 +03:00
|
|
|
"bitflags 1.3.2",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
"core-foundation",
|
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
"security-framework-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "security-framework-sys"
|
2023-07-24 06:39:17 +03:00
|
|
|
version = "2.9.1"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-24 06:39:17 +03:00
|
|
|
checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2020-06-01 16:59:19 +03:00
|
|
|
[[package]]
|
|
|
|
name = "semver"
|
2023-07-17 05:21:54 +03:00
|
|
|
version = "1.0.18"
|
2020-06-01 16:59:19 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-17 05:21:54 +03:00
|
|
|
checksum = "b0293b4b29daaf487284529cc2f5675b8e57c61f70167ba415a463651fd6a918"
|
2020-06-01 16:59:19 +03:00
|
|
|
|
2017-12-17 13:51:07 +03:00
|
|
|
[[package]]
|
|
|
|
name = "serde"
|
2023-08-28 06:26:51 +03:00
|
|
|
version = "1.0.188"
|
2017-12-17 13:51:07 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 06:26:51 +03:00
|
|
|
checksum = "cf9e0fcba69a370eed61bcf2b728575f726b50b55cba78064753d708ddc7549e"
|
2019-04-08 10:38:25 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"serde_derive",
|
2019-04-08 10:38:25 +03:00
|
|
|
]
|
2017-12-17 13:51:07 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_derive"
|
2023-08-28 06:26:51 +03:00
|
|
|
version = "1.0.188"
|
2017-12-17 13:51:07 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 06:26:51 +03:00
|
|
|
checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2"
|
2017-12-17 13:51:07 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-08-21 10:33:22 +03:00
|
|
|
"syn 2.0.29",
|
2017-12-17 13:51:07 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2018-05-25 17:16:59 +03:00
|
|
|
name = "serde_json"
|
2023-08-16 05:41:01 +03:00
|
|
|
version = "1.0.105"
|
2017-12-17 13:51:07 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-16 05:41:01 +03:00
|
|
|
checksum = "693151e1ac27563d6dbcec9dee9fbd5da8539b20fa14ad3752b2e6d363ace360"
|
2017-12-17 13:51:07 +03:00
|
|
|
dependencies = [
|
2023-06-26 07:12:22 +03:00
|
|
|
"indexmap 2.0.0",
|
2022-09-13 01:42:06 +03:00
|
|
|
"itoa",
|
2020-10-14 10:59:32 +03:00
|
|
|
"ryu",
|
|
|
|
"serde",
|
2018-08-25 12:50:24 +03:00
|
|
|
]
|
|
|
|
|
2022-05-27 14:04:27 +03:00
|
|
|
[[package]]
|
|
|
|
name = "serde_tuple"
|
|
|
|
version = "0.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f4f025b91216f15a2a32aa39669329a475733590a015835d1783549a56d09427"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
"serde_tuple_macros",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_tuple_macros"
|
|
|
|
version = "0.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4076151d1a2b688e25aaf236997933c66e18b870d0369f8b248b8ab2be630d7e"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-03-20 06:31:56 +03:00
|
|
|
"syn 1.0.109",
|
2022-05-27 14:04:27 +03:00
|
|
|
]
|
|
|
|
|
2021-02-21 21:44:28 +03:00
|
|
|
[[package]]
|
|
|
|
name = "serde_urlencoded"
|
2022-02-12 17:25:52 +03:00
|
|
|
version = "0.7.1"
|
2021-02-21 21:44:28 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-12 17:25:52 +03:00
|
|
|
checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
|
2021-02-21 21:44:28 +03:00
|
|
|
dependencies = [
|
|
|
|
"form_urlencoded",
|
2022-09-13 01:42:06 +03:00
|
|
|
"itoa",
|
2021-02-21 21:44:28 +03:00
|
|
|
"ryu",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2018-07-25 15:02:31 +03:00
|
|
|
[[package]]
|
|
|
|
name = "serde_yaml"
|
2023-07-21 05:56:50 +03:00
|
|
|
version = "0.9.25"
|
2018-07-25 15:02:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-21 05:56:50 +03:00
|
|
|
checksum = "1a49e178e4452f45cb61d0cd8cebc1b0fafd3e41929e996cef79aa3aca91f574"
|
2018-07-25 15:02:31 +03:00
|
|
|
dependencies = [
|
2023-06-26 06:35:14 +03:00
|
|
|
"indexmap 2.0.0",
|
2022-09-13 01:42:06 +03:00
|
|
|
"itoa",
|
2022-01-01 20:43:04 +03:00
|
|
|
"ryu",
|
2020-10-14 10:59:32 +03:00
|
|
|
"serde",
|
2022-07-29 12:20:49 +03:00
|
|
|
"unsafe-libyaml",
|
2018-07-25 15:02:31 +03:00
|
|
|
]
|
|
|
|
|
2018-02-21 13:37:31 +03:00
|
|
|
[[package]]
|
|
|
|
name = "sha1"
|
2022-09-28 11:19:23 +03:00
|
|
|
version = "0.10.5"
|
2022-02-12 17:25:52 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-28 11:19:23 +03:00
|
|
|
checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3"
|
2022-02-12 17:25:52 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"cfg-if",
|
|
|
|
"cpufeatures",
|
|
|
|
"digest",
|
2022-02-12 17:25:52 +03:00
|
|
|
]
|
|
|
|
|
2017-10-09 14:29:03 +03:00
|
|
|
[[package]]
|
|
|
|
name = "sha2"
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
version = "0.10.7"
|
2017-10-09 14:29:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8"
|
2017-10-09 14:29:03 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"cfg-if",
|
2021-07-16 16:08:46 +03:00
|
|
|
"cpufeatures",
|
2022-08-15 16:54:48 +03:00
|
|
|
"digest",
|
2017-10-09 14:29:03 +03:00
|
|
|
]
|
|
|
|
|
2019-05-01 09:42:59 +03:00
|
|
|
[[package]]
|
|
|
|
name = "signal-hook-registry"
|
2023-02-13 09:25:45 +03:00
|
|
|
version = "1.4.1"
|
2018-10-25 16:42:37 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-13 09:25:45 +03:00
|
|
|
checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1"
|
2018-10-25 16:42:37 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"libc",
|
2018-10-25 16:42:37 +03:00
|
|
|
]
|
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "signature"
|
|
|
|
version = "2.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5e1788eed21689f9cf370582dfc467ef36ed9c707f073528ddafa8d83e3b8500"
|
|
|
|
dependencies = [
|
|
|
|
"digest",
|
|
|
|
"rand_core",
|
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "simd-adler32"
|
2023-08-02 04:39:24 +03:00
|
|
|
version = "0.3.7"
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-02 04:39:24 +03:00
|
|
|
checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "simplecss"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a11be7c62927d9427e9f40f3444d5499d868648e2edbc4e2116de69e7ec0e89d"
|
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
]
|
|
|
|
|
2017-10-09 14:29:03 +03:00
|
|
|
[[package]]
|
|
|
|
name = "siphasher"
|
2023-08-28 06:26:51 +03:00
|
|
|
version = "0.3.11"
|
2017-10-09 14:29:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 06:26:51 +03:00
|
|
|
checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d"
|
2017-10-09 14:29:03 +03:00
|
|
|
|
2018-02-21 13:37:31 +03:00
|
|
|
[[package]]
|
|
|
|
name = "slab"
|
2023-08-28 06:26:51 +03:00
|
|
|
version = "0.4.9"
|
2018-02-21 13:37:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 06:26:51 +03:00
|
|
|
checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
|
2022-08-15 16:54:48 +03:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
]
|
2018-02-21 13:37:31 +03:00
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "slotmap"
|
|
|
|
version = "1.0.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e1e08e261d0e8f5c43123b7adf3e4ca1690d655377ac93a03b2c9d3e98de1342"
|
|
|
|
dependencies = [
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
2018-02-21 13:37:31 +03:00
|
|
|
[[package]]
|
|
|
|
name = "smallvec"
|
2023-07-06 03:56:23 +03:00
|
|
|
version = "1.11.0"
|
2018-02-12 13:14:21 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-06 03:56:23 +03:00
|
|
|
checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9"
|
2018-02-12 13:14:21 +03:00
|
|
|
|
2023-04-04 16:25:50 +03:00
|
|
|
[[package]]
|
|
|
|
name = "socket2"
|
2023-05-16 21:12:57 +03:00
|
|
|
version = "0.5.3"
|
2023-04-04 16:25:50 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-05-16 21:12:57 +03:00
|
|
|
checksum = "2538b18701741680e0322a2302176d3253a35388e2e62f172f64f4f16605f877"
|
2023-04-04 16:25:50 +03:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2023-05-02 04:04:24 +03:00
|
|
|
"windows-sys 0.48.0",
|
2023-04-04 16:25:50 +03:00
|
|
|
]
|
|
|
|
|
2023-07-04 00:29:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "spin"
|
|
|
|
version = "0.5.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
|
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "spin"
|
2023-04-03 22:35:32 +03:00
|
|
|
version = "0.9.8"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-03 22:35:32 +03:00
|
|
|
checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"lock_api",
|
|
|
|
]
|
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "spki"
|
|
|
|
version = "0.7.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9d1e996ef02c474957d681f1b05213dfb0abab947b446a62d37770b23500184a"
|
|
|
|
dependencies = [
|
|
|
|
"base64ct",
|
|
|
|
"der",
|
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "spreet"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "357c86676a23af570a68dbc1f59d2d6442d12ac7c94c41b8317f30706f5ca05d"
|
|
|
|
dependencies = [
|
|
|
|
"assert_fs",
|
|
|
|
"clap",
|
|
|
|
"crunch",
|
|
|
|
"exitcode",
|
|
|
|
"multimap",
|
|
|
|
"oxipng",
|
|
|
|
"png",
|
|
|
|
"rayon",
|
|
|
|
"resvg",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "sqlformat"
|
2023-01-15 06:32:25 +03:00
|
|
|
version = "0.2.1"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-15 06:32:25 +03:00
|
|
|
checksum = "0c12bc9199d1db8234678b7051747c07f517cdcf019262d1847b94ec8b1aee3e"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
2023-06-23 06:24:31 +03:00
|
|
|
"itertools 0.10.5",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
"nom",
|
|
|
|
"unicode_categories",
|
|
|
|
]
|
|
|
|
|
2023-08-16 20:22:01 +03:00
|
|
|
[[package]]
|
|
|
|
name = "sqlite-hashes"
|
2023-08-28 06:26:51 +03:00
|
|
|
version = "0.2.0"
|
2023-08-16 20:22:01 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 06:26:51 +03:00
|
|
|
checksum = "560fafa797fc0f0c1e54bb9c1f01e9d8f45f7771608d87c95ebec3cf9a3b9f45"
|
2023-08-16 20:22:01 +03:00
|
|
|
dependencies = [
|
|
|
|
"digest",
|
|
|
|
"md-5",
|
|
|
|
"rusqlite",
|
|
|
|
"sha1",
|
|
|
|
"sha2",
|
|
|
|
]
|
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "sqlx"
|
2023-07-17 05:21:54 +03:00
|
|
|
version = "0.7.1"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-17 05:21:54 +03:00
|
|
|
checksum = "8e58421b6bc416714d5115a2ca953718f6c621a51b68e4f4922aea5a4391a721"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"sqlx-core",
|
|
|
|
"sqlx-macros",
|
2023-07-04 15:05:23 +03:00
|
|
|
"sqlx-mysql",
|
|
|
|
"sqlx-postgres",
|
|
|
|
"sqlx-sqlite",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sqlx-core"
|
2023-07-17 05:21:54 +03:00
|
|
|
version = "0.7.1"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-17 05:21:54 +03:00
|
|
|
checksum = "dd4cef4251aabbae751a3710927945901ee1d97ee96d757f6880ebb9a79bfd53"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
2023-08-29 22:29:59 +03:00
|
|
|
"ahash",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
"atoi",
|
|
|
|
"byteorder",
|
|
|
|
"bytes",
|
|
|
|
"crc",
|
|
|
|
"crossbeam-queue",
|
|
|
|
"dotenvy",
|
|
|
|
"either",
|
|
|
|
"event-listener",
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-intrusive",
|
2023-07-04 15:05:23 +03:00
|
|
|
"futures-io",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
"futures-util",
|
|
|
|
"hashlink",
|
|
|
|
"hex",
|
2023-07-04 15:05:23 +03:00
|
|
|
"indexmap 2.0.0",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
"log",
|
|
|
|
"memchr",
|
2023-07-04 15:05:23 +03:00
|
|
|
"native-tls",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
"once_cell",
|
|
|
|
"paste",
|
|
|
|
"percent-encoding",
|
2023-07-04 00:29:44 +03:00
|
|
|
"rustls",
|
|
|
|
"rustls-pemfile",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
"serde",
|
2023-07-04 15:05:23 +03:00
|
|
|
"serde_json",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
"sha2",
|
|
|
|
"smallvec",
|
|
|
|
"sqlformat",
|
|
|
|
"thiserror",
|
2023-07-04 15:05:23 +03:00
|
|
|
"tokio",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
"tokio-stream",
|
2023-07-04 15:05:23 +03:00
|
|
|
"tracing",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
"url",
|
2023-07-04 00:29:44 +03:00
|
|
|
"webpki-roots",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sqlx-macros"
|
2023-07-17 05:21:54 +03:00
|
|
|
version = "0.7.1"
|
2023-07-04 15:05:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-17 05:21:54 +03:00
|
|
|
checksum = "208e3165167afd7f3881b16c1ef3f2af69fa75980897aac8874a0696516d12c2"
|
2023-07-04 15:05:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"sqlx-core",
|
|
|
|
"sqlx-macros-core",
|
|
|
|
"syn 1.0.109",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sqlx-macros-core"
|
2023-07-17 05:21:54 +03:00
|
|
|
version = "0.7.1"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-17 05:21:54 +03:00
|
|
|
checksum = "8a4a8336d278c62231d87f24e8a7a74898156e34c1c18942857be2acb29c7dfc"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"dotenvy",
|
|
|
|
"either",
|
|
|
|
"heck",
|
|
|
|
"hex",
|
|
|
|
"once_cell",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"sha2",
|
|
|
|
"sqlx-core",
|
2023-07-04 15:05:23 +03:00
|
|
|
"sqlx-mysql",
|
|
|
|
"sqlx-sqlite",
|
2023-03-20 06:31:56 +03:00
|
|
|
"syn 1.0.109",
|
2023-07-04 15:05:23 +03:00
|
|
|
"tempfile",
|
|
|
|
"tokio",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
"url",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2023-07-04 15:05:23 +03:00
|
|
|
name = "sqlx-mysql"
|
2023-07-17 05:21:54 +03:00
|
|
|
version = "0.7.1"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-17 05:21:54 +03:00
|
|
|
checksum = "8ca69bf415b93b60b80dc8fda3cb4ef52b2336614d8da2de5456cc942a110482"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
2023-07-04 15:05:23 +03:00
|
|
|
"atoi",
|
|
|
|
"base64",
|
2023-08-16 05:45:33 +03:00
|
|
|
"bitflags 2.4.0",
|
2023-07-04 15:05:23 +03:00
|
|
|
"byteorder",
|
|
|
|
"bytes",
|
|
|
|
"crc",
|
|
|
|
"digest",
|
|
|
|
"dotenvy",
|
|
|
|
"either",
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-io",
|
|
|
|
"futures-util",
|
|
|
|
"generic-array",
|
|
|
|
"hex",
|
|
|
|
"hkdf",
|
|
|
|
"hmac",
|
|
|
|
"itoa",
|
|
|
|
"log",
|
|
|
|
"md-5",
|
|
|
|
"memchr",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
"once_cell",
|
2023-07-04 15:05:23 +03:00
|
|
|
"percent-encoding",
|
|
|
|
"rand",
|
|
|
|
"rsa",
|
|
|
|
"serde",
|
|
|
|
"sha1",
|
|
|
|
"sha2",
|
|
|
|
"smallvec",
|
|
|
|
"sqlx-core",
|
|
|
|
"stringprep",
|
|
|
|
"thiserror",
|
|
|
|
"tracing",
|
|
|
|
"whoami",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sqlx-postgres"
|
2023-07-17 05:21:54 +03:00
|
|
|
version = "0.7.1"
|
2023-07-04 15:05:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-17 05:21:54 +03:00
|
|
|
checksum = "a0db2df1b8731c3651e204629dd55e52adbae0462fa1bdcbed56a2302c18181e"
|
2023-07-04 15:05:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"atoi",
|
|
|
|
"base64",
|
2023-08-16 05:45:33 +03:00
|
|
|
"bitflags 2.4.0",
|
2023-07-04 15:05:23 +03:00
|
|
|
"byteorder",
|
|
|
|
"crc",
|
|
|
|
"dotenvy",
|
|
|
|
"etcetera",
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-io",
|
|
|
|
"futures-util",
|
|
|
|
"hex",
|
|
|
|
"hkdf",
|
|
|
|
"hmac",
|
|
|
|
"home",
|
|
|
|
"itoa",
|
|
|
|
"log",
|
|
|
|
"md-5",
|
|
|
|
"memchr",
|
|
|
|
"once_cell",
|
|
|
|
"rand",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"sha1",
|
|
|
|
"sha2",
|
|
|
|
"smallvec",
|
|
|
|
"sqlx-core",
|
|
|
|
"stringprep",
|
|
|
|
"thiserror",
|
|
|
|
"tracing",
|
|
|
|
"whoami",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sqlx-sqlite"
|
2023-07-17 05:21:54 +03:00
|
|
|
version = "0.7.1"
|
2023-07-04 15:05:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-17 05:21:54 +03:00
|
|
|
checksum = "be4c21bf34c7cae5b283efb3ac1bcc7670df7561124dc2f8bdc0b59be40f79a2"
|
2023-07-04 15:05:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"atoi",
|
|
|
|
"flume",
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-executor",
|
|
|
|
"futures-intrusive",
|
|
|
|
"futures-util",
|
|
|
|
"libsqlite3-sys",
|
|
|
|
"log",
|
|
|
|
"percent-encoding",
|
|
|
|
"serde",
|
|
|
|
"sqlx-core",
|
|
|
|
"tracing",
|
|
|
|
"url",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "strict-num"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6637bab7722d379c8b41ba849228d680cc12d0a45ba1fa2b48f2a30577a06731"
|
|
|
|
dependencies = [
|
|
|
|
"float-cmp",
|
|
|
|
]
|
|
|
|
|
2017-10-09 14:29:03 +03:00
|
|
|
[[package]]
|
|
|
|
name = "stringprep"
|
2023-07-17 05:21:54 +03:00
|
|
|
version = "0.1.3"
|
2017-10-09 14:29:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-17 05:21:54 +03:00
|
|
|
checksum = "db3737bde7edce97102e0e2b15365bf7a20bfdb5f60f4f9e8d7004258a51a8da"
|
2017-10-09 14:29:03 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"unicode-bidi",
|
|
|
|
"unicode-normalization",
|
2017-10-09 14:29:03 +03:00
|
|
|
]
|
|
|
|
|
2018-10-10 19:13:53 +03:00
|
|
|
[[package]]
|
|
|
|
name = "strsim"
|
2021-04-25 14:46:44 +03:00
|
|
|
version = "0.10.0"
|
2018-10-10 19:13:53 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-25 14:46:44 +03:00
|
|
|
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
|
2018-10-10 19:13:53 +03:00
|
|
|
|
2023-01-08 22:19:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "structmeta"
|
2023-03-22 07:47:14 +03:00
|
|
|
version = "0.1.6"
|
2023-01-08 22:19:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-22 07:47:14 +03:00
|
|
|
checksum = "104842d6278bf64aa9d2f182ba4bde31e8aec7a131d29b7f444bb9b344a09e2a"
|
2023-01-08 22:19:11 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"structmeta-derive",
|
2023-03-20 06:31:56 +03:00
|
|
|
"syn 1.0.109",
|
2023-01-08 22:19:11 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "structmeta-derive"
|
2023-03-22 07:47:14 +03:00
|
|
|
version = "0.1.6"
|
2023-01-08 22:19:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-22 07:47:14 +03:00
|
|
|
checksum = "24420be405b590e2d746d83b01f09af673270cf80e9b003a5fa7b651c58c7d93"
|
2023-01-08 22:19:11 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-03-20 06:31:56 +03:00
|
|
|
"syn 1.0.109",
|
2023-01-08 22:19:11 +03:00
|
|
|
]
|
|
|
|
|
2022-12-22 09:35:29 +03:00
|
|
|
[[package]]
|
|
|
|
name = "subst"
|
2023-07-27 05:59:04 +03:00
|
|
|
version = "0.2.3"
|
2022-12-22 09:35:29 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-27 05:59:04 +03:00
|
|
|
checksum = "922e6f425703ed15913f82181de327ddef53057291b58a2fec24ecf9de0d14b8"
|
2022-12-22 09:35:29 +03:00
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
"serde",
|
|
|
|
"serde_yaml",
|
|
|
|
"unicode-width",
|
|
|
|
]
|
|
|
|
|
2020-05-04 21:21:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "subtle"
|
2023-05-23 02:04:55 +03:00
|
|
|
version = "2.5.0"
|
2020-05-04 21:21:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-05-23 02:04:55 +03:00
|
|
|
checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc"
|
2020-05-04 21:21:11 +03:00
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "svgtypes"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ed4b0611e7f3277f68c0fa18e385d9e2d26923691379690039548f867cef02a7"
|
|
|
|
dependencies = [
|
|
|
|
"kurbo",
|
|
|
|
"siphasher",
|
|
|
|
]
|
|
|
|
|
2017-12-17 13:51:07 +03:00
|
|
|
[[package]]
|
|
|
|
name = "syn"
|
2023-02-25 07:58:35 +03:00
|
|
|
version = "1.0.109"
|
2019-08-20 12:19:04 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-25 07:58:35 +03:00
|
|
|
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
|
2019-08-20 12:19:04 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2022-05-27 14:04:27 +03:00
|
|
|
"unicode-ident",
|
2019-08-20 12:19:04 +03:00
|
|
|
]
|
|
|
|
|
2023-03-20 06:31:56 +03:00
|
|
|
[[package]]
|
|
|
|
name = "syn"
|
2023-08-21 10:33:22 +03:00
|
|
|
version = "2.0.29"
|
2023-03-20 06:31:56 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-21 10:33:22 +03:00
|
|
|
checksum = "c324c494eba9d92503e6f1ef2e6df781e78f6a7705a0202d9801b198807d518a"
|
2023-03-20 06:31:56 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"unicode-ident",
|
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tap"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
|
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tempfile"
|
2023-08-21 10:33:22 +03:00
|
|
|
version = "3.8.0"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-21 10:33:22 +03:00
|
|
|
checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"fastrand",
|
2023-08-06 05:11:53 +03:00
|
|
|
"redox_syscall",
|
2023-08-29 22:29:59 +03:00
|
|
|
"rustix 0.38.10",
|
2023-06-13 06:05:54 +03:00
|
|
|
"windows-sys 0.48.0",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
]
|
|
|
|
|
2018-01-18 19:07:14 +03:00
|
|
|
[[package]]
|
|
|
|
name = "termcolor"
|
2023-01-17 00:15:23 +03:00
|
|
|
version = "1.2.0"
|
2018-01-18 19:07:14 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-17 00:15:23 +03:00
|
|
|
checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6"
|
2018-01-18 19:07:14 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"winapi-util",
|
2018-01-18 19:07:14 +03:00
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "termtree"
|
|
|
|
version = "0.4.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76"
|
|
|
|
|
2022-12-13 13:02:38 +03:00
|
|
|
[[package]]
|
|
|
|
name = "thiserror"
|
2023-08-18 06:36:59 +03:00
|
|
|
version = "1.0.47"
|
2022-12-13 13:02:38 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-18 06:36:59 +03:00
|
|
|
checksum = "97a802ec30afc17eee47b2855fc72e0c4cd62be9b4efe6591edde0ec5bd68d8f"
|
2022-12-13 13:02:38 +03:00
|
|
|
dependencies = [
|
|
|
|
"thiserror-impl",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "thiserror-impl"
|
2023-08-18 06:36:59 +03:00
|
|
|
version = "1.0.47"
|
2022-12-13 13:02:38 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-18 06:36:59 +03:00
|
|
|
checksum = "6bb623b56e39ab7dcd4b1b98bb6c8f8d907ed255b18de254088016b27a8ee19b"
|
2022-12-13 13:02:38 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-08-21 10:33:22 +03:00
|
|
|
"syn 2.0.29",
|
2022-12-13 13:02:38 +03:00
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "thread_local"
|
|
|
|
version = "1.1.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"once_cell",
|
|
|
|
]
|
|
|
|
|
2018-03-28 19:15:00 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tilejson"
|
chore(deps): bump tilejson from 0.3.1 to 0.3.2 (#469)
Bumps [tilejson](https://github.com/georust/tilejson) from 0.3.1 to
0.3.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/georust/tilejson/releases">tilejson's
releases</a>.</em></p>
<blockquote>
<h2>Release TileJSON v3 support, bounds, and center structs</h2>
<p>Note that this GitHub release catches up to what has been release to
<a href="https://crates.io/crates/tilejson">crates.io</a></p>
<p><strong>ATTENTION:</strong> This release contains many breaking
changes. See <a
href="https://github.com/georust/tilejson/blob/HEAD/README.md">README</a>
for usage examples.</p>
<h3>v0.3.2 (2022-10-30)</h3>
<ul>
<li>Add <code>Bounds::from</code> for <code>[f64; 4]</code>, <code>[f32;
4]</code>, <code>[i32; 4]</code></li>
<li>Add <code>Bounds::try_from</code> now also supports
<code>&[f64]</code>, <code>&[f32]</code>,
<code>&[i32]</code> in addition to <code>Vec<f64></code></li>
</ul>
<h3>v0.3.1 (2022-05-29)</h3>
<ul>
<li>Add <code>Bounds::MAX</code> to create a maximum -180..180, -90..90
value.</li>
<li>Add <code>Bounds::MAX_TILED</code> to create a maximum allowed for
vector tiles per spec.</li>
<li>Implement <code>Add</code> and <code>AddAssign</code> on
<code>Bounds</code></li>
</ul>
<h3>v0.3.0 (2022-05-25)</h3>
<ul>
<li>Migrate to Rust 2021 edition</li>
<li>update docs to match v3.0.0 spec</li>
<li>add <code>fillzoom</code> field per v3.0.0 spec</li>
<li>add <code>Center</code> and <code>Bounds</code> structs instead of
arrays
<ul>
<li>both support <code>FromStr</code> trait</li>
</ul>
</li>
<li>add <code>VectorLayer</code> struct and the
<code>vector_layer</code> field</li>
<li>Remove builder pattern because <code>TileJSON</code> is
writable</li>
<li>Add <code>other</code> fields for any unknown fields in root and
vector layers</li>
<li>Restructure instantiation:
<ul>
<li>use <code>tilejson!{ source }</code> macro to create
<code>TileJSON</code> objects, with any number of the optional
<code>field: value</code> pairs.</li>
<li>use <code>set_missing_defaults()</code> to replace all missing
values with their defaults (only if the spec defines it)</li>
</ul>
</li>
<li>Remove <code>id</code> field because it is not supported by the
spec</li>
</ul>
<h2>Relevant PRs</h2>
<ul>
<li>Implement v3 by <a
href="https://github.com/nyurik"><code>@nyurik</code></a> in <a
href="https://github-redirect.dependabot.com/georust/tilejson/pull/12">georust/tilejson#12</a></li>
<li>add Center and Bounds structs by <a
href="https://github.com/nyurik"><code>@nyurik</code></a> in <a
href="https://github-redirect.dependabot.com/georust/tilejson/pull/13">georust/tilejson#13</a></li>
<li>Refactor instantiation, vector layers by <a
href="https://github.com/nyurik"><code>@nyurik</code></a> in <a
href="https://github-redirect.dependabot.com/georust/tilejson/pull/14">georust/tilejson#14</a></li>
<li>Use tilejson! macro for instantiation, refactor by <a
href="https://github.com/nyurik"><code>@nyurik</code></a> in <a
href="https://github-redirect.dependabot.com/georust/tilejson/pull/16">georust/tilejson#16</a></li>
<li>Add Bounds MAX, MAX_TILED, Add, AddAssign by <a
href="https://github.com/nyurik"><code>@nyurik</code></a> in <a
href="https://github-redirect.dependabot.com/georust/tilejson/pull/19">georust/tilejson#19</a></li>
<li>Make <code>Bounds::try_from()</code> more generic by <a
href="https://github.com/nyurik"><code>@nyurik</code></a> in <a
href="https://github-redirect.dependabot.com/georust/tilejson/pull/18">georust/tilejson#18</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/atouchet"><code>@atouchet</code></a>
made their first contribution in <a
href="https://github-redirect.dependabot.com/georust/tilejson/pull/8">georust/tilejson#8</a></li>
<li><a href="https://github.com/nyurik"><code>@nyurik</code></a> made
their first contribution in <a
href="https://github-redirect.dependabot.com/georust/tilejson/pull/9">georust/tilejson#9</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/georust/tilejson/compare/v0.2.4...v0.3.2">https://github.com/georust/tilejson/compare/v0.2.4...v0.3.2</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/georust/tilejson/blob/main/CHANGELOG.md">tilejson's
changelog</a>.</em></p>
<blockquote>
<h3>v0.3.2 (2022-10-30)</h3>
<ul>
<li>Add <code>Bounds::from</code> for <code>[f64; 4]</code>, <code>[f32;
4]</code>, <code>[i32; 4]</code></li>
<li>Add <code>Bounds::try_from</code> now also supports
<code>&[f64]</code>, <code>&[f32]</code>,
<code>&[i32]</code> in addition to <code>Vec<f64></code></li>
</ul>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/georust/tilejson/commits/v0.3.2">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tilejson&package-manager=cargo&previous-version=0.3.1&new-version=0.3.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-31 05:43:30 +03:00
|
|
|
version = "0.3.2"
|
2018-03-28 19:15:00 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
chore(deps): bump tilejson from 0.3.1 to 0.3.2 (#469)
Bumps [tilejson](https://github.com/georust/tilejson) from 0.3.1 to
0.3.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/georust/tilejson/releases">tilejson's
releases</a>.</em></p>
<blockquote>
<h2>Release TileJSON v3 support, bounds, and center structs</h2>
<p>Note that this GitHub release catches up to what has been release to
<a href="https://crates.io/crates/tilejson">crates.io</a></p>
<p><strong>ATTENTION:</strong> This release contains many breaking
changes. See <a
href="https://github.com/georust/tilejson/blob/HEAD/README.md">README</a>
for usage examples.</p>
<h3>v0.3.2 (2022-10-30)</h3>
<ul>
<li>Add <code>Bounds::from</code> for <code>[f64; 4]</code>, <code>[f32;
4]</code>, <code>[i32; 4]</code></li>
<li>Add <code>Bounds::try_from</code> now also supports
<code>&[f64]</code>, <code>&[f32]</code>,
<code>&[i32]</code> in addition to <code>Vec<f64></code></li>
</ul>
<h3>v0.3.1 (2022-05-29)</h3>
<ul>
<li>Add <code>Bounds::MAX</code> to create a maximum -180..180, -90..90
value.</li>
<li>Add <code>Bounds::MAX_TILED</code> to create a maximum allowed for
vector tiles per spec.</li>
<li>Implement <code>Add</code> and <code>AddAssign</code> on
<code>Bounds</code></li>
</ul>
<h3>v0.3.0 (2022-05-25)</h3>
<ul>
<li>Migrate to Rust 2021 edition</li>
<li>update docs to match v3.0.0 spec</li>
<li>add <code>fillzoom</code> field per v3.0.0 spec</li>
<li>add <code>Center</code> and <code>Bounds</code> structs instead of
arrays
<ul>
<li>both support <code>FromStr</code> trait</li>
</ul>
</li>
<li>add <code>VectorLayer</code> struct and the
<code>vector_layer</code> field</li>
<li>Remove builder pattern because <code>TileJSON</code> is
writable</li>
<li>Add <code>other</code> fields for any unknown fields in root and
vector layers</li>
<li>Restructure instantiation:
<ul>
<li>use <code>tilejson!{ source }</code> macro to create
<code>TileJSON</code> objects, with any number of the optional
<code>field: value</code> pairs.</li>
<li>use <code>set_missing_defaults()</code> to replace all missing
values with their defaults (only if the spec defines it)</li>
</ul>
</li>
<li>Remove <code>id</code> field because it is not supported by the
spec</li>
</ul>
<h2>Relevant PRs</h2>
<ul>
<li>Implement v3 by <a
href="https://github.com/nyurik"><code>@nyurik</code></a> in <a
href="https://github-redirect.dependabot.com/georust/tilejson/pull/12">georust/tilejson#12</a></li>
<li>add Center and Bounds structs by <a
href="https://github.com/nyurik"><code>@nyurik</code></a> in <a
href="https://github-redirect.dependabot.com/georust/tilejson/pull/13">georust/tilejson#13</a></li>
<li>Refactor instantiation, vector layers by <a
href="https://github.com/nyurik"><code>@nyurik</code></a> in <a
href="https://github-redirect.dependabot.com/georust/tilejson/pull/14">georust/tilejson#14</a></li>
<li>Use tilejson! macro for instantiation, refactor by <a
href="https://github.com/nyurik"><code>@nyurik</code></a> in <a
href="https://github-redirect.dependabot.com/georust/tilejson/pull/16">georust/tilejson#16</a></li>
<li>Add Bounds MAX, MAX_TILED, Add, AddAssign by <a
href="https://github.com/nyurik"><code>@nyurik</code></a> in <a
href="https://github-redirect.dependabot.com/georust/tilejson/pull/19">georust/tilejson#19</a></li>
<li>Make <code>Bounds::try_from()</code> more generic by <a
href="https://github.com/nyurik"><code>@nyurik</code></a> in <a
href="https://github-redirect.dependabot.com/georust/tilejson/pull/18">georust/tilejson#18</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/atouchet"><code>@atouchet</code></a>
made their first contribution in <a
href="https://github-redirect.dependabot.com/georust/tilejson/pull/8">georust/tilejson#8</a></li>
<li><a href="https://github.com/nyurik"><code>@nyurik</code></a> made
their first contribution in <a
href="https://github-redirect.dependabot.com/georust/tilejson/pull/9">georust/tilejson#9</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/georust/tilejson/compare/v0.2.4...v0.3.2">https://github.com/georust/tilejson/compare/v0.2.4...v0.3.2</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/georust/tilejson/blob/main/CHANGELOG.md">tilejson's
changelog</a>.</em></p>
<blockquote>
<h3>v0.3.2 (2022-10-30)</h3>
<ul>
<li>Add <code>Bounds::from</code> for <code>[f64; 4]</code>, <code>[f32;
4]</code>, <code>[i32; 4]</code></li>
<li>Add <code>Bounds::try_from</code> now also supports
<code>&[f64]</code>, <code>&[f32]</code>,
<code>&[i32]</code> in addition to <code>Vec<f64></code></li>
</ul>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/georust/tilejson/commits/v0.3.2">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tilejson&package-manager=cargo&previous-version=0.3.1&new-version=0.3.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-31 05:43:30 +03:00
|
|
|
checksum = "670fbf708942b8f2304a3355935981d04d775a82eea2f99746ce6be30d4c6a7a"
|
2018-03-28 19:15:00 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2022-05-27 14:04:27 +03:00
|
|
|
"serde_tuple",
|
2018-03-28 19:15:00 +03:00
|
|
|
]
|
|
|
|
|
2022-08-15 16:54:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "time"
|
2023-08-28 06:26:51 +03:00
|
|
|
version = "0.3.28"
|
2022-08-15 16:54:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 06:26:51 +03:00
|
|
|
checksum = "17f6bb557fd245c28e6411aa56b6403c689ad95061f50e4be16c274e70a17e48"
|
2022-08-15 16:54:48 +03:00
|
|
|
dependencies = [
|
2023-08-02 04:39:24 +03:00
|
|
|
"deranged",
|
2022-09-13 01:42:06 +03:00
|
|
|
"itoa",
|
2022-10-31 23:28:21 +03:00
|
|
|
"serde",
|
|
|
|
"time-core",
|
2022-09-13 09:18:01 +03:00
|
|
|
"time-macros",
|
2020-05-04 21:21:11 +03:00
|
|
|
]
|
|
|
|
|
2022-10-31 23:28:21 +03:00
|
|
|
[[package]]
|
|
|
|
name = "time-core"
|
2023-05-09 11:39:31 +03:00
|
|
|
version = "0.1.1"
|
2022-10-31 23:28:21 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-05-09 11:39:31 +03:00
|
|
|
checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb"
|
2022-10-31 23:28:21 +03:00
|
|
|
|
2022-08-15 16:54:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "time-macros"
|
2023-08-28 06:26:51 +03:00
|
|
|
version = "0.2.14"
|
2022-08-15 16:54:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 06:26:51 +03:00
|
|
|
checksum = "1a942f44339478ef67935ab2bbaec2fb0322496cf3cbe84b261e06ac3814c572"
|
2022-10-31 23:28:21 +03:00
|
|
|
dependencies = [
|
|
|
|
"time-core",
|
|
|
|
]
|
2022-08-15 16:54:48 +03:00
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tiny-skia"
|
|
|
|
version = "0.10.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7db11798945fa5c3e5490c794ccca7c6de86d3afdd54b4eb324109939c6f37bc"
|
|
|
|
dependencies = [
|
|
|
|
"arrayref",
|
|
|
|
"arrayvec",
|
|
|
|
"bytemuck",
|
|
|
|
"cfg-if",
|
|
|
|
"log",
|
|
|
|
"png",
|
|
|
|
"tiny-skia-path",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tiny-skia-path"
|
|
|
|
version = "0.10.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2f60aa35c89ac2687ace1a2556eaaea68e8c0d47408a2e3e7f5c98a489e7281c"
|
|
|
|
dependencies = [
|
|
|
|
"arrayref",
|
|
|
|
"bytemuck",
|
|
|
|
"strict-num",
|
|
|
|
]
|
|
|
|
|
2018-03-13 14:32:09 +03:00
|
|
|
[[package]]
|
2019-10-26 20:37:49 +03:00
|
|
|
name = "tinytemplate"
|
2021-04-25 14:46:44 +03:00
|
|
|
version = "1.2.1"
|
2018-03-13 14:32:09 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-25 14:46:44 +03:00
|
|
|
checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc"
|
2018-03-13 14:32:09 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2018-06-16 19:01:08 +03:00
|
|
|
]
|
|
|
|
|
2020-06-21 12:52:13 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tinyvec"
|
2022-05-03 12:12:54 +03:00
|
|
|
version = "1.6.0"
|
2020-12-20 15:45:58 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-03 12:12:54 +03:00
|
|
|
checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"
|
2020-12-20 15:45:58 +03:00
|
|
|
dependencies = [
|
|
|
|
"tinyvec_macros",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tinyvec_macros"
|
2023-02-06 08:37:40 +03:00
|
|
|
version = "0.1.1"
|
2020-06-21 12:52:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-06 08:37:40 +03:00
|
|
|
checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
|
2020-06-21 12:52:13 +03:00
|
|
|
|
2018-06-16 19:01:08 +03:00
|
|
|
[[package]]
|
2020-04-26 17:57:13 +03:00
|
|
|
name = "tokio"
|
2023-08-17 07:14:40 +03:00
|
|
|
version = "1.32.0"
|
2021-04-25 14:46:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-17 07:14:40 +03:00
|
|
|
checksum = "17ed6077ed6cd6c74735e21f37eb16dc3935f96878b1fe961074089cc80893f9"
|
2021-04-25 14:46:44 +03:00
|
|
|
dependencies = [
|
2023-06-28 09:14:48 +03:00
|
|
|
"backtrace",
|
2022-08-15 16:54:48 +03:00
|
|
|
"bytes",
|
2021-04-25 14:46:44 +03:00
|
|
|
"libc",
|
2022-08-15 16:54:48 +03:00
|
|
|
"mio",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
"num_cpus",
|
2023-07-04 15:05:23 +03:00
|
|
|
"parking_lot",
|
2022-08-15 16:54:48 +03:00
|
|
|
"pin-project-lite",
|
|
|
|
"signal-hook-registry",
|
2023-08-29 22:29:59 +03:00
|
|
|
"socket2",
|
2023-06-03 03:40:22 +03:00
|
|
|
"tokio-macros",
|
2023-05-02 04:04:24 +03:00
|
|
|
"windows-sys 0.48.0",
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
]
|
|
|
|
|
2023-06-03 03:40:22 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tokio-macros"
|
|
|
|
version = "2.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-08-21 10:33:22 +03:00
|
|
|
"syn 2.0.29",
|
2023-06-03 03:40:22 +03:00
|
|
|
]
|
|
|
|
|
2021-04-25 14:46:44 +03:00
|
|
|
[[package]]
|
2021-10-18 14:35:08 +03:00
|
|
|
name = "tokio-openssl"
|
2021-11-07 17:28:21 +03:00
|
|
|
version = "0.6.3"
|
2021-04-25 14:46:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-11-07 17:28:21 +03:00
|
|
|
checksum = "c08f9ffb7809f1b20c1b398d92acf4cc719874b3b2b2d9ea2f09b4a80350878a"
|
2021-04-25 14:46:44 +03:00
|
|
|
dependencies = [
|
2021-11-07 17:28:21 +03:00
|
|
|
"futures-util",
|
2021-10-18 14:35:08 +03:00
|
|
|
"openssl",
|
|
|
|
"openssl-sys",
|
2022-08-15 16:54:48 +03:00
|
|
|
"tokio",
|
2021-04-25 14:46:44 +03:00
|
|
|
]
|
|
|
|
|
2020-05-04 21:21:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tokio-postgres"
|
2023-08-28 06:26:51 +03:00
|
|
|
version = "0.7.10"
|
2020-05-04 21:21:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 06:26:51 +03:00
|
|
|
checksum = "d340244b32d920260ae7448cb72b6e238bddc3d4f7603394e7dd46ed8e48f5b8"
|
2020-05-04 21:21:11 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"async-trait",
|
|
|
|
"byteorder",
|
2022-08-15 16:54:48 +03:00
|
|
|
"bytes",
|
2020-10-14 10:59:32 +03:00
|
|
|
"fallible-iterator",
|
2022-09-13 08:57:02 +03:00
|
|
|
"futures-channel",
|
|
|
|
"futures-util",
|
2020-10-14 10:59:32 +03:00
|
|
|
"log",
|
2023-07-04 15:05:23 +03:00
|
|
|
"parking_lot",
|
2020-10-14 10:59:32 +03:00
|
|
|
"percent-encoding",
|
|
|
|
"phf",
|
2022-08-15 16:54:48 +03:00
|
|
|
"pin-project-lite",
|
2020-10-14 10:59:32 +03:00
|
|
|
"postgres-protocol",
|
|
|
|
"postgres-types",
|
2023-08-21 21:13:08 +03:00
|
|
|
"rand",
|
2023-08-29 22:29:59 +03:00
|
|
|
"socket2",
|
2022-08-15 16:54:48 +03:00
|
|
|
"tokio",
|
|
|
|
"tokio-util",
|
2023-08-21 21:13:08 +03:00
|
|
|
"whoami",
|
2021-04-25 14:46:44 +03:00
|
|
|
]
|
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tokio-stream"
|
2023-05-02 04:04:24 +03:00
|
|
|
version = "0.1.14"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-05-02 04:04:24 +03:00
|
|
|
checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"pin-project-lite",
|
|
|
|
"tokio",
|
|
|
|
]
|
|
|
|
|
2021-04-25 14:46:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tokio-util"
|
2023-05-02 04:04:24 +03:00
|
|
|
version = "0.7.8"
|
2021-04-25 14:46:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-05-02 04:04:24 +03:00
|
|
|
checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d"
|
2021-04-25 14:46:44 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"bytes",
|
2021-04-25 14:46:44 +03:00
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
2022-08-15 16:54:48 +03:00
|
|
|
"pin-project-lite",
|
|
|
|
"tokio",
|
2022-05-03 12:12:54 +03:00
|
|
|
"tracing",
|
2020-09-13 19:42:44 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing"
|
2022-10-07 20:58:30 +03:00
|
|
|
version = "0.1.37"
|
2020-09-13 19:42:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-07 20:58:30 +03:00
|
|
|
checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8"
|
2020-09-13 19:42:44 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"cfg-if",
|
2020-10-14 10:59:32 +03:00
|
|
|
"log",
|
2022-08-15 16:54:48 +03:00
|
|
|
"pin-project-lite",
|
2023-07-04 15:05:23 +03:00
|
|
|
"tracing-attributes",
|
2020-10-14 10:59:32 +03:00
|
|
|
"tracing-core",
|
2020-09-13 19:42:44 +03:00
|
|
|
]
|
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tracing-attributes"
|
|
|
|
version = "0.1.26"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-08-21 10:33:22 +03:00
|
|
|
"syn 2.0.29",
|
2023-07-04 15:05:23 +03:00
|
|
|
]
|
|
|
|
|
2020-09-13 19:42:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tracing-core"
|
2023-05-16 21:12:57 +03:00
|
|
|
version = "0.1.31"
|
2020-09-13 19:42:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-05-16 21:12:57 +03:00
|
|
|
checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a"
|
2020-09-13 19:42:44 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"once_cell",
|
2017-09-30 13:55:44 +03:00
|
|
|
]
|
|
|
|
|
2023-08-27 19:46:56 +03:00
|
|
|
[[package]]
|
|
|
|
name = "treediff"
|
|
|
|
version = "4.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "52984d277bdf2a751072b5df30ec0377febdb02f7696d64c2d7d54630bac4303"
|
|
|
|
dependencies = [
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "ttf-parser"
|
|
|
|
version = "0.18.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0609f771ad9c6155384897e1df4d948e692667cc0588548b68eb44d052b27633"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ttf-parser"
|
2023-06-23 06:01:57 +03:00
|
|
|
version = "0.19.1"
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-23 06:01:57 +03:00
|
|
|
checksum = "a464a4b34948a5f67fddd2b823c62d9d92e44be75058b99939eae6c5b6960b33"
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "typed-arena"
|
|
|
|
version = "2.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a"
|
|
|
|
|
2017-10-09 14:29:03 +03:00
|
|
|
[[package]]
|
|
|
|
name = "typenum"
|
2022-12-07 05:38:40 +03:00
|
|
|
version = "1.16.0"
|
2021-07-16 16:08:46 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-07 05:38:40 +03:00
|
|
|
checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba"
|
2021-07-16 16:08:46 +03:00
|
|
|
|
2017-09-30 13:55:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-bidi"
|
2023-03-22 07:47:14 +03:00
|
|
|
version = "0.3.13"
|
2017-09-30 13:55:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-22 07:47:14 +03:00
|
|
|
checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460"
|
2017-09-30 13:55:44 +03:00
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-bidi-mirroring"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "56d12260fb92d52f9008be7e4bca09f584780eb2266dc8fecc6a192bec561694"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unicode-ccc"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cc2520efa644f8268dce4dcd3050eaa7fc044fca03961e9998ac7e2e92b77cf1"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unicode-general-category"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2281c8c1d221438e373249e065ca4989c4c36952c211ff21a0ee91c44a3869e7"
|
|
|
|
|
2022-05-27 14:04:27 +03:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-ident"
|
2023-07-17 05:21:54 +03:00
|
|
|
version = "1.0.11"
|
2022-05-27 14:04:27 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-17 05:21:54 +03:00
|
|
|
checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c"
|
2022-05-27 14:04:27 +03:00
|
|
|
|
2017-09-30 13:55:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-normalization"
|
2022-09-28 11:19:23 +03:00
|
|
|
version = "0.1.22"
|
2017-09-30 13:55:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-28 11:19:23 +03:00
|
|
|
checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921"
|
2019-01-25 12:42:07 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"tinyvec",
|
2019-01-25 12:42:07 +03:00
|
|
|
]
|
2017-09-30 13:55:44 +03:00
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-script"
|
|
|
|
version = "0.5.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7d817255e1bed6dfd4ca47258685d14d2bdcfbc64fdc9e3819bd5848057b8ecc"
|
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-segmentation"
|
2023-02-02 07:47:48 +03:00
|
|
|
version = "1.10.1"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-02 07:47:48 +03:00
|
|
|
checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36"
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-vo"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b1d386ff53b415b7fe27b50bb44679e2cc4660272694b7b6f3326d8480823a94"
|
|
|
|
|
2022-12-22 09:35:29 +03:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-width"
|
|
|
|
version = "0.1.10"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b"
|
|
|
|
|
Add .mbtiles support (#549)
Adds a new [.mbtiles](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md)
backend, without the grid support. Uses extensive tile content
detection, i.e. if the content is gzipped, png, jpeg, gif, webp.
From CLI, can be as easy as adding a path to a directory that contains a
.mbtiles file (works just like pmtiles support)
```bash
# All *.mbtiles files in this dir will be published.
# The filename will be used as the source ID
martin ./tests/fixtures
```
From configuration file, the path can be specified in a number of ways
(same as pmtiles)
```yaml
mbtiles:
paths:
# scan this whole dir, matching all *.mbtiles files
- /dir-path
# specific mbtiles file will be published as mbtiles2 source
- /path/to/mbtiles2.mbtiles
sources:
# named source matching source name to a single file
pm-src1: /tmp/mbtiles.mbtiles
# named source, where the filename is explicitly set. This way we will be able to add more options later
pm-src2:
path: /tmp/mbtiles.mbtiles
```
Fixes #494
2023-01-09 08:10:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "unicode_categories"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e"
|
|
|
|
|
2022-07-29 12:20:49 +03:00
|
|
|
[[package]]
|
|
|
|
name = "unsafe-libyaml"
|
2023-07-17 05:21:54 +03:00
|
|
|
version = "0.2.9"
|
2022-07-29 12:20:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-17 05:21:54 +03:00
|
|
|
checksum = "f28467d3e1d3c6586d8f25fa243f544f5800fec42d97032474e17222c2b75cfa"
|
2022-07-29 12:20:49 +03:00
|
|
|
|
2023-07-04 00:29:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "untrusted"
|
|
|
|
version = "0.7.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a"
|
|
|
|
|
2017-10-09 14:29:03 +03:00
|
|
|
[[package]]
|
2019-10-26 20:37:49 +03:00
|
|
|
name = "url"
|
2023-08-29 22:29:59 +03:00
|
|
|
version = "2.4.1"
|
2019-01-12 15:28:16 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-29 22:29:59 +03:00
|
|
|
checksum = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5"
|
2019-01-12 15:28:16 +03:00
|
|
|
dependencies = [
|
2020-12-20 15:45:58 +03:00
|
|
|
"form_urlencoded",
|
2020-10-14 10:59:32 +03:00
|
|
|
"idna",
|
|
|
|
"percent-encoding",
|
2019-01-12 15:28:16 +03:00
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "usvg"
|
|
|
|
version = "0.34.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d2304b933107198a910c1f3219acb65246f2b148f862703cffd51c6e62156abe"
|
|
|
|
dependencies = [
|
|
|
|
"base64",
|
|
|
|
"log",
|
|
|
|
"pico-args",
|
|
|
|
"usvg-parser",
|
|
|
|
"usvg-text-layout",
|
|
|
|
"usvg-tree",
|
|
|
|
"xmlwriter",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "usvg-parser"
|
|
|
|
version = "0.34.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "12b940fea80394e3b14cb21c83fa1b8f8a41023c25929bba68bb84a76193ebed"
|
|
|
|
dependencies = [
|
|
|
|
"data-url",
|
|
|
|
"flate2",
|
|
|
|
"imagesize",
|
|
|
|
"kurbo",
|
|
|
|
"log",
|
|
|
|
"roxmltree",
|
|
|
|
"simplecss",
|
|
|
|
"siphasher",
|
|
|
|
"svgtypes",
|
|
|
|
"usvg-tree",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "usvg-text-layout"
|
|
|
|
version = "0.34.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "69dfd6119f431aa7e969b4a69f9cc8b9ae37b8ae85bb26780ccfa3beaf8b71eb"
|
|
|
|
dependencies = [
|
|
|
|
"fontdb",
|
|
|
|
"kurbo",
|
|
|
|
"log",
|
|
|
|
"rustybuzz",
|
|
|
|
"unicode-bidi",
|
|
|
|
"unicode-script",
|
|
|
|
"unicode-vo",
|
|
|
|
"usvg-tree",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "usvg-tree"
|
|
|
|
version = "0.34.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3185eb13b6e3d3cf1817d29612251cc308d5a7e5e6235362e67efe832435c6d9"
|
|
|
|
dependencies = [
|
|
|
|
"rctree",
|
|
|
|
"strict-num",
|
|
|
|
"svgtypes",
|
|
|
|
"tiny-skia-path",
|
|
|
|
]
|
|
|
|
|
2023-04-03 05:06:55 +03:00
|
|
|
[[package]]
|
|
|
|
name = "utf8parse"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
|
|
|
|
|
2019-01-12 15:28:16 +03:00
|
|
|
[[package]]
|
2019-10-26 20:37:49 +03:00
|
|
|
name = "uuid"
|
2023-07-17 20:53:58 +03:00
|
|
|
version = "1.4.1"
|
2020-05-04 21:21:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-17 20:53:58 +03:00
|
|
|
checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d"
|
2020-05-04 21:21:11 +03:00
|
|
|
|
2023-01-08 22:19:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "varint-rs"
|
|
|
|
version = "2.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8f54a172d0620933a27a4360d3db3e2ae0dd6cceae9730751a036bbf182c4b23"
|
|
|
|
|
2020-05-04 21:21:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "vcpkg"
|
2021-07-16 16:08:46 +03:00
|
|
|
version = "0.2.15"
|
2020-05-04 21:21:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-16 16:08:46 +03:00
|
|
|
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
|
2020-05-04 21:21:11 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "version_check"
|
2022-01-01 20:43:04 +03:00
|
|
|
version = "0.9.4"
|
2019-01-12 15:28:16 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-01 20:43:04 +03:00
|
|
|
checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
|
2019-01-12 15:28:16 +03:00
|
|
|
|
|
|
|
[[package]]
|
2019-10-26 20:37:49 +03:00
|
|
|
name = "walkdir"
|
2023-03-22 07:47:14 +03:00
|
|
|
version = "2.3.3"
|
2019-01-12 15:28:16 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-22 07:47:14 +03:00
|
|
|
checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698"
|
2019-01-12 15:28:16 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"same-file",
|
|
|
|
"winapi-util",
|
2019-01-12 15:28:16 +03:00
|
|
|
]
|
|
|
|
|
2022-05-03 12:12:54 +03:00
|
|
|
[[package]]
|
|
|
|
name = "wasi"
|
|
|
|
version = "0.11.0+wasi-snapshot-preview1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
|
|
|
|
2020-01-27 08:18:39 +03:00
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen"
|
2023-06-13 06:05:54 +03:00
|
|
|
version = "0.2.87"
|
2020-01-27 08:18:39 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-13 06:05:54 +03:00
|
|
|
checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342"
|
2020-01-27 08:18:39 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"cfg-if",
|
2020-10-14 10:59:32 +03:00
|
|
|
"wasm-bindgen-macro",
|
2020-01-27 08:18:39 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-backend"
|
2023-06-13 06:05:54 +03:00
|
|
|
version = "0.2.87"
|
2020-01-27 08:18:39 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-13 06:05:54 +03:00
|
|
|
checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd"
|
2020-01-27 08:18:39 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"bumpalo",
|
|
|
|
"log",
|
2022-08-15 16:54:48 +03:00
|
|
|
"once_cell",
|
2020-10-14 10:59:32 +03:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-08-21 10:33:22 +03:00
|
|
|
"syn 2.0.29",
|
2020-10-14 10:59:32 +03:00
|
|
|
"wasm-bindgen-shared",
|
2020-01-27 08:18:39 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-macro"
|
2023-06-13 06:05:54 +03:00
|
|
|
version = "0.2.87"
|
2020-01-27 08:18:39 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-13 06:05:54 +03:00
|
|
|
checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d"
|
2020-01-27 08:18:39 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"quote",
|
|
|
|
"wasm-bindgen-macro-support",
|
2020-01-27 08:18:39 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-macro-support"
|
2023-06-13 06:05:54 +03:00
|
|
|
version = "0.2.87"
|
2020-01-27 08:18:39 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-13 06:05:54 +03:00
|
|
|
checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b"
|
2020-01-27 08:18:39 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-08-21 10:33:22 +03:00
|
|
|
"syn 2.0.29",
|
2020-10-14 10:59:32 +03:00
|
|
|
"wasm-bindgen-backend",
|
|
|
|
"wasm-bindgen-shared",
|
2020-01-27 08:18:39 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-shared"
|
2023-06-13 06:05:54 +03:00
|
|
|
version = "0.2.87"
|
2020-01-27 08:18:39 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-13 06:05:54 +03:00
|
|
|
checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1"
|
2020-01-27 08:18:39 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "web-sys"
|
2023-06-13 06:05:54 +03:00
|
|
|
version = "0.3.64"
|
2020-01-27 08:18:39 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-06-13 06:05:54 +03:00
|
|
|
checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b"
|
2020-01-27 08:18:39 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"js-sys",
|
|
|
|
"wasm-bindgen",
|
2020-01-27 08:18:39 +03:00
|
|
|
]
|
|
|
|
|
2023-07-04 00:29:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "webpki-roots"
|
2023-07-17 05:21:54 +03:00
|
|
|
version = "0.24.0"
|
2023-07-04 00:29:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-17 05:21:54 +03:00
|
|
|
checksum = "b291546d5d9d1eab74f069c77749f2cb8504a12caa20f0f2de93ddbf6f411888"
|
2023-07-04 00:29:44 +03:00
|
|
|
dependencies = [
|
2023-07-17 05:21:54 +03:00
|
|
|
"rustls-webpki",
|
2023-07-04 00:29:44 +03:00
|
|
|
]
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "weezl"
|
|
|
|
version = "0.1.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9193164d4de03a926d909d3bc7c30543cecb35400c02114792c2cae20d5e2dbb"
|
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "whoami"
|
|
|
|
version = "1.4.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "22fc3756b8a9133049b26c7f61ab35416c130e8c09b660f5b3958b446f52cc50"
|
2023-08-21 21:13:08 +03:00
|
|
|
dependencies = [
|
|
|
|
"wasm-bindgen",
|
|
|
|
"web-sys",
|
|
|
|
]
|
2023-07-04 15:05:23 +03:00
|
|
|
|
2017-09-30 13:55:44 +03:00
|
|
|
[[package]]
|
2018-01-18 13:42:06 +03:00
|
|
|
name = "winapi"
|
2020-07-05 12:33:47 +03:00
|
|
|
version = "0.3.9"
|
2018-01-18 13:42:06 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-14 10:59:32 +03:00
|
|
|
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
2018-01-18 13:42:06 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"winapi-i686-pc-windows-gnu",
|
|
|
|
"winapi-x86_64-pc-windows-gnu",
|
2018-01-18 13:42:06 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "winapi-i686-pc-windows-gnu"
|
2018-01-18 19:07:14 +03:00
|
|
|
version = "0.4.0"
|
2018-01-18 13:42:06 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-14 10:59:32 +03:00
|
|
|
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
2018-01-18 13:42:06 +03:00
|
|
|
|
2018-08-25 12:50:24 +03:00
|
|
|
[[package]]
|
|
|
|
name = "winapi-util"
|
2020-04-26 17:57:13 +03:00
|
|
|
version = "0.1.5"
|
2018-08-25 12:50:24 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-14 10:59:32 +03:00
|
|
|
checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
|
2018-08-25 12:50:24 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"winapi",
|
2018-08-25 12:50:24 +03:00
|
|
|
]
|
|
|
|
|
2018-01-18 13:42:06 +03:00
|
|
|
[[package]]
|
|
|
|
name = "winapi-x86_64-pc-windows-gnu"
|
2018-01-18 19:07:14 +03:00
|
|
|
version = "0.4.0"
|
2017-09-30 13:55:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-14 10:59:32 +03:00
|
|
|
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
2017-09-30 13:55:44 +03:00
|
|
|
|
2022-05-03 12:12:54 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows-sys"
|
2022-10-31 23:28:21 +03:00
|
|
|
version = "0.42.0"
|
2022-05-03 12:12:54 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-31 23:28:21 +03:00
|
|
|
checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7"
|
2022-05-03 12:12:54 +03:00
|
|
|
dependencies = [
|
2023-04-08 09:38:52 +03:00
|
|
|
"windows_aarch64_gnullvm 0.42.2",
|
|
|
|
"windows_aarch64_msvc 0.42.2",
|
|
|
|
"windows_i686_gnu 0.42.2",
|
|
|
|
"windows_i686_msvc 0.42.2",
|
|
|
|
"windows_x86_64_gnu 0.42.2",
|
|
|
|
"windows_x86_64_gnullvm 0.42.2",
|
|
|
|
"windows_x86_64_msvc 0.42.2",
|
2022-05-03 12:12:54 +03:00
|
|
|
]
|
|
|
|
|
2023-04-08 09:38:52 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows-sys"
|
|
|
|
version = "0.48.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
|
|
|
|
dependencies = [
|
2023-06-13 06:05:54 +03:00
|
|
|
"windows-targets",
|
2023-04-08 09:38:52 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows-targets"
|
2023-08-21 10:33:22 +03:00
|
|
|
version = "0.48.5"
|
2023-04-08 09:38:52 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-21 10:33:22 +03:00
|
|
|
checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
|
2023-04-08 09:38:52 +03:00
|
|
|
dependencies = [
|
2023-08-21 10:33:22 +03:00
|
|
|
"windows_aarch64_gnullvm 0.48.5",
|
|
|
|
"windows_aarch64_msvc 0.48.5",
|
|
|
|
"windows_i686_gnu 0.48.5",
|
|
|
|
"windows_i686_msvc 0.48.5",
|
|
|
|
"windows_x86_64_gnu 0.48.5",
|
|
|
|
"windows_x86_64_gnullvm 0.48.5",
|
|
|
|
"windows_x86_64_msvc 0.48.5",
|
2023-02-02 07:47:48 +03:00
|
|
|
]
|
|
|
|
|
2022-10-31 23:28:21 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_gnullvm"
|
2023-03-13 21:05:02 +03:00
|
|
|
version = "0.42.2"
|
2022-10-31 23:28:21 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-13 21:05:02 +03:00
|
|
|
checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
|
2022-10-31 23:28:21 +03:00
|
|
|
|
2023-04-08 09:38:52 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_gnullvm"
|
2023-08-21 10:33:22 +03:00
|
|
|
version = "0.48.5"
|
2023-04-08 09:38:52 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-21 10:33:22 +03:00
|
|
|
checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
|
2023-04-08 09:38:52 +03:00
|
|
|
|
2022-05-03 12:12:54 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_msvc"
|
2023-03-13 21:05:02 +03:00
|
|
|
version = "0.42.2"
|
2022-05-03 12:12:54 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-13 21:05:02 +03:00
|
|
|
checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
|
2022-05-03 12:12:54 +03:00
|
|
|
|
2023-04-08 09:38:52 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_msvc"
|
2023-08-21 10:33:22 +03:00
|
|
|
version = "0.48.5"
|
2023-04-08 09:38:52 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-21 10:33:22 +03:00
|
|
|
checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
|
2023-04-08 09:38:52 +03:00
|
|
|
|
2022-05-03 12:12:54 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_gnu"
|
2023-03-13 21:05:02 +03:00
|
|
|
version = "0.42.2"
|
2022-05-03 12:12:54 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-13 21:05:02 +03:00
|
|
|
checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
|
2022-05-03 12:12:54 +03:00
|
|
|
|
2023-04-08 09:38:52 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_gnu"
|
2023-08-21 10:33:22 +03:00
|
|
|
version = "0.48.5"
|
2023-04-08 09:38:52 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-21 10:33:22 +03:00
|
|
|
checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
|
2023-04-08 09:38:52 +03:00
|
|
|
|
2022-05-03 12:12:54 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_msvc"
|
2023-03-13 21:05:02 +03:00
|
|
|
version = "0.42.2"
|
2022-05-03 12:12:54 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-13 21:05:02 +03:00
|
|
|
checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
|
2022-05-03 12:12:54 +03:00
|
|
|
|
2023-04-08 09:38:52 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_msvc"
|
2023-08-21 10:33:22 +03:00
|
|
|
version = "0.48.5"
|
2023-04-08 09:38:52 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-21 10:33:22 +03:00
|
|
|
checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
|
2023-04-08 09:38:52 +03:00
|
|
|
|
2022-05-03 12:12:54 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnu"
|
2023-03-13 21:05:02 +03:00
|
|
|
version = "0.42.2"
|
2022-10-31 23:28:21 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-13 21:05:02 +03:00
|
|
|
checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
|
2022-10-31 23:28:21 +03:00
|
|
|
|
2023-04-08 09:38:52 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnu"
|
2023-08-21 10:33:22 +03:00
|
|
|
version = "0.48.5"
|
2023-04-08 09:38:52 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-21 10:33:22 +03:00
|
|
|
checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
|
2023-04-08 09:38:52 +03:00
|
|
|
|
2022-10-31 23:28:21 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnullvm"
|
2023-03-13 21:05:02 +03:00
|
|
|
version = "0.42.2"
|
2022-05-03 12:12:54 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-13 21:05:02 +03:00
|
|
|
checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
|
2022-05-03 12:12:54 +03:00
|
|
|
|
2023-04-08 09:38:52 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnullvm"
|
2023-08-21 10:33:22 +03:00
|
|
|
version = "0.48.5"
|
2023-04-08 09:38:52 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-21 10:33:22 +03:00
|
|
|
checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
|
2023-04-08 09:38:52 +03:00
|
|
|
|
2022-05-03 12:12:54 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_msvc"
|
2023-03-13 21:05:02 +03:00
|
|
|
version = "0.42.2"
|
2022-05-03 12:12:54 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-13 21:05:02 +03:00
|
|
|
checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
|
2022-05-03 12:12:54 +03:00
|
|
|
|
2023-04-08 09:38:52 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_msvc"
|
2023-08-21 10:33:22 +03:00
|
|
|
version = "0.48.5"
|
2023-04-08 09:38:52 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-21 10:33:22 +03:00
|
|
|
checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
|
2023-04-08 09:38:52 +03:00
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "wyz"
|
|
|
|
version = "0.5.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed"
|
|
|
|
dependencies = [
|
|
|
|
"tap",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "xmlparser"
|
|
|
|
version = "0.13.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4d25c75bf9ea12c4040a97f829154768bbbce366287e2dc044af160cd79a13fd"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "xmlwriter"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ec7a2a501ed189703dba8b08142f057e887dfc4b2cc4db2d343ac6376ba3e0b9"
|
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "zeroize"
|
|
|
|
version = "1.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9"
|
|
|
|
|
Add dynamic sprites support (#715)
Dynamically create image sprites for MapLibre rendering, given a
directory with images.
### TODO
* [x] Work with @flother to merge these PRs
* [x] https://github.com/flother/spreet/pull/59 (must have)
* [x] https://github.com/flother/spreet/pull/57
* [x] https://github.com/flother/spreet/pull/56
* [ ] https://github.com/flother/spreet/pull/62 (not required but nice
to have, can upgrade later without any code changes)
* [x] Add docs to the book
* [x] Add CLI param, e.g. `--sprite <dir_path>`
* [x] Don't output `.sprites` in auto-genned config when not in use
### API
Per [MapLibre sprites
API](https://maplibre.org/maplibre-style-spec/sprite/), we need to
support the following:
* `/sprite/<sprite_id>.json` metadata about the sprite file - all coming
from a single directory
* `/sprite/<sprite_id>.png` all images combined into a single PNG
* `/sprite/<sprite_id>@2x.json` same but for high DPI devices
* `/sprite/<sprite_id>@2x.png`
Multiple sprite_id values can be combined into one sprite with the same
pattern as for tile joining:
`/sprite/<sprite_id1>,<sprite_id2>,...,<sprite_idN>[.json|.png|@2x.json|@2x.png]`.
No ID renaming is done, so identical names will override one another.
### Configuration
[Config file](https://maplibre.org/martin/config-file.html) and possibly
CLI should have a simple option to serve sprites. The configuration may
look similar to how mbtiles and pmtiles are configured:
```yaml
# Publish sprite images
sprites:
paths:
# scan this whole dir, matching all image files, and publishing it as "my_images" sprite source
- /path/to/my_images
sources:
# named source matching source name to a directory
my_sprites: /path/to/some_dir
```
Implement #705
2023-06-16 15:19:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "zopfli"
|
|
|
|
version = "0.7.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4e0650ae6a051326d798eb099b632f1afb0d323d25ee4ec82ffb0779512084d5"
|
|
|
|
dependencies = [
|
|
|
|
"crc32fast",
|
|
|
|
"log",
|
|
|
|
"simd-adler32",
|
|
|
|
"typed-arena",
|
|
|
|
]
|
|
|
|
|
2018-02-21 13:37:31 +03:00
|
|
|
[[package]]
|
2022-08-15 16:54:48 +03:00
|
|
|
name = "zstd"
|
|
|
|
version = "0.11.2+zstd.1.5.2"
|
2018-02-21 13:37:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-15 16:54:48 +03:00
|
|
|
checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4"
|
2018-02-21 13:37:31 +03:00
|
|
|
dependencies = [
|
2023-01-23 09:48:53 +03:00
|
|
|
"zstd-safe 5.0.2+zstd.1.5.2",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zstd"
|
2023-07-21 05:56:50 +03:00
|
|
|
version = "0.12.4"
|
2023-01-23 09:48:53 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-21 05:56:50 +03:00
|
|
|
checksum = "1a27595e173641171fc74a1232b7b1c7a7cb6e18222c11e9dfb9888fa424c53c"
|
2023-01-23 09:48:53 +03:00
|
|
|
dependencies = [
|
2023-07-21 05:56:50 +03:00
|
|
|
"zstd-safe 6.0.6",
|
2018-02-21 13:37:31 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2022-08-15 16:54:48 +03:00
|
|
|
name = "zstd-safe"
|
|
|
|
version = "5.0.2+zstd.1.5.2"
|
2018-02-21 13:37:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-15 16:54:48 +03:00
|
|
|
checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db"
|
2018-02-21 13:37:31 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"libc",
|
|
|
|
"zstd-sys",
|
|
|
|
]
|
|
|
|
|
2023-01-23 09:48:53 +03:00
|
|
|
[[package]]
|
|
|
|
name = "zstd-safe"
|
2023-07-21 05:56:50 +03:00
|
|
|
version = "6.0.6"
|
2023-01-23 09:48:53 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-07-21 05:56:50 +03:00
|
|
|
checksum = "ee98ffd0b48ee95e6c5168188e44a54550b1564d9d530ee21d5f0eaed1069581"
|
2023-01-23 09:48:53 +03:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"zstd-sys",
|
|
|
|
]
|
|
|
|
|
2022-08-15 16:54:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "zstd-sys"
|
2023-04-08 09:38:52 +03:00
|
|
|
version = "2.0.8+zstd.1.5.5"
|
2022-08-15 16:54:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-08 09:38:52 +03:00
|
|
|
checksum = "5556e6ee25d32df2586c098bbfa278803692a20d0ab9565e049480d52707ec8c"
|
2022-08-15 16:54:48 +03:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"libc",
|
2023-01-12 00:35:48 +03:00
|
|
|
"pkg-config",
|
2018-02-21 13:37:31 +03:00
|
|
|
]
|