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
|
|
|
|
|
2020-09-27 11:31:53 +03:00
|
|
|
[[package]]
|
|
|
|
name = "actix-codec"
|
2024-01-31 05:42:09 +03:00
|
|
|
version = "0.5.2"
|
2020-09-27 11:31:53 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-01-31 05:42:09 +03:00
|
|
|
checksum = "5f7b0a21988c1bf877cf4759ef5ddaac04c1c9fe808c9142ecb78ba97d97a28a"
|
2020-09-27 11:31:53 +03:00
|
|
|
dependencies = [
|
2024-06-25 18:00:19 +03:00
|
|
|
"bitflags 2.6.0",
|
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"
|
2024-06-27 00:15:27 +03:00
|
|
|
version = "0.7.0"
|
2021-02-21 21:44:28 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-27 00:15:27 +03:00
|
|
|
checksum = "f9e772b3bcafe335042b5db010ab7c09013dad6eac4915c91d8d50902769f331"
|
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"
|
2024-08-30 05:56:19 +03:00
|
|
|
version = "3.9.0"
|
2021-02-21 21:44:28 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-08-30 05:56:19 +03:00
|
|
|
checksum = "d48f96fc3003717aeb9856ca3d02a8c7de502667ad76eeacd830b48d2e91fac4"
|
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",
|
2024-05-25 08:17:26 +03:00
|
|
|
"base64 0.22.1",
|
2024-06-25 18:00:19 +03:00
|
|
|
"bitflags 2.6.0",
|
2024-05-25 08:17:26 +03:00
|
|
|
"brotli 6.0.0",
|
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",
|
2024-04-11 06:55:27 +03:00
|
|
|
"http 0.2.12",
|
2021-02-21 21:44:28 +03:00
|
|
|
"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-12-25 06:21:09 +03:00
|
|
|
"zstd",
|
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",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2019-10-26 20:37:49 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "actix-router"
|
2024-05-25 08:17:26 +03:00
|
|
|
version = "0.5.3"
|
2019-10-26 20:37:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-25 08:17:26 +03:00
|
|
|
checksum = "13d324164c51f63867b57e73ba5936ea151b8a41a1d23d1031eeb9f70d0236f8"
|
2019-10-26 20:37:49 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"bytestring",
|
2024-05-25 08:17:26 +03:00
|
|
|
"cfg-if",
|
2024-04-11 06:55:27 +03:00
|
|
|
"http 0.2.12",
|
2020-10-14 10:59:32 +03:00
|
|
|
"regex",
|
2024-05-25 08:17:26 +03:00
|
|
|
"regex-lite",
|
2020-10-14 10:59:32 +03:00
|
|
|
"serde",
|
2022-09-28 11:19:23 +03:00
|
|
|
"tracing",
|
2019-10-26 20:37:49 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "actix-rt"
|
2024-06-13 07:29:22 +03:00
|
|
|
version = "2.10.0"
|
2019-10-26 20:37:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-13 07:29:22 +03:00
|
|
|
checksum = "24eda4e2a6e042aa4e55ac438a2ae052d3b5da0ecf83d7411e1a368946925208"
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "2.5.0"
|
2019-10-26 20:37:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "7ca2549781d8dd6d75c40cf6b6051260a2cc2f3c62343d761a969a0640646894"
|
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",
|
2024-09-11 22:32:24 +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"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "4.9.0"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "9180d76e5cc7ccbc4d60a506f2c727730b154010262df5b910eb17dbe4b8cb38"
|
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",
|
2024-09-11 22:32:24 +03:00
|
|
|
"impl-more",
|
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",
|
2024-05-25 08:17:26 +03:00
|
|
|
"regex-lite",
|
2020-10-14 10:59:32 +03:00
|
|
|
"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"
|
2024-06-13 07:29:07 +03:00
|
|
|
version = "4.3.0"
|
2019-10-26 20:37:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-13 07:29:07 +03:00
|
|
|
checksum = "f591380e2e68490b5dfaf1dd1aa0ebe78d84ba7067078512b4ea6e4492d622b8"
|
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",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2018-02-21 13:37:31 +03:00
|
|
|
]
|
|
|
|
|
2024-07-14 20:39:29 +03:00
|
|
|
[[package]]
|
|
|
|
name = "actix-web-static-files"
|
|
|
|
version = "4.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "adf6d1ef6d7a60e084f9e0595e2a5234abda14e76c105ecf8e2d0e8800c41a1f"
|
|
|
|
dependencies = [
|
|
|
|
"actix-web",
|
|
|
|
"derive_more",
|
|
|
|
"futures-util",
|
|
|
|
"static-files",
|
|
|
|
]
|
|
|
|
|
2023-06-28 09:14:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "addr2line"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.24.1"
|
2023-06-28 09:14:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "f5fb1d8e4442bd405fdfd1dacb42792696b0cf9cb15882e5d097b742a676d375"
|
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
|
|
|
|
2024-08-21 05:47:57 +03:00
|
|
|
[[package]]
|
|
|
|
name = "adler2"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
|
|
|
|
|
2023-03-03 06:32:41 +03:00
|
|
|
[[package]]
|
|
|
|
name = "ahash"
|
2024-03-11 08:14:27 +03:00
|
|
|
version = "0.8.11"
|
2023-03-03 06:32:41 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-11 08:14:27 +03:00
|
|
|
checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
|
2023-03-03 06:32:41 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"getrandom",
|
|
|
|
"once_cell",
|
|
|
|
"version_check",
|
2023-10-25 06:16:37 +03:00
|
|
|
"zerocopy",
|
2023-03-03 06:32:41 +03:00
|
|
|
]
|
|
|
|
|
2017-10-09 14:29:03 +03:00
|
|
|
[[package]]
|
|
|
|
name = "aho-corasick"
|
2024-03-22 01:22:12 +03:00
|
|
|
version = "1.1.3"
|
2017-10-09 14:29:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-22 01:22:12 +03:00
|
|
|
checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
|
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"
|
2024-04-15 05:59:02 +03:00
|
|
|
version = "0.2.18"
|
2023-06-13 06:05:54 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-15 05:59:02 +03:00
|
|
|
checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f"
|
2023-06-13 06:05:54 +03:00
|
|
|
|
2023-11-13 06:22:04 +03:00
|
|
|
[[package]]
|
|
|
|
name = "android-tzdata"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "android_system_properties"
|
|
|
|
version = "0.1.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
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"
|
2024-07-30 17:53:22 +03:00
|
|
|
version = "0.6.15"
|
2023-04-03 05:06:55 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-30 17:53:22 +03:00
|
|
|
checksum = "64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526"
|
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",
|
2024-05-17 08:05:19 +03:00
|
|
|
"is_terminal_polyfill",
|
2023-04-03 05:06:55 +03:00
|
|
|
"utf8parse",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "anstyle"
|
2024-07-30 17:53:22 +03:00
|
|
|
version = "1.0.8"
|
2023-04-03 05:06:55 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-30 17:53:22 +03:00
|
|
|
checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1"
|
2023-04-03 05:06:55 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "anstyle-parse"
|
2024-07-30 17:53:22 +03:00
|
|
|
version = "0.2.5"
|
2023-04-03 05:06:55 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-30 17:53:22 +03:00
|
|
|
checksum = "eb47de1e80c2b463c735db5b217a0ddc39d612e7ac9e2e96a5aed1f57616c1cb"
|
2023-04-03 05:06:55 +03:00
|
|
|
dependencies = [
|
|
|
|
"utf8parse",
|
|
|
|
]
|
|
|
|
|
2023-04-14 06:25:16 +03:00
|
|
|
[[package]]
|
|
|
|
name = "anstyle-query"
|
2024-07-30 17:53:22 +03:00
|
|
|
version = "1.1.1"
|
2023-04-14 06:25:16 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-30 17:53:22 +03:00
|
|
|
checksum = "6d36fc52c7f6c869915e99412912f22093507da8d9e942ceaf66fe4b7c14422a"
|
2023-04-14 06:25:16 +03:00
|
|
|
dependencies = [
|
2023-12-06 07:48:59 +03:00
|
|
|
"windows-sys 0.52.0",
|
2023-04-14 06:25:16 +03:00
|
|
|
]
|
|
|
|
|
2023-04-03 05:06:55 +03:00
|
|
|
[[package]]
|
|
|
|
name = "anstyle-wincon"
|
2024-07-30 17:53:22 +03:00
|
|
|
version = "3.0.4"
|
2023-04-03 05:06:55 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-30 17:53:22 +03:00
|
|
|
checksum = "5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8"
|
2023-04-03 05:06:55 +03:00
|
|
|
dependencies = [
|
|
|
|
"anstyle",
|
2023-12-06 07:48:59 +03:00
|
|
|
"windows-sys 0.52.0",
|
2023-04-03 05:06:55 +03:00
|
|
|
]
|
|
|
|
|
2023-06-03 03:40:22 +03:00
|
|
|
[[package]]
|
|
|
|
name = "anyhow"
|
2024-09-16 06:03:44 +03:00
|
|
|
version = "1.0.89"
|
2023-06-03 03:40:22 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-16 06:03:44 +03:00
|
|
|
checksum = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6"
|
2023-06-03 03:40:22 +03:00
|
|
|
|
2023-11-13 10:50:10 +03:00
|
|
|
[[package]]
|
|
|
|
name = "approx"
|
|
|
|
version = "0.5.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6"
|
|
|
|
dependencies = [
|
|
|
|
"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 = "arrayref"
|
2024-07-24 05:52:07 +03:00
|
|
|
version = "0.3.8"
|
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"
|
2024-07-24 05:52:07 +03:00
|
|
|
checksum = "9d151e35f61089500b617991b791fc8bfd237ae50cd5950803758a179b41e67a"
|
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 = "arrayvec"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.7.6"
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
|
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
|
|
|
|
2023-01-08 22:19:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "async-compression"
|
2024-07-24 05:52:07 +03:00
|
|
|
version = "0.4.12"
|
2023-01-08 22:19:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-24 05:52:07 +03:00
|
|
|
checksum = "fec134f64e2bc57411226dfc4e52dec859ddfc7e711fc5e07b612584f000e4aa"
|
2023-01-08 22:19:11 +03:00
|
|
|
dependencies = [
|
|
|
|
"flate2",
|
|
|
|
"futures-core",
|
|
|
|
"memchr",
|
|
|
|
"pin-project-lite",
|
|
|
|
"tokio",
|
|
|
|
]
|
|
|
|
|
2023-12-22 09:01:50 +03:00
|
|
|
[[package]]
|
|
|
|
name = "async-lock"
|
2024-06-14 01:33:29 +03:00
|
|
|
version = "3.4.0"
|
2023-12-22 09:01:50 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-14 01:33:29 +03:00
|
|
|
checksum = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18"
|
2023-12-22 09:01:50 +03:00
|
|
|
dependencies = [
|
2024-06-14 01:33:29 +03:00
|
|
|
"event-listener 5.3.1",
|
2024-04-12 05:48:14 +03:00
|
|
|
"event-listener-strategy",
|
|
|
|
"pin-project-lite",
|
2023-12-22 09:01:50 +03:00
|
|
|
]
|
|
|
|
|
2024-02-01 21:56:40 +03:00
|
|
|
[[package]]
|
|
|
|
name = "async-stream"
|
|
|
|
version = "0.3.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51"
|
|
|
|
dependencies = [
|
|
|
|
"async-stream-impl",
|
|
|
|
"futures-core",
|
|
|
|
"pin-project-lite",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-stream-impl"
|
|
|
|
version = "0.3.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2024-02-01 21:56:40 +03:00
|
|
|
]
|
|
|
|
|
2018-01-19 14:06:01 +03:00
|
|
|
[[package]]
|
2020-04-26 17:57:13 +03:00
|
|
|
name = "async-trait"
|
2024-09-03 06:11:01 +03:00
|
|
|
version = "0.1.82"
|
2018-01-19 14:06:01 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-03 06:11:01 +03:00
|
|
|
checksum = "a27b8a3a6e1a44fa4c8baf1f653e4172e81486d4941f2237e20dc2d0cf4ddff1"
|
2018-01-19 14:06:01 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
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"
|
2024-05-17 08:05:19 +03:00
|
|
|
version = "1.3.0"
|
2020-01-11 12:05:45 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 08:05:19 +03:00
|
|
|
checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
|
2020-01-11 12:05:45 +03:00
|
|
|
|
2024-04-10 02:36:40 +03:00
|
|
|
[[package]]
|
|
|
|
name = "aws-lc-rs"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "1.9.0"
|
2024-04-10 02:36:40 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "2f95446d919226d587817a7d21379e6eb099b97b45110a7f272a444ca5c54070"
|
2024-04-10 02:36:40 +03:00
|
|
|
dependencies = [
|
|
|
|
"aws-lc-sys",
|
|
|
|
"mirai-annotations",
|
|
|
|
"paste",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "aws-lc-sys"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.21.1"
|
2024-04-10 02:36:40 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "234314bd569802ec87011d653d6815c6d7b9ffb969e9fee5b8b20ef860e8dce9"
|
2024-04-10 02:36:40 +03:00
|
|
|
dependencies = [
|
|
|
|
"bindgen",
|
2024-04-19 23:34:20 +03:00
|
|
|
"cc",
|
2024-04-10 02:36:40 +03:00
|
|
|
"cmake",
|
|
|
|
"dunce",
|
|
|
|
"fs_extra",
|
|
|
|
"libc",
|
|
|
|
"paste",
|
|
|
|
]
|
|
|
|
|
2023-06-28 09:14:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "backtrace"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.3.74"
|
2023-06-28 09:14:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a"
|
2023-06-28 09:14:48 +03:00
|
|
|
dependencies = [
|
|
|
|
"addr2line",
|
|
|
|
"cfg-if",
|
|
|
|
"libc",
|
2024-09-11 22:32:24 +03:00
|
|
|
"miniz_oxide 0.8.0",
|
2023-06-28 09:14:48 +03:00
|
|
|
"object",
|
|
|
|
"rustc-demangle",
|
2024-09-11 22:32:24 +03:00
|
|
|
"windows-targets 0.52.6",
|
2023-06-28 09:14:48 +03:00
|
|
|
]
|
|
|
|
|
2024-02-01 21:56:40 +03:00
|
|
|
[[package]]
|
|
|
|
name = "base64"
|
|
|
|
version = "0.13.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8"
|
|
|
|
|
2023-01-23 09:48:53 +03:00
|
|
|
[[package]]
|
|
|
|
name = "base64"
|
2024-01-12 08:22:57 +03:00
|
|
|
version = "0.21.7"
|
2023-01-23 09:48:53 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-01-12 08:22:57 +03:00
|
|
|
checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
|
2023-01-23 09:48:53 +03:00
|
|
|
|
2024-04-08 05:34:58 +03:00
|
|
|
[[package]]
|
|
|
|
name = "base64"
|
2024-05-17 08:05:19 +03:00
|
|
|
version = "0.22.1"
|
2024-04-08 05:34:58 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 08:05:19 +03:00
|
|
|
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
|
2024-04-08 05:34:58 +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"
|
|
|
|
|
2024-01-17 04:42:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "bcder"
|
|
|
|
version = "0.7.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c627747a6774aab38beb35990d88309481378558875a41da1a4b2e373c906ef0"
|
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"smallvec",
|
|
|
|
]
|
|
|
|
|
2024-04-10 02:36:40 +03:00
|
|
|
[[package]]
|
|
|
|
name = "bindgen"
|
|
|
|
version = "0.69.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0"
|
|
|
|
dependencies = [
|
2024-06-25 18:00:19 +03:00
|
|
|
"bitflags 2.6.0",
|
2024-04-10 02:36:40 +03:00
|
|
|
"cexpr",
|
|
|
|
"clang-sys",
|
2024-09-11 22:32:24 +03:00
|
|
|
"itertools 0.12.1",
|
2024-04-10 02:36:40 +03:00
|
|
|
"lazy_static",
|
|
|
|
"lazycell",
|
|
|
|
"log",
|
|
|
|
"prettyplease",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"regex",
|
2024-09-04 00:16:55 +03:00
|
|
|
"rustc-hash 1.1.0",
|
2024-04-10 02:36:40 +03:00
|
|
|
"shlex",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2024-04-10 02:36:40 +03:00
|
|
|
"which",
|
|
|
|
]
|
|
|
|
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "bit-set"
|
2024-07-19 05:54:42 +03:00
|
|
|
version = "0.8.0"
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-19 05:54:42 +03:00
|
|
|
checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3"
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
dependencies = [
|
|
|
|
"bit-vec",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bit-vec"
|
2024-07-19 05:54:42 +03:00
|
|
|
version = "0.8.0"
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-19 05:54:42 +03:00
|
|
|
checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7"
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
|
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"
|
2024-06-25 18:00:19 +03:00
|
|
|
version = "2.6.0"
|
2023-07-03 13:43:29 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-25 18:00:19 +03:00
|
|
|
checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
|
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 = [
|
2023-11-13 10:50:10 +03:00
|
|
|
"generic-array 0.14.7",
|
2022-01-01 20:43:04 +03:00
|
|
|
]
|
|
|
|
|
2018-01-22 20:01:44 +03:00
|
|
|
[[package]]
|
2022-02-12 17:25:52 +03:00
|
|
|
name = "brotli"
|
2024-03-19 04:23:47 +03:00
|
|
|
version = "3.5.0"
|
2018-01-22 20:01:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-19 04:23:47 +03:00
|
|
|
checksum = "d640d25bc63c50fb1f0b545ffd80207d2e10a4c965530809b40ba3386825c391"
|
2018-01-22 20:01:44 +03:00
|
|
|
dependencies = [
|
2022-02-12 17:25:52 +03:00
|
|
|
"alloc-no-stdlib",
|
|
|
|
"alloc-stdlib",
|
2024-04-09 23:04:40 +03:00
|
|
|
"brotli-decompressor 2.5.1",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "brotli"
|
2024-05-17 08:05:19 +03:00
|
|
|
version = "6.0.0"
|
2024-04-09 23:04:40 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 08:05:19 +03:00
|
|
|
checksum = "74f7971dbd9326d58187408ab83117d8ac1bb9c17b085fdacd1cf2f598719b6b"
|
2024-04-15 05:59:02 +03:00
|
|
|
dependencies = [
|
|
|
|
"alloc-no-stdlib",
|
|
|
|
"alloc-stdlib",
|
2024-05-30 21:34:53 +03:00
|
|
|
"brotli-decompressor 4.0.1",
|
2024-04-15 05:59:02 +03:00
|
|
|
]
|
|
|
|
|
2018-02-21 13:37:31 +03:00
|
|
|
[[package]]
|
2022-02-12 17:25:52 +03:00
|
|
|
name = "brotli-decompressor"
|
2023-10-28 11:50:49 +03:00
|
|
|
version = "2.5.1"
|
2018-02-21 13:37:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-28 11:50:49 +03:00
|
|
|
checksum = "4e2e4afe60d7dd600fdd3de8d0f08c2b7ec039712e3b6137ff98b7004e82de4f"
|
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
|
|
|
]
|
|
|
|
|
2024-04-15 05:59:02 +03:00
|
|
|
[[package]]
|
|
|
|
name = "brotli-decompressor"
|
2024-05-30 21:34:53 +03:00
|
|
|
version = "4.0.1"
|
2024-04-15 05:59:02 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-30 21:34:53 +03:00
|
|
|
checksum = "9a45bd2e4095a8b518033b128020dd4a55aab1c0a381ba4404a472630f4bc362"
|
2024-04-15 05:59:02 +03:00
|
|
|
dependencies = [
|
|
|
|
"alloc-no-stdlib",
|
|
|
|
"alloc-stdlib",
|
|
|
|
]
|
|
|
|
|
2024-06-25 22:34:14 +03:00
|
|
|
[[package]]
|
|
|
|
name = "bsdiff"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f7f2e6c4f2a017f63b5a1fd7cc437f061b53a3e890bcca840ef756d72f6b72f2"
|
|
|
|
|
2020-01-27 08:18:39 +03:00
|
|
|
[[package]]
|
|
|
|
name = "bumpalo"
|
2024-04-09 23:04:40 +03:00
|
|
|
version = "3.16.0"
|
2020-01-27 08:18:39 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-09 23:04:40 +03:00
|
|
|
checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "1.18.0"
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "94bbb0ad554ad961ddc5da507a12a29b14e4ae5bda06b19f575a3e6079d2e2ae"
|
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
|
|
|
|
2017-09-30 13:55:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "byteorder"
|
2023-10-07 21:46:54 +03:00
|
|
|
version = "1.5.0"
|
2017-09-30 13:55:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-07 21:46:54 +03:00
|
|
|
checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
|
2017-09-30 13:55:44 +03:00
|
|
|
|
2020-04-26 17:57:13 +03:00
|
|
|
[[package]]
|
|
|
|
name = "bytes"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "1.7.1"
|
2021-02-21 21:44:28 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50"
|
2021-02-21 21:44:28 +03:00
|
|
|
|
2020-04-26 17:57:13 +03:00
|
|
|
[[package]]
|
|
|
|
name = "bytestring"
|
2023-10-30 21:53:11 +03:00
|
|
|
version = "1.3.1"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-30 21:53:11 +03:00
|
|
|
checksum = "74d80203ea6b29df88012294f62733de21cfeab47f17b41af3a38bc30a03ee72"
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "1.1.18"
|
2018-02-21 13:37:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "b62ac837cdb5cb22e10a256099b4fc502b1dfe560cb282963a974d7abd80e476"
|
2022-08-15 16:54:48 +03:00
|
|
|
dependencies = [
|
2024-03-11 08:14:27 +03:00
|
|
|
"jobserver",
|
2023-08-02 04:39:24 +03:00
|
|
|
"libc",
|
2024-09-11 22:32:24 +03:00
|
|
|
"shlex",
|
2022-08-15 16:54:48 +03:00
|
|
|
]
|
2018-01-18 13:42:06 +03:00
|
|
|
|
2024-04-10 02:36:40 +03:00
|
|
|
[[package]]
|
|
|
|
name = "cexpr"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
|
|
|
|
dependencies = [
|
|
|
|
"nom",
|
|
|
|
]
|
|
|
|
|
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"
|
|
|
|
|
2024-07-14 20:39:29 +03:00
|
|
|
[[package]]
|
|
|
|
name = "change-detection"
|
|
|
|
version = "1.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "159fa412eae48a1d94d0b9ecdb85c97ce56eb2a347c62394d3fdbf221adabc1a"
|
|
|
|
dependencies = [
|
|
|
|
"path-matchers",
|
|
|
|
"path-slash",
|
|
|
|
]
|
|
|
|
|
2023-11-13 06:22:04 +03:00
|
|
|
[[package]]
|
|
|
|
name = "chrono"
|
2024-04-19 23:34:20 +03:00
|
|
|
version = "0.4.38"
|
2023-11-13 06:22:04 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-19 23:34:20 +03:00
|
|
|
checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401"
|
2023-11-13 06:22:04 +03:00
|
|
|
dependencies = [
|
|
|
|
"android-tzdata",
|
|
|
|
"iana-time-zone",
|
|
|
|
"num-traits",
|
|
|
|
"serde",
|
2024-07-09 17:20:51 +03:00
|
|
|
"windows-targets 0.52.6",
|
2023-11-13 06:22:04 +03:00
|
|
|
]
|
|
|
|
|
2022-09-13 01:42:06 +03:00
|
|
|
[[package]]
|
|
|
|
name = "ciborium"
|
2024-01-26 22:02:17 +03:00
|
|
|
version = "0.2.2"
|
2022-09-13 01:42:06 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-01-26 22:02:17 +03:00
|
|
|
checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e"
|
2022-09-13 01:42:06 +03:00
|
|
|
dependencies = [
|
|
|
|
"ciborium-io",
|
|
|
|
"ciborium-ll",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ciborium-io"
|
2024-01-26 22:02:17 +03:00
|
|
|
version = "0.2.2"
|
2022-09-13 01:42:06 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-01-26 22:02:17 +03:00
|
|
|
checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757"
|
2022-09-13 01:42:06 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ciborium-ll"
|
2024-01-26 22:02:17 +03:00
|
|
|
version = "0.2.2"
|
2022-09-13 01:42:06 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-01-26 22:02:17 +03:00
|
|
|
checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9"
|
2022-09-13 01:42:06 +03:00
|
|
|
dependencies = [
|
|
|
|
"ciborium-io",
|
|
|
|
"half",
|
|
|
|
]
|
|
|
|
|
2024-04-10 02:36:40 +03:00
|
|
|
[[package]]
|
|
|
|
name = "clang-sys"
|
2024-06-14 01:33:29 +03:00
|
|
|
version = "1.8.1"
|
2024-04-10 02:36:40 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-14 01:33:29 +03:00
|
|
|
checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
|
2024-04-10 02:36:40 +03:00
|
|
|
dependencies = [
|
|
|
|
"glob",
|
|
|
|
"libc",
|
|
|
|
"libloading",
|
|
|
|
]
|
|
|
|
|
2022-09-28 11:19:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "clap"
|
2024-09-05 05:55:35 +03:00
|
|
|
version = "4.5.17"
|
2023-03-28 06:14:58 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-05 05:55:35 +03:00
|
|
|
checksum = "3e5a21b8495e732f1b3c364c9949b201ca7bae518c502c80256c96ad79eaf6ac"
|
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",
|
2023-03-28 07:32:38 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "clap_builder"
|
2024-09-05 05:55:35 +03:00
|
|
|
version = "4.5.17"
|
2023-03-28 07:32:38 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-05 05:55:35 +03:00
|
|
|
checksum = "8cf2dd12af7a047ad9d6da2b6b249759a22a7abc0f474c1dae1777afa4b21a73"
|
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",
|
2024-05-17 08:05:19 +03:00
|
|
|
"strsim",
|
2022-09-28 11:19:23 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "clap_derive"
|
2024-08-01 06:22:04 +03:00
|
|
|
version = "4.5.13"
|
2022-09-28 11:19:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-08-01 06:22:04 +03:00
|
|
|
checksum = "501d359d5f3dcaf6ecdeee48833ae73ec6e42723a1e52419c79abf9507eec0a0"
|
2022-09-28 11:19:23 +03:00
|
|
|
dependencies = [
|
2024-03-17 01:43:04 +03:00
|
|
|
"heck 0.5.0",
|
2022-09-28 11:19:23 +03:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2022-09-28 11:19:23 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "clap_lex"
|
2024-07-30 17:53:22 +03:00
|
|
|
version = "0.7.2"
|
2023-04-03 05:06:55 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-30 17:53:22 +03:00
|
|
|
checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97"
|
2023-04-03 05:06:55 +03:00
|
|
|
|
2024-05-17 08:05:19 +03:00
|
|
|
[[package]]
|
|
|
|
name = "clap_mangen"
|
2024-07-30 17:53:22 +03:00
|
|
|
version = "0.2.23"
|
2024-05-17 08:05:19 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-30 17:53:22 +03:00
|
|
|
checksum = "f17415fd4dfbea46e3274fcd8d368284519b358654772afb700dc2e8d2b24eeb"
|
2024-05-17 08:05:19 +03:00
|
|
|
dependencies = [
|
|
|
|
"clap",
|
|
|
|
"roff",
|
|
|
|
]
|
|
|
|
|
2024-04-10 02:36:40 +03:00
|
|
|
[[package]]
|
|
|
|
name = "cmake"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.1.51"
|
2024-04-10 02:36:40 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "fb1e43aa7fd152b1f968787f7dbcdeb306d1867ff373c69955211876c053f91a"
|
2024-04-10 02:36:40 +03:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
]
|
|
|
|
|
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"
|
2024-07-30 17:53:22 +03:00
|
|
|
version = "1.0.2"
|
2023-04-03 05:06:55 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-30 17:53:22 +03:00
|
|
|
checksum = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0"
|
2022-09-28 11:19:23 +03:00
|
|
|
|
2024-04-12 05:48:14 +03:00
|
|
|
[[package]]
|
|
|
|
name = "concurrent-queue"
|
2024-05-17 08:05:19 +03:00
|
|
|
version = "2.5.0"
|
2024-04-12 05:48:14 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 08:05:19 +03:00
|
|
|
checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973"
|
2024-04-12 05:48:14 +03:00
|
|
|
dependencies = [
|
|
|
|
"crossbeam-utils",
|
|
|
|
]
|
|
|
|
|
2023-10-10 18:10:17 +03:00
|
|
|
[[package]]
|
|
|
|
name = "console"
|
2024-01-09 22:13:21 +03:00
|
|
|
version = "0.15.8"
|
2023-10-10 18:10:17 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-01-09 22:13:21 +03:00
|
|
|
checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb"
|
2023-10-10 18:10:17 +03:00
|
|
|
dependencies = [
|
|
|
|
"encode_unicode",
|
|
|
|
"lazy_static",
|
|
|
|
"libc",
|
2024-01-09 22:13:21 +03:00
|
|
|
"windows-sys 0.52.0",
|
2023-10-10 18:10:17 +03:00
|
|
|
]
|
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "const-oid"
|
2023-12-16 02:38:49 +03:00
|
|
|
version = "0.9.6"
|
2023-07-04 15:05:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-12-16 02:38:49 +03:00
|
|
|
checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8"
|
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
|
|
|
|
2023-10-10 18:10:17 +03:00
|
|
|
[[package]]
|
|
|
|
name = "convert_case"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca"
|
|
|
|
dependencies = [
|
|
|
|
"unicode-segmentation",
|
|
|
|
]
|
|
|
|
|
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
|
|
|
|
2023-09-30 12:58:49 +03:00
|
|
|
[[package]]
|
|
|
|
name = "core-foundation"
|
2023-12-01 01:49:00 +03:00
|
|
|
version = "0.9.4"
|
2023-09-30 12:58:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-12-01 01:49:00 +03:00
|
|
|
checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
|
2023-09-30 12:58:49 +03:00
|
|
|
dependencies = [
|
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "core-foundation-sys"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.8.7"
|
2023-09-30 12:58:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
|
2023-09-30 12:58:49 +03:00
|
|
|
|
2023-12-27 21:50:07 +03:00
|
|
|
[[package]]
|
|
|
|
name = "cpp_demangle"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.4.4"
|
2023-12-27 21:50:07 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "96e58d342ad113c2b878f16d5d034c03be492ae460cdbc02b7f0f2284d310c7d"
|
2023-12-27 21:50:07 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
]
|
|
|
|
|
2020-09-13 19:42:44 +03:00
|
|
|
[[package]]
|
2021-07-16 16:08:46 +03:00
|
|
|
name = "cpufeatures"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.2.14"
|
2020-09-13 19:42:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "608697df725056feaccfa42cffdaeeec3fccc4ffc38358ecd19b243e716a78e0"
|
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"
|
2024-04-09 23:04:40 +03:00
|
|
|
version = "3.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"
|
2024-04-09 23:04:40 +03:00
|
|
|
checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636"
|
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-11-04 22:57:10 +03:00
|
|
|
version = "2.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
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-11-04 22:57:10 +03:00
|
|
|
checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5"
|
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"
|
2024-05-25 08:17:26 +03:00
|
|
|
version = "1.4.2"
|
2018-12-07 18:52:18 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-25 08:17:26 +03:00
|
|
|
checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
|
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"
|
2024-05-25 08:17:26 +03:00
|
|
|
version = "0.5.13"
|
2020-10-31 13:07:04 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-25 08:17:26 +03:00
|
|
|
checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2"
|
2020-10-31 13:07:04 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"crossbeam-utils",
|
2020-10-31 13:07:04 +03:00
|
|
|
]
|
|
|
|
|
2018-03-13 14:32:09 +03:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-deque"
|
2024-01-09 22:13:21 +03:00
|
|
|
version = "0.8.5"
|
2018-03-13 14:32:09 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-01-09 22:13:21 +03:00
|
|
|
checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
|
2018-03-13 14:32:09 +03:00
|
|
|
dependencies = [
|
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"
|
2024-01-09 22:13:21 +03:00
|
|
|
version = "0.9.18"
|
2018-07-24 12:34:01 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-01-09 22:13:21 +03:00
|
|
|
checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
|
2018-07-24 12:34:01 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"crossbeam-utils",
|
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"
|
2024-01-09 22:13:21 +03:00
|
|
|
version = "0.3.11"
|
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"
|
2024-01-09 22:13:21 +03:00
|
|
|
checksum = "df0346b5d5e76ac2fe4e327c5fd1118d6be7c51dfb18f9b7922923f287471e35"
|
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 = [
|
|
|
|
"crossbeam-utils",
|
|
|
|
]
|
|
|
|
|
2019-11-07 20:54:06 +03:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-utils"
|
2024-05-25 08:17:26 +03:00
|
|
|
version = "0.8.20"
|
2017-10-09 14:29:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-25 08:17:26 +03:00
|
|
|
checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80"
|
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"
|
|
|
|
|
2024-01-26 22:02:17 +03:00
|
|
|
[[package]]
|
|
|
|
name = "crunchy"
|
|
|
|
version = "0.2.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
|
|
|
|
|
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 = [
|
2023-11-13 10:50:10 +03:00
|
|
|
"generic-array 0.14.7",
|
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"
|
2024-04-17 05:48:14 +03:00
|
|
|
version = "0.2.8"
|
2022-11-26 12:46:40 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-17 05:48:14 +03:00
|
|
|
checksum = "edb49164822f3ee45b17acd4a208cfc1251410cf0cad9a833234c9890774dd9f"
|
2022-11-26 12:46:40 +03:00
|
|
|
dependencies = [
|
|
|
|
"quote",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2022-11-26 12:46:40 +03:00
|
|
|
]
|
|
|
|
|
2023-11-13 06:22:04 +03:00
|
|
|
[[package]]
|
|
|
|
name = "darling"
|
2024-07-12 23:17:45 +03:00
|
|
|
version = "0.20.10"
|
2023-11-13 06:22:04 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-12 23:17:45 +03:00
|
|
|
checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989"
|
2023-11-13 06:22:04 +03:00
|
|
|
dependencies = [
|
|
|
|
"darling_core",
|
|
|
|
"darling_macro",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "darling_core"
|
2024-07-12 23:17:45 +03:00
|
|
|
version = "0.20.10"
|
2023-11-13 06:22:04 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-12 23:17:45 +03:00
|
|
|
checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5"
|
2023-11-13 06:22:04 +03:00
|
|
|
dependencies = [
|
|
|
|
"fnv",
|
|
|
|
"ident_case",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-05-17 08:05:19 +03:00
|
|
|
"strsim",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2023-11-13 06:22:04 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "darling_macro"
|
2024-07-12 23:17:45 +03:00
|
|
|
version = "0.20.10"
|
2023-11-13 06:22:04 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-12 23:17:45 +03:00
|
|
|
checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806"
|
2023-11-13 06:22:04 +03:00
|
|
|
dependencies = [
|
|
|
|
"darling_core",
|
|
|
|
"quote",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2023-11-13 06:22: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 = "data-url"
|
2023-11-30 03:09:05 +03:00
|
|
|
version = "0.3.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-11-30 03:09:05 +03:00
|
|
|
checksum = "5c297a1c74b71ae29df00c3e22dd9534821d60eb9af5a0192823fa2acea70c2a"
|
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
|
|
|
|
2023-02-08 19:55:37 +03:00
|
|
|
[[package]]
|
|
|
|
name = "deadpool"
|
2024-06-27 00:15:27 +03:00
|
|
|
version = "0.12.1"
|
2023-02-08 19:55:37 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-27 00:15:27 +03:00
|
|
|
checksum = "6541a3916932fe57768d4be0b1ffb5ec7cbf74ca8c903fdfd5c0fe8aa958f0ed"
|
2023-02-08 19:55:37 +03:00
|
|
|
dependencies = [
|
|
|
|
"deadpool-runtime",
|
|
|
|
"num_cpus",
|
|
|
|
"tokio",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "deadpool-postgres"
|
2024-06-27 00:15:27 +03:00
|
|
|
version = "0.14.0"
|
2023-02-08 19:55:37 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-27 00:15:27 +03:00
|
|
|
checksum = "1ab8a4ea925ce79678034870834602a2980f4b88c09e97feb266496dbb4493d2"
|
2023-02-08 19:55:37 +03:00
|
|
|
dependencies = [
|
2024-06-27 00:15:27 +03:00
|
|
|
"async-trait",
|
2023-02-08 19:55:37 +03:00
|
|
|
"deadpool",
|
2024-06-27 00:15:27 +03:00
|
|
|
"getrandom",
|
2023-02-08 19:55:37 +03:00
|
|
|
"tokio",
|
|
|
|
"tokio-postgres",
|
2023-09-26 21:24:56 +03:00
|
|
|
"tracing",
|
2023-02-08 19:55:37 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "deadpool-runtime"
|
2024-05-17 08:05:19 +03:00
|
|
|
version = "0.1.4"
|
2023-02-08 19:55:37 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 08:05:19 +03:00
|
|
|
checksum = "092966b41edc516079bdf31ec78a2e0588d1d0c08f78b91d8307215928642b2b"
|
2023-02-08 19:55:37 +03:00
|
|
|
dependencies = [
|
|
|
|
"tokio",
|
|
|
|
]
|
|
|
|
|
2023-12-27 21:50:07 +03:00
|
|
|
[[package]]
|
|
|
|
name = "debugid"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d"
|
|
|
|
dependencies = [
|
|
|
|
"uuid",
|
|
|
|
]
|
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "der"
|
2024-04-09 23:04:40 +03:00
|
|
|
version = "0.7.9"
|
2023-07-04 15:05:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-09 23:04:40 +03:00
|
|
|
checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0"
|
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-12-31 06:48:23 +03:00
|
|
|
version = "0.3.11"
|
2023-08-02 04:39:24 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-12-31 06:48:23 +03:00
|
|
|
checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
|
2023-10-16 08:12:58 +03:00
|
|
|
dependencies = [
|
|
|
|
"powerfmt",
|
2023-11-13 06:22:04 +03:00
|
|
|
"serde",
|
2023-10-16 08:12:58 +03:00
|
|
|
]
|
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"
|
2024-06-25 18:00:19 +03:00
|
|
|
version = "0.99.18"
|
2018-03-13 14:32:09 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-25 18:00:19 +03:00
|
|
|
checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce"
|
2018-03-13 14:32:09 +03:00
|
|
|
dependencies = [
|
2023-10-10 18:10:17 +03:00
|
|
|
"convert_case 0.4.0",
|
2020-10-14 10:59:32 +03:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2022-09-13 09:18:01 +03:00
|
|
|
"rustc_version",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2018-03-13 14:32:09 +03:00
|
|
|
]
|
|
|
|
|
2023-10-10 18:10:17 +03:00
|
|
|
[[package]]
|
|
|
|
name = "diff"
|
|
|
|
version = "0.1.13"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8"
|
|
|
|
|
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 .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
|
|
|
|
2024-04-10 02:36:40 +03:00
|
|
|
[[package]]
|
|
|
|
name = "dunce"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "1.0.5"
|
2024-04-10 02:36:40 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
|
2024-04-10 02:36:40 +03:00
|
|
|
|
2018-03-13 14:32:09 +03:00
|
|
|
[[package]]
|
2019-10-26 20:37:49 +03:00
|
|
|
name = "either"
|
2024-06-26 23:45:11 +03:00
|
|
|
version = "1.13.0"
|
2018-03-13 14:32:09 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-26 23:45:11 +03:00
|
|
|
checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
|
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
|
|
|
|
2023-10-10 18:10:17 +03:00
|
|
|
[[package]]
|
|
|
|
name = "encode_unicode"
|
|
|
|
version = "0.3.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
|
|
|
|
|
2018-03-13 14:32:09 +03:00
|
|
|
[[package]]
|
2019-10-26 20:37:49 +03:00
|
|
|
name = "encoding_rs"
|
2024-04-11 06:55:27 +03:00
|
|
|
version = "0.8.34"
|
2018-03-13 14:32:09 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-11 06:55:27 +03:00
|
|
|
checksum = "b45de904aa0b010bce2ab45264d0631681847fa7b6f2eaa7dab7619943bc4f59"
|
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-10-10 18:10:17 +03:00
|
|
|
[[package]]
|
|
|
|
name = "enum-display"
|
2024-02-09 11:43:27 +03:00
|
|
|
version = "0.1.4"
|
2023-10-10 18:10:17 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-02-09 11:43:27 +03:00
|
|
|
checksum = "02058bb25d8d0605829af88230427dd5cd50661590bd2b09d1baf7c64c417f24"
|
2023-10-10 18:10:17 +03:00
|
|
|
dependencies = [
|
|
|
|
"enum-display-macro",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "enum-display-macro"
|
2024-02-09 11:43:27 +03:00
|
|
|
version = "0.1.4"
|
2023-10-10 18:10:17 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-02-09 11:43:27 +03:00
|
|
|
checksum = "d4be2cf2fe7b971b1865febbacd4d8df544aa6bd377cca011a6d69dcf4c60d94"
|
2023-10-10 18:10:17 +03:00
|
|
|
dependencies = [
|
|
|
|
"convert_case 0.6.0",
|
|
|
|
"quote",
|
|
|
|
"syn 1.0.109",
|
|
|
|
]
|
|
|
|
|
2023-01-08 22:19:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "enum_dispatch"
|
2024-04-09 23:04:40 +03:00
|
|
|
version = "0.3.13"
|
2023-01-08 22:19:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-09 23:04:40 +03:00
|
|
|
checksum = "aa18ce2bc66555b3218614519ac839ddb759a7d6720732f979ef8d13be147ecd"
|
2023-01-08 22:19:11 +03:00
|
|
|
dependencies = [
|
|
|
|
"once_cell",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2023-01-08 22:19:11 +03:00
|
|
|
]
|
|
|
|
|
2024-01-21 03:52:09 +03:00
|
|
|
[[package]]
|
|
|
|
name = "env_filter"
|
2024-07-30 17:53:22 +03:00
|
|
|
version = "0.1.2"
|
2024-01-21 03:52:09 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-30 17:53:22 +03:00
|
|
|
checksum = "4f2c92ceda6ceec50f43169f9ee8424fe2db276791afde7b2cd8bc084cb376ab"
|
2024-01-21 03:52:09 +03:00
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
"regex",
|
|
|
|
]
|
|
|
|
|
2018-01-18 19:07:14 +03:00
|
|
|
[[package]]
|
|
|
|
name = "env_logger"
|
2024-07-26 06:09:20 +03:00
|
|
|
version = "0.11.5"
|
2018-01-18 19:07:14 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-26 06:09:20 +03:00
|
|
|
checksum = "e13fa619b91fb2381732789fc5de83b45675e882f66623b7d8cb4f643017018d"
|
2018-01-18 19:07:14 +03:00
|
|
|
dependencies = [
|
2024-01-21 03:52:09 +03:00
|
|
|
"anstream",
|
|
|
|
"anstyle",
|
|
|
|
"env_filter",
|
2020-10-14 10:59:32 +03:00
|
|
|
"humantime",
|
|
|
|
"log",
|
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
|
|
|
|
2023-04-03 05:06:55 +03:00
|
|
|
[[package]]
|
|
|
|
name = "errno"
|
2024-05-17 08:05:19 +03:00
|
|
|
version = "0.3.9"
|
2023-04-03 05:06:55 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 08:05:19 +03:00
|
|
|
checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
|
2023-04-03 05:06:55 +03:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2023-11-30 03:09:05 +03:00
|
|
|
"windows-sys 0.52.0",
|
2023-04-03 05:06:55 +03:00
|
|
|
]
|
|
|
|
|
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",
|
2023-10-10 18:10:17 +03:00
|
|
|
"windows-sys 0.48.0",
|
2023-07-04 15:05:23 +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 = "event-listener"
|
|
|
|
version = "2.5.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0"
|
|
|
|
|
2024-04-12 05:48:14 +03:00
|
|
|
[[package]]
|
|
|
|
name = "event-listener"
|
2024-05-30 21:34:53 +03:00
|
|
|
version = "5.3.1"
|
2024-04-12 05:48:14 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-30 21:34:53 +03:00
|
|
|
checksum = "6032be9bd27023a771701cc49f9f053c751055f71efb2e0ae5c15809093675ba"
|
2024-04-12 05:48:14 +03:00
|
|
|
dependencies = [
|
|
|
|
"concurrent-queue",
|
|
|
|
"parking",
|
|
|
|
"pin-project-lite",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "event-listener-strategy"
|
2024-06-14 01:33:29 +03:00
|
|
|
version = "0.5.2"
|
2024-04-12 05:48:14 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-14 01:33:29 +03:00
|
|
|
checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1"
|
2024-04-12 05:48:14 +03:00
|
|
|
dependencies = [
|
2024-06-14 01:33:29 +03:00
|
|
|
"event-listener 5.3.1",
|
2024-04-12 05:48:14 +03:00
|
|
|
"pin-project-lite",
|
|
|
|
]
|
|
|
|
|
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-11-27 07:10:29 +03:00
|
|
|
[[package]]
|
|
|
|
name = "fallible-iterator"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649"
|
|
|
|
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "2.1.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"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6"
|
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"
|
2024-01-21 03:52:09 +03:00
|
|
|
version = "0.3.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"
|
2024-01-21 03:52:09 +03:00
|
|
|
checksum = "4f9bfee30e4dedf0ab8b422f03af778d9612b63f502710fc500a334ebe2de645"
|
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 = [
|
|
|
|
"simd-adler32",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "filetime"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.2.25"
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586"
|
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",
|
2024-09-11 22:32:24 +03:00
|
|
|
"libredox",
|
|
|
|
"windows-sys 0.59.0",
|
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
|
|
|
]
|
|
|
|
|
2023-12-27 21:50:07 +03:00
|
|
|
[[package]]
|
|
|
|
name = "findshlibs"
|
|
|
|
version = "0.10.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "40b9e59cd0f7e0806cca4be089683ecb6434e602038df21fe6bf6711b2f07f64"
|
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"lazy_static",
|
|
|
|
"libc",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2018-02-21 13:37:31 +03:00
|
|
|
[[package]]
|
|
|
|
name = "flate2"
|
2024-08-26 06:18:20 +03:00
|
|
|
version = "1.0.33"
|
2018-02-21 13:37:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-08-26 06:18:20 +03:00
|
|
|
checksum = "324a1be68054ef05ad64b861cc9eaf1d623d2d8cb25b4bf2cb9cdd902b4bf253"
|
2018-02-21 13:37:31 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"crc32fast",
|
2024-08-21 05:47:57 +03:00
|
|
|
"miniz_oxide 0.8.0",
|
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"
|
|
|
|
|
2024-05-17 08:05:19 +03:00
|
|
|
[[package]]
|
|
|
|
name = "fluent-uri"
|
|
|
|
version = "0.1.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "17c704e9dbe1ddd863da1e6ff3567795087b1eb201ce80d8fa81162e1516500d"
|
|
|
|
dependencies = [
|
|
|
|
"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
|
|
|
[[package]]
|
|
|
|
name = "flume"
|
2023-09-27 06:30:29 +03:00
|
|
|
version = "0.11.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-09-27 06:30:29 +03:00
|
|
|
checksum = "55ac459de2512911e4b674ce33cf20befaba382d05b62b008afc1c8b57cbf181"
|
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",
|
|
|
|
"futures-sink",
|
2024-06-25 22:34:14 +03:00
|
|
|
"nanorand",
|
2024-06-25 18:00:19 +03:00
|
|
|
"spin",
|
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"
|
2023-09-19 04:28:04 +03:00
|
|
|
version = "0.3.3"
|
2023-01-08 22:19:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-09-19 04:28:04 +03:00
|
|
|
checksum = "6099ab52d5329340a3014f60ca91bc892181ae32e752360d07be9295924dcb0b"
|
2023-01-08 22:19:11 +03:00
|
|
|
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"
|
2024-07-30 17:53:22 +03:00
|
|
|
version = "0.5.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"
|
2024-07-30 17:53:22 +03:00
|
|
|
checksum = "c1fcfcd44ca6e90c921fee9fa665d530b21ef1327a4c1a6c5250ea44b776ada7"
|
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 = [
|
2024-07-30 17:53:22 +03:00
|
|
|
"roxmltree 0.20.0",
|
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 = "fontdb"
|
2023-11-30 03:09:05 +03:00
|
|
|
version = "0.15.0"
|
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-11-30 03:09:05 +03:00
|
|
|
checksum = "020e203f177c0fb250fb19455a252e838d2bbbce1f80f25ecc42402aafa8cd38"
|
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 = [
|
|
|
|
"fontconfig-parser",
|
|
|
|
"log",
|
2023-12-27 21:50:07 +03:00
|
|
|
"memmap2 0.8.0",
|
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
|
|
|
"slotmap",
|
|
|
|
"tinyvec",
|
2023-11-30 03:09:05 +03:00
|
|
|
"ttf-parser",
|
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
|
|
|
]
|
|
|
|
|
2020-12-20 15:45:58 +03:00
|
|
|
[[package]]
|
|
|
|
name = "form_urlencoded"
|
2023-11-27 07:10:29 +03:00
|
|
|
version = "1.2.1"
|
2020-12-20 15:45:58 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-11-27 07:10:29 +03:00
|
|
|
checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
|
2020-12-20 15:45:58 +03:00
|
|
|
dependencies = [
|
|
|
|
"percent-encoding",
|
|
|
|
]
|
|
|
|
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "freetype-rs"
|
2024-02-14 02:18:05 +03:00
|
|
|
version = "0.35.0"
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-02-14 02:18:05 +03:00
|
|
|
checksum = "b1fad2be0bf06af23adddcf6cd143c94ff0ba3b329691f92d1a38dae5c5aeebf"
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
dependencies = [
|
2024-06-25 18:00:19 +03:00
|
|
|
"bitflags 2.6.0",
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
"freetype-sys",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "freetype-sys"
|
2024-04-09 23:04:40 +03:00
|
|
|
version = "0.20.1"
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-09 23:04:40 +03:00
|
|
|
checksum = "0e7edc5b9669349acfda99533e9e0bcf26a51862ab43b08ee7745c55d28eb134"
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"libc",
|
2024-02-14 02:18:05 +03:00
|
|
|
"pkg-config",
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
]
|
|
|
|
|
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-09-19 04:28:04 +03:00
|
|
|
"rustix",
|
2023-01-08 22:19:11 +03:00
|
|
|
"tokio",
|
2023-10-10 18:10:17 +03:00
|
|
|
"windows-sys 0.48.0",
|
2023-01-08 22:19:11 +03:00
|
|
|
]
|
|
|
|
|
2024-04-10 02:36:40 +03:00
|
|
|
[[package]]
|
|
|
|
name = "fs_extra"
|
|
|
|
version = "1.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
|
|
|
|
|
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"
|
chore(deps): Bump futures from 0.3.29 to 0.3.30 (#1098)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.29 to
0.3.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/releases">futures's
releases</a>.</em></p>
<blockquote>
<h2>0.3.30</h2>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures's
changelog</a>.</em></p>
<blockquote>
<h1>0.3.30 - 2023-12-24</h1>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/de1a0fd64a1bcae9a1534ed4da1699632993cc26"><code>de1a0fd</code></a>
Release 0.3.30</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/68d284545f79ca77690d935859ba0cfe0a1be4ac"><code>68d2845</code></a>
Remove a redundant space in example (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2816">#2816</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/fdd2ce716c1b1064332e4d20f23a58696a2c1c6f"><code>fdd2ce7</code></a>
Fix broken link in <code>CopyBufAbortable</code> docs (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2815">#2815</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/272a3c709f7502df32a70c621ffe02e1e24ca5a4"><code>272a3c7</code></a>
Use cfg(target_has_atomic) on no-std targets</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/c179201bd1ed11fe3200ca345a3aba3ddfd9497f"><code>c179201</code></a>
FillBuf: Do not call poll_fill_buf twice</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e6735f3d01b9ced68a60e521f4f7961dc5e9ab0d"><code>e6735f3</code></a>
FuturesUnordered: Fix clear implementation</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/04d01a00a2924525658b19794534bec5672500e6"><code>04d01a0</code></a>
FuturesOrdered: Use 64-bit index</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e4aa659649940c6412eaf6c4c38b939de3163430"><code>e4aa659</code></a>
remove redundant impl Unpin</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/17851c1f05598a0ec223bca292befbf1d225ac42"><code>17851c1</code></a>
provide a mechanism to determine if io read/write halves are from the
same st...</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/49107994e567323aa026f3f4a3cdb19bc04cf24b"><code>4910799</code></a>
provide a non-destructive mechanism to determine if a sink/stream are
paired</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures&package-manager=cargo&previous-version=0.3.29&new-version=0.3.30)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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-12-25 06:25:39 +03:00
|
|
|
version = "0.3.30"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
chore(deps): Bump futures from 0.3.29 to 0.3.30 (#1098)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.29 to
0.3.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/releases">futures's
releases</a>.</em></p>
<blockquote>
<h2>0.3.30</h2>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures's
changelog</a>.</em></p>
<blockquote>
<h1>0.3.30 - 2023-12-24</h1>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/de1a0fd64a1bcae9a1534ed4da1699632993cc26"><code>de1a0fd</code></a>
Release 0.3.30</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/68d284545f79ca77690d935859ba0cfe0a1be4ac"><code>68d2845</code></a>
Remove a redundant space in example (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2816">#2816</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/fdd2ce716c1b1064332e4d20f23a58696a2c1c6f"><code>fdd2ce7</code></a>
Fix broken link in <code>CopyBufAbortable</code> docs (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2815">#2815</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/272a3c709f7502df32a70c621ffe02e1e24ca5a4"><code>272a3c7</code></a>
Use cfg(target_has_atomic) on no-std targets</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/c179201bd1ed11fe3200ca345a3aba3ddfd9497f"><code>c179201</code></a>
FillBuf: Do not call poll_fill_buf twice</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e6735f3d01b9ced68a60e521f4f7961dc5e9ab0d"><code>e6735f3</code></a>
FuturesUnordered: Fix clear implementation</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/04d01a00a2924525658b19794534bec5672500e6"><code>04d01a0</code></a>
FuturesOrdered: Use 64-bit index</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e4aa659649940c6412eaf6c4c38b939de3163430"><code>e4aa659</code></a>
remove redundant impl Unpin</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/17851c1f05598a0ec223bca292befbf1d225ac42"><code>17851c1</code></a>
provide a mechanism to determine if io read/write halves are from the
same st...</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/49107994e567323aa026f3f4a3cdb19bc04cf24b"><code>4910799</code></a>
provide a non-destructive mechanism to determine if a sink/stream are
paired</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures&package-manager=cargo&previous-version=0.3.29&new-version=0.3.30)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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-12-25 06:25:39 +03:00
|
|
|
checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0"
|
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"
|
chore(deps): Bump futures from 0.3.29 to 0.3.30 (#1098)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.29 to
0.3.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/releases">futures's
releases</a>.</em></p>
<blockquote>
<h2>0.3.30</h2>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures's
changelog</a>.</em></p>
<blockquote>
<h1>0.3.30 - 2023-12-24</h1>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/de1a0fd64a1bcae9a1534ed4da1699632993cc26"><code>de1a0fd</code></a>
Release 0.3.30</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/68d284545f79ca77690d935859ba0cfe0a1be4ac"><code>68d2845</code></a>
Remove a redundant space in example (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2816">#2816</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/fdd2ce716c1b1064332e4d20f23a58696a2c1c6f"><code>fdd2ce7</code></a>
Fix broken link in <code>CopyBufAbortable</code> docs (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2815">#2815</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/272a3c709f7502df32a70c621ffe02e1e24ca5a4"><code>272a3c7</code></a>
Use cfg(target_has_atomic) on no-std targets</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/c179201bd1ed11fe3200ca345a3aba3ddfd9497f"><code>c179201</code></a>
FillBuf: Do not call poll_fill_buf twice</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e6735f3d01b9ced68a60e521f4f7961dc5e9ab0d"><code>e6735f3</code></a>
FuturesUnordered: Fix clear implementation</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/04d01a00a2924525658b19794534bec5672500e6"><code>04d01a0</code></a>
FuturesOrdered: Use 64-bit index</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e4aa659649940c6412eaf6c4c38b939de3163430"><code>e4aa659</code></a>
remove redundant impl Unpin</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/17851c1f05598a0ec223bca292befbf1d225ac42"><code>17851c1</code></a>
provide a mechanism to determine if io read/write halves are from the
same st...</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/49107994e567323aa026f3f4a3cdb19bc04cf24b"><code>4910799</code></a>
provide a non-destructive mechanism to determine if a sink/stream are
paired</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures&package-manager=cargo&previous-version=0.3.29&new-version=0.3.30)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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-12-25 06:25:39 +03:00
|
|
|
version = "0.3.30"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
chore(deps): Bump futures from 0.3.29 to 0.3.30 (#1098)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.29 to
0.3.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/releases">futures's
releases</a>.</em></p>
<blockquote>
<h2>0.3.30</h2>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures's
changelog</a>.</em></p>
<blockquote>
<h1>0.3.30 - 2023-12-24</h1>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/de1a0fd64a1bcae9a1534ed4da1699632993cc26"><code>de1a0fd</code></a>
Release 0.3.30</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/68d284545f79ca77690d935859ba0cfe0a1be4ac"><code>68d2845</code></a>
Remove a redundant space in example (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2816">#2816</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/fdd2ce716c1b1064332e4d20f23a58696a2c1c6f"><code>fdd2ce7</code></a>
Fix broken link in <code>CopyBufAbortable</code> docs (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2815">#2815</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/272a3c709f7502df32a70c621ffe02e1e24ca5a4"><code>272a3c7</code></a>
Use cfg(target_has_atomic) on no-std targets</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/c179201bd1ed11fe3200ca345a3aba3ddfd9497f"><code>c179201</code></a>
FillBuf: Do not call poll_fill_buf twice</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e6735f3d01b9ced68a60e521f4f7961dc5e9ab0d"><code>e6735f3</code></a>
FuturesUnordered: Fix clear implementation</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/04d01a00a2924525658b19794534bec5672500e6"><code>04d01a0</code></a>
FuturesOrdered: Use 64-bit index</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e4aa659649940c6412eaf6c4c38b939de3163430"><code>e4aa659</code></a>
remove redundant impl Unpin</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/17851c1f05598a0ec223bca292befbf1d225ac42"><code>17851c1</code></a>
provide a mechanism to determine if io read/write halves are from the
same st...</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/49107994e567323aa026f3f4a3cdb19bc04cf24b"><code>4910799</code></a>
provide a non-destructive mechanism to determine if a sink/stream are
paired</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures&package-manager=cargo&previous-version=0.3.29&new-version=0.3.30)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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-12-25 06:25:39 +03:00
|
|
|
checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78"
|
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"
|
chore(deps): Bump futures from 0.3.29 to 0.3.30 (#1098)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.29 to
0.3.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/releases">futures's
releases</a>.</em></p>
<blockquote>
<h2>0.3.30</h2>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures's
changelog</a>.</em></p>
<blockquote>
<h1>0.3.30 - 2023-12-24</h1>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/de1a0fd64a1bcae9a1534ed4da1699632993cc26"><code>de1a0fd</code></a>
Release 0.3.30</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/68d284545f79ca77690d935859ba0cfe0a1be4ac"><code>68d2845</code></a>
Remove a redundant space in example (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2816">#2816</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/fdd2ce716c1b1064332e4d20f23a58696a2c1c6f"><code>fdd2ce7</code></a>
Fix broken link in <code>CopyBufAbortable</code> docs (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2815">#2815</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/272a3c709f7502df32a70c621ffe02e1e24ca5a4"><code>272a3c7</code></a>
Use cfg(target_has_atomic) on no-std targets</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/c179201bd1ed11fe3200ca345a3aba3ddfd9497f"><code>c179201</code></a>
FillBuf: Do not call poll_fill_buf twice</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e6735f3d01b9ced68a60e521f4f7961dc5e9ab0d"><code>e6735f3</code></a>
FuturesUnordered: Fix clear implementation</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/04d01a00a2924525658b19794534bec5672500e6"><code>04d01a0</code></a>
FuturesOrdered: Use 64-bit index</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e4aa659649940c6412eaf6c4c38b939de3163430"><code>e4aa659</code></a>
remove redundant impl Unpin</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/17851c1f05598a0ec223bca292befbf1d225ac42"><code>17851c1</code></a>
provide a mechanism to determine if io read/write halves are from the
same st...</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/49107994e567323aa026f3f4a3cdb19bc04cf24b"><code>4910799</code></a>
provide a non-destructive mechanism to determine if a sink/stream are
paired</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures&package-manager=cargo&previous-version=0.3.29&new-version=0.3.30)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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-12-25 06:25:39 +03:00
|
|
|
version = "0.3.30"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
chore(deps): Bump futures from 0.3.29 to 0.3.30 (#1098)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.29 to
0.3.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/releases">futures's
releases</a>.</em></p>
<blockquote>
<h2>0.3.30</h2>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures's
changelog</a>.</em></p>
<blockquote>
<h1>0.3.30 - 2023-12-24</h1>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/de1a0fd64a1bcae9a1534ed4da1699632993cc26"><code>de1a0fd</code></a>
Release 0.3.30</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/68d284545f79ca77690d935859ba0cfe0a1be4ac"><code>68d2845</code></a>
Remove a redundant space in example (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2816">#2816</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/fdd2ce716c1b1064332e4d20f23a58696a2c1c6f"><code>fdd2ce7</code></a>
Fix broken link in <code>CopyBufAbortable</code> docs (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2815">#2815</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/272a3c709f7502df32a70c621ffe02e1e24ca5a4"><code>272a3c7</code></a>
Use cfg(target_has_atomic) on no-std targets</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/c179201bd1ed11fe3200ca345a3aba3ddfd9497f"><code>c179201</code></a>
FillBuf: Do not call poll_fill_buf twice</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e6735f3d01b9ced68a60e521f4f7961dc5e9ab0d"><code>e6735f3</code></a>
FuturesUnordered: Fix clear implementation</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/04d01a00a2924525658b19794534bec5672500e6"><code>04d01a0</code></a>
FuturesOrdered: Use 64-bit index</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e4aa659649940c6412eaf6c4c38b939de3163430"><code>e4aa659</code></a>
remove redundant impl Unpin</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/17851c1f05598a0ec223bca292befbf1d225ac42"><code>17851c1</code></a>
provide a mechanism to determine if io read/write halves are from the
same st...</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/49107994e567323aa026f3f4a3cdb19bc04cf24b"><code>4910799</code></a>
provide a non-destructive mechanism to determine if a sink/stream are
paired</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures&package-manager=cargo&previous-version=0.3.29&new-version=0.3.30)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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-12-25 06:25:39 +03:00
|
|
|
checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d"
|
2020-04-26 17:57:13 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-executor"
|
chore(deps): Bump futures from 0.3.29 to 0.3.30 (#1098)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.29 to
0.3.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/releases">futures's
releases</a>.</em></p>
<blockquote>
<h2>0.3.30</h2>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures's
changelog</a>.</em></p>
<blockquote>
<h1>0.3.30 - 2023-12-24</h1>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/de1a0fd64a1bcae9a1534ed4da1699632993cc26"><code>de1a0fd</code></a>
Release 0.3.30</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/68d284545f79ca77690d935859ba0cfe0a1be4ac"><code>68d2845</code></a>
Remove a redundant space in example (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2816">#2816</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/fdd2ce716c1b1064332e4d20f23a58696a2c1c6f"><code>fdd2ce7</code></a>
Fix broken link in <code>CopyBufAbortable</code> docs (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2815">#2815</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/272a3c709f7502df32a70c621ffe02e1e24ca5a4"><code>272a3c7</code></a>
Use cfg(target_has_atomic) on no-std targets</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/c179201bd1ed11fe3200ca345a3aba3ddfd9497f"><code>c179201</code></a>
FillBuf: Do not call poll_fill_buf twice</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e6735f3d01b9ced68a60e521f4f7961dc5e9ab0d"><code>e6735f3</code></a>
FuturesUnordered: Fix clear implementation</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/04d01a00a2924525658b19794534bec5672500e6"><code>04d01a0</code></a>
FuturesOrdered: Use 64-bit index</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e4aa659649940c6412eaf6c4c38b939de3163430"><code>e4aa659</code></a>
remove redundant impl Unpin</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/17851c1f05598a0ec223bca292befbf1d225ac42"><code>17851c1</code></a>
provide a mechanism to determine if io read/write halves are from the
same st...</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/49107994e567323aa026f3f4a3cdb19bc04cf24b"><code>4910799</code></a>
provide a non-destructive mechanism to determine if a sink/stream are
paired</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures&package-manager=cargo&previous-version=0.3.29&new-version=0.3.30)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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-12-25 06:25:39 +03:00
|
|
|
version = "0.3.30"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
chore(deps): Bump futures from 0.3.29 to 0.3.30 (#1098)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.29 to
0.3.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/releases">futures's
releases</a>.</em></p>
<blockquote>
<h2>0.3.30</h2>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures's
changelog</a>.</em></p>
<blockquote>
<h1>0.3.30 - 2023-12-24</h1>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/de1a0fd64a1bcae9a1534ed4da1699632993cc26"><code>de1a0fd</code></a>
Release 0.3.30</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/68d284545f79ca77690d935859ba0cfe0a1be4ac"><code>68d2845</code></a>
Remove a redundant space in example (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2816">#2816</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/fdd2ce716c1b1064332e4d20f23a58696a2c1c6f"><code>fdd2ce7</code></a>
Fix broken link in <code>CopyBufAbortable</code> docs (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2815">#2815</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/272a3c709f7502df32a70c621ffe02e1e24ca5a4"><code>272a3c7</code></a>
Use cfg(target_has_atomic) on no-std targets</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/c179201bd1ed11fe3200ca345a3aba3ddfd9497f"><code>c179201</code></a>
FillBuf: Do not call poll_fill_buf twice</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e6735f3d01b9ced68a60e521f4f7961dc5e9ab0d"><code>e6735f3</code></a>
FuturesUnordered: Fix clear implementation</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/04d01a00a2924525658b19794534bec5672500e6"><code>04d01a0</code></a>
FuturesOrdered: Use 64-bit index</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e4aa659649940c6412eaf6c4c38b939de3163430"><code>e4aa659</code></a>
remove redundant impl Unpin</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/17851c1f05598a0ec223bca292befbf1d225ac42"><code>17851c1</code></a>
provide a mechanism to determine if io read/write halves are from the
same st...</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/49107994e567323aa026f3f4a3cdb19bc04cf24b"><code>4910799</code></a>
provide a non-destructive mechanism to determine if a sink/stream are
paired</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures&package-manager=cargo&previous-version=0.3.29&new-version=0.3.30)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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-12-25 06:25:39 +03:00
|
|
|
checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d"
|
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"
|
chore(deps): Bump futures from 0.3.29 to 0.3.30 (#1098)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.29 to
0.3.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/releases">futures's
releases</a>.</em></p>
<blockquote>
<h2>0.3.30</h2>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures's
changelog</a>.</em></p>
<blockquote>
<h1>0.3.30 - 2023-12-24</h1>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/de1a0fd64a1bcae9a1534ed4da1699632993cc26"><code>de1a0fd</code></a>
Release 0.3.30</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/68d284545f79ca77690d935859ba0cfe0a1be4ac"><code>68d2845</code></a>
Remove a redundant space in example (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2816">#2816</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/fdd2ce716c1b1064332e4d20f23a58696a2c1c6f"><code>fdd2ce7</code></a>
Fix broken link in <code>CopyBufAbortable</code> docs (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2815">#2815</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/272a3c709f7502df32a70c621ffe02e1e24ca5a4"><code>272a3c7</code></a>
Use cfg(target_has_atomic) on no-std targets</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/c179201bd1ed11fe3200ca345a3aba3ddfd9497f"><code>c179201</code></a>
FillBuf: Do not call poll_fill_buf twice</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e6735f3d01b9ced68a60e521f4f7961dc5e9ab0d"><code>e6735f3</code></a>
FuturesUnordered: Fix clear implementation</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/04d01a00a2924525658b19794534bec5672500e6"><code>04d01a0</code></a>
FuturesOrdered: Use 64-bit index</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e4aa659649940c6412eaf6c4c38b939de3163430"><code>e4aa659</code></a>
remove redundant impl Unpin</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/17851c1f05598a0ec223bca292befbf1d225ac42"><code>17851c1</code></a>
provide a mechanism to determine if io read/write halves are from the
same st...</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/49107994e567323aa026f3f4a3cdb19bc04cf24b"><code>4910799</code></a>
provide a non-destructive mechanism to determine if a sink/stream are
paired</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures&package-manager=cargo&previous-version=0.3.29&new-version=0.3.30)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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-12-25 06:25:39 +03:00
|
|
|
version = "0.3.30"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
chore(deps): Bump futures from 0.3.29 to 0.3.30 (#1098)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.29 to
0.3.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/releases">futures's
releases</a>.</em></p>
<blockquote>
<h2>0.3.30</h2>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures's
changelog</a>.</em></p>
<blockquote>
<h1>0.3.30 - 2023-12-24</h1>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/de1a0fd64a1bcae9a1534ed4da1699632993cc26"><code>de1a0fd</code></a>
Release 0.3.30</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/68d284545f79ca77690d935859ba0cfe0a1be4ac"><code>68d2845</code></a>
Remove a redundant space in example (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2816">#2816</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/fdd2ce716c1b1064332e4d20f23a58696a2c1c6f"><code>fdd2ce7</code></a>
Fix broken link in <code>CopyBufAbortable</code> docs (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2815">#2815</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/272a3c709f7502df32a70c621ffe02e1e24ca5a4"><code>272a3c7</code></a>
Use cfg(target_has_atomic) on no-std targets</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/c179201bd1ed11fe3200ca345a3aba3ddfd9497f"><code>c179201</code></a>
FillBuf: Do not call poll_fill_buf twice</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e6735f3d01b9ced68a60e521f4f7961dc5e9ab0d"><code>e6735f3</code></a>
FuturesUnordered: Fix clear implementation</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/04d01a00a2924525658b19794534bec5672500e6"><code>04d01a0</code></a>
FuturesOrdered: Use 64-bit index</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e4aa659649940c6412eaf6c4c38b939de3163430"><code>e4aa659</code></a>
remove redundant impl Unpin</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/17851c1f05598a0ec223bca292befbf1d225ac42"><code>17851c1</code></a>
provide a mechanism to determine if io read/write halves are from the
same st...</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/49107994e567323aa026f3f4a3cdb19bc04cf24b"><code>4910799</code></a>
provide a non-destructive mechanism to determine if a sink/stream are
paired</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures&package-manager=cargo&previous-version=0.3.29&new-version=0.3.30)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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-12-25 06:25:39 +03:00
|
|
|
checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1"
|
2020-04-26 17:57:13 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-macro"
|
chore(deps): Bump futures from 0.3.29 to 0.3.30 (#1098)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.29 to
0.3.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/releases">futures's
releases</a>.</em></p>
<blockquote>
<h2>0.3.30</h2>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures's
changelog</a>.</em></p>
<blockquote>
<h1>0.3.30 - 2023-12-24</h1>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/de1a0fd64a1bcae9a1534ed4da1699632993cc26"><code>de1a0fd</code></a>
Release 0.3.30</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/68d284545f79ca77690d935859ba0cfe0a1be4ac"><code>68d2845</code></a>
Remove a redundant space in example (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2816">#2816</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/fdd2ce716c1b1064332e4d20f23a58696a2c1c6f"><code>fdd2ce7</code></a>
Fix broken link in <code>CopyBufAbortable</code> docs (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2815">#2815</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/272a3c709f7502df32a70c621ffe02e1e24ca5a4"><code>272a3c7</code></a>
Use cfg(target_has_atomic) on no-std targets</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/c179201bd1ed11fe3200ca345a3aba3ddfd9497f"><code>c179201</code></a>
FillBuf: Do not call poll_fill_buf twice</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e6735f3d01b9ced68a60e521f4f7961dc5e9ab0d"><code>e6735f3</code></a>
FuturesUnordered: Fix clear implementation</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/04d01a00a2924525658b19794534bec5672500e6"><code>04d01a0</code></a>
FuturesOrdered: Use 64-bit index</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e4aa659649940c6412eaf6c4c38b939de3163430"><code>e4aa659</code></a>
remove redundant impl Unpin</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/17851c1f05598a0ec223bca292befbf1d225ac42"><code>17851c1</code></a>
provide a mechanism to determine if io read/write halves are from the
same st...</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/49107994e567323aa026f3f4a3cdb19bc04cf24b"><code>4910799</code></a>
provide a non-destructive mechanism to determine if a sink/stream are
paired</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures&package-manager=cargo&previous-version=0.3.29&new-version=0.3.30)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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-12-25 06:25:39 +03:00
|
|
|
version = "0.3.30"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
chore(deps): Bump futures from 0.3.29 to 0.3.30 (#1098)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.29 to
0.3.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/releases">futures's
releases</a>.</em></p>
<blockquote>
<h2>0.3.30</h2>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures's
changelog</a>.</em></p>
<blockquote>
<h1>0.3.30 - 2023-12-24</h1>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/de1a0fd64a1bcae9a1534ed4da1699632993cc26"><code>de1a0fd</code></a>
Release 0.3.30</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/68d284545f79ca77690d935859ba0cfe0a1be4ac"><code>68d2845</code></a>
Remove a redundant space in example (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2816">#2816</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/fdd2ce716c1b1064332e4d20f23a58696a2c1c6f"><code>fdd2ce7</code></a>
Fix broken link in <code>CopyBufAbortable</code> docs (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2815">#2815</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/272a3c709f7502df32a70c621ffe02e1e24ca5a4"><code>272a3c7</code></a>
Use cfg(target_has_atomic) on no-std targets</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/c179201bd1ed11fe3200ca345a3aba3ddfd9497f"><code>c179201</code></a>
FillBuf: Do not call poll_fill_buf twice</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e6735f3d01b9ced68a60e521f4f7961dc5e9ab0d"><code>e6735f3</code></a>
FuturesUnordered: Fix clear implementation</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/04d01a00a2924525658b19794534bec5672500e6"><code>04d01a0</code></a>
FuturesOrdered: Use 64-bit index</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e4aa659649940c6412eaf6c4c38b939de3163430"><code>e4aa659</code></a>
remove redundant impl Unpin</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/17851c1f05598a0ec223bca292befbf1d225ac42"><code>17851c1</code></a>
provide a mechanism to determine if io read/write halves are from the
same st...</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/49107994e567323aa026f3f4a3cdb19bc04cf24b"><code>4910799</code></a>
provide a non-destructive mechanism to determine if a sink/stream are
paired</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures&package-manager=cargo&previous-version=0.3.29&new-version=0.3.30)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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-12-25 06:25:39 +03:00
|
|
|
checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
|
2020-04-26 17:57:13 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2020-04-26 17:57:13 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-sink"
|
chore(deps): Bump futures from 0.3.29 to 0.3.30 (#1098)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.29 to
0.3.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/releases">futures's
releases</a>.</em></p>
<blockquote>
<h2>0.3.30</h2>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures's
changelog</a>.</em></p>
<blockquote>
<h1>0.3.30 - 2023-12-24</h1>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/de1a0fd64a1bcae9a1534ed4da1699632993cc26"><code>de1a0fd</code></a>
Release 0.3.30</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/68d284545f79ca77690d935859ba0cfe0a1be4ac"><code>68d2845</code></a>
Remove a redundant space in example (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2816">#2816</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/fdd2ce716c1b1064332e4d20f23a58696a2c1c6f"><code>fdd2ce7</code></a>
Fix broken link in <code>CopyBufAbortable</code> docs (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2815">#2815</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/272a3c709f7502df32a70c621ffe02e1e24ca5a4"><code>272a3c7</code></a>
Use cfg(target_has_atomic) on no-std targets</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/c179201bd1ed11fe3200ca345a3aba3ddfd9497f"><code>c179201</code></a>
FillBuf: Do not call poll_fill_buf twice</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e6735f3d01b9ced68a60e521f4f7961dc5e9ab0d"><code>e6735f3</code></a>
FuturesUnordered: Fix clear implementation</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/04d01a00a2924525658b19794534bec5672500e6"><code>04d01a0</code></a>
FuturesOrdered: Use 64-bit index</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e4aa659649940c6412eaf6c4c38b939de3163430"><code>e4aa659</code></a>
remove redundant impl Unpin</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/17851c1f05598a0ec223bca292befbf1d225ac42"><code>17851c1</code></a>
provide a mechanism to determine if io read/write halves are from the
same st...</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/49107994e567323aa026f3f4a3cdb19bc04cf24b"><code>4910799</code></a>
provide a non-destructive mechanism to determine if a sink/stream are
paired</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures&package-manager=cargo&previous-version=0.3.29&new-version=0.3.30)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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-12-25 06:25:39 +03:00
|
|
|
version = "0.3.30"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
chore(deps): Bump futures from 0.3.29 to 0.3.30 (#1098)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.29 to
0.3.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/releases">futures's
releases</a>.</em></p>
<blockquote>
<h2>0.3.30</h2>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures's
changelog</a>.</em></p>
<blockquote>
<h1>0.3.30 - 2023-12-24</h1>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/de1a0fd64a1bcae9a1534ed4da1699632993cc26"><code>de1a0fd</code></a>
Release 0.3.30</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/68d284545f79ca77690d935859ba0cfe0a1be4ac"><code>68d2845</code></a>
Remove a redundant space in example (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2816">#2816</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/fdd2ce716c1b1064332e4d20f23a58696a2c1c6f"><code>fdd2ce7</code></a>
Fix broken link in <code>CopyBufAbortable</code> docs (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2815">#2815</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/272a3c709f7502df32a70c621ffe02e1e24ca5a4"><code>272a3c7</code></a>
Use cfg(target_has_atomic) on no-std targets</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/c179201bd1ed11fe3200ca345a3aba3ddfd9497f"><code>c179201</code></a>
FillBuf: Do not call poll_fill_buf twice</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e6735f3d01b9ced68a60e521f4f7961dc5e9ab0d"><code>e6735f3</code></a>
FuturesUnordered: Fix clear implementation</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/04d01a00a2924525658b19794534bec5672500e6"><code>04d01a0</code></a>
FuturesOrdered: Use 64-bit index</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e4aa659649940c6412eaf6c4c38b939de3163430"><code>e4aa659</code></a>
remove redundant impl Unpin</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/17851c1f05598a0ec223bca292befbf1d225ac42"><code>17851c1</code></a>
provide a mechanism to determine if io read/write halves are from the
same st...</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/49107994e567323aa026f3f4a3cdb19bc04cf24b"><code>4910799</code></a>
provide a non-destructive mechanism to determine if a sink/stream are
paired</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures&package-manager=cargo&previous-version=0.3.29&new-version=0.3.30)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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-12-25 06:25:39 +03:00
|
|
|
checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5"
|
2020-04-26 17:57:13 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-task"
|
chore(deps): Bump futures from 0.3.29 to 0.3.30 (#1098)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.29 to
0.3.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/releases">futures's
releases</a>.</em></p>
<blockquote>
<h2>0.3.30</h2>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures's
changelog</a>.</em></p>
<blockquote>
<h1>0.3.30 - 2023-12-24</h1>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/de1a0fd64a1bcae9a1534ed4da1699632993cc26"><code>de1a0fd</code></a>
Release 0.3.30</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/68d284545f79ca77690d935859ba0cfe0a1be4ac"><code>68d2845</code></a>
Remove a redundant space in example (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2816">#2816</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/fdd2ce716c1b1064332e4d20f23a58696a2c1c6f"><code>fdd2ce7</code></a>
Fix broken link in <code>CopyBufAbortable</code> docs (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2815">#2815</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/272a3c709f7502df32a70c621ffe02e1e24ca5a4"><code>272a3c7</code></a>
Use cfg(target_has_atomic) on no-std targets</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/c179201bd1ed11fe3200ca345a3aba3ddfd9497f"><code>c179201</code></a>
FillBuf: Do not call poll_fill_buf twice</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e6735f3d01b9ced68a60e521f4f7961dc5e9ab0d"><code>e6735f3</code></a>
FuturesUnordered: Fix clear implementation</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/04d01a00a2924525658b19794534bec5672500e6"><code>04d01a0</code></a>
FuturesOrdered: Use 64-bit index</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e4aa659649940c6412eaf6c4c38b939de3163430"><code>e4aa659</code></a>
remove redundant impl Unpin</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/17851c1f05598a0ec223bca292befbf1d225ac42"><code>17851c1</code></a>
provide a mechanism to determine if io read/write halves are from the
same st...</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/49107994e567323aa026f3f4a3cdb19bc04cf24b"><code>4910799</code></a>
provide a non-destructive mechanism to determine if a sink/stream are
paired</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures&package-manager=cargo&previous-version=0.3.29&new-version=0.3.30)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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-12-25 06:25:39 +03:00
|
|
|
version = "0.3.30"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
chore(deps): Bump futures from 0.3.29 to 0.3.30 (#1098)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.29 to
0.3.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/releases">futures's
releases</a>.</em></p>
<blockquote>
<h2>0.3.30</h2>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures's
changelog</a>.</em></p>
<blockquote>
<h1>0.3.30 - 2023-12-24</h1>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/de1a0fd64a1bcae9a1534ed4da1699632993cc26"><code>de1a0fd</code></a>
Release 0.3.30</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/68d284545f79ca77690d935859ba0cfe0a1be4ac"><code>68d2845</code></a>
Remove a redundant space in example (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2816">#2816</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/fdd2ce716c1b1064332e4d20f23a58696a2c1c6f"><code>fdd2ce7</code></a>
Fix broken link in <code>CopyBufAbortable</code> docs (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2815">#2815</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/272a3c709f7502df32a70c621ffe02e1e24ca5a4"><code>272a3c7</code></a>
Use cfg(target_has_atomic) on no-std targets</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/c179201bd1ed11fe3200ca345a3aba3ddfd9497f"><code>c179201</code></a>
FillBuf: Do not call poll_fill_buf twice</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e6735f3d01b9ced68a60e521f4f7961dc5e9ab0d"><code>e6735f3</code></a>
FuturesUnordered: Fix clear implementation</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/04d01a00a2924525658b19794534bec5672500e6"><code>04d01a0</code></a>
FuturesOrdered: Use 64-bit index</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e4aa659649940c6412eaf6c4c38b939de3163430"><code>e4aa659</code></a>
remove redundant impl Unpin</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/17851c1f05598a0ec223bca292befbf1d225ac42"><code>17851c1</code></a>
provide a mechanism to determine if io read/write halves are from the
same st...</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/49107994e567323aa026f3f4a3cdb19bc04cf24b"><code>4910799</code></a>
provide a non-destructive mechanism to determine if a sink/stream are
paired</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures&package-manager=cargo&previous-version=0.3.29&new-version=0.3.30)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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-12-25 06:25:39 +03:00
|
|
|
checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004"
|
2020-04-26 17:57:13 +03:00
|
|
|
|
2023-10-10 18:10:17 +03:00
|
|
|
[[package]]
|
|
|
|
name = "futures-timer"
|
2024-02-25 13:46:59 +03:00
|
|
|
version = "3.0.3"
|
2023-10-10 18:10:17 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-02-25 13:46:59 +03:00
|
|
|
checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24"
|
2023-10-10 18:10:17 +03:00
|
|
|
|
2020-04-26 17:57:13 +03:00
|
|
|
[[package]]
|
|
|
|
name = "futures-util"
|
chore(deps): Bump futures from 0.3.29 to 0.3.30 (#1098)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.29 to
0.3.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/releases">futures's
releases</a>.</em></p>
<blockquote>
<h2>0.3.30</h2>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures's
changelog</a>.</em></p>
<blockquote>
<h1>0.3.30 - 2023-12-24</h1>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/de1a0fd64a1bcae9a1534ed4da1699632993cc26"><code>de1a0fd</code></a>
Release 0.3.30</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/68d284545f79ca77690d935859ba0cfe0a1be4ac"><code>68d2845</code></a>
Remove a redundant space in example (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2816">#2816</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/fdd2ce716c1b1064332e4d20f23a58696a2c1c6f"><code>fdd2ce7</code></a>
Fix broken link in <code>CopyBufAbortable</code> docs (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2815">#2815</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/272a3c709f7502df32a70c621ffe02e1e24ca5a4"><code>272a3c7</code></a>
Use cfg(target_has_atomic) on no-std targets</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/c179201bd1ed11fe3200ca345a3aba3ddfd9497f"><code>c179201</code></a>
FillBuf: Do not call poll_fill_buf twice</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e6735f3d01b9ced68a60e521f4f7961dc5e9ab0d"><code>e6735f3</code></a>
FuturesUnordered: Fix clear implementation</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/04d01a00a2924525658b19794534bec5672500e6"><code>04d01a0</code></a>
FuturesOrdered: Use 64-bit index</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e4aa659649940c6412eaf6c4c38b939de3163430"><code>e4aa659</code></a>
remove redundant impl Unpin</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/17851c1f05598a0ec223bca292befbf1d225ac42"><code>17851c1</code></a>
provide a mechanism to determine if io read/write halves are from the
same st...</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/49107994e567323aa026f3f4a3cdb19bc04cf24b"><code>4910799</code></a>
provide a non-destructive mechanism to determine if a sink/stream are
paired</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures&package-manager=cargo&previous-version=0.3.29&new-version=0.3.30)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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-12-25 06:25:39 +03:00
|
|
|
version = "0.3.30"
|
2020-04-26 17:57:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
chore(deps): Bump futures from 0.3.29 to 0.3.30 (#1098)
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.29 to
0.3.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/releases">futures's
releases</a>.</em></p>
<blockquote>
<h2>0.3.30</h2>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures's
changelog</a>.</em></p>
<blockquote>
<h1>0.3.30 - 2023-12-24</h1>
<ul>
<li>Add
<code>{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of</code>
(<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2797">#2797</a>)</li>
<li>Fix panic in <code>FuturesUnordered::clear</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2809">#2809</a>)</li>
<li>Fix panic in <code>AsyncBufReadExt::fill_buf</code> (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2801">#2801</a>,
<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2812">#2812</a>)</li>
<li>Improve support for targets without atomic CAS (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
<li>Remove build scripts (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2811">#2811</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/de1a0fd64a1bcae9a1534ed4da1699632993cc26"><code>de1a0fd</code></a>
Release 0.3.30</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/68d284545f79ca77690d935859ba0cfe0a1be4ac"><code>68d2845</code></a>
Remove a redundant space in example (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2816">#2816</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/fdd2ce716c1b1064332e4d20f23a58696a2c1c6f"><code>fdd2ce7</code></a>
Fix broken link in <code>CopyBufAbortable</code> docs (<a
href="https://redirect.github.com/rust-lang/futures-rs/issues/2815">#2815</a>)</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/272a3c709f7502df32a70c621ffe02e1e24ca5a4"><code>272a3c7</code></a>
Use cfg(target_has_atomic) on no-std targets</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/c179201bd1ed11fe3200ca345a3aba3ddfd9497f"><code>c179201</code></a>
FillBuf: Do not call poll_fill_buf twice</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e6735f3d01b9ced68a60e521f4f7961dc5e9ab0d"><code>e6735f3</code></a>
FuturesUnordered: Fix clear implementation</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/04d01a00a2924525658b19794534bec5672500e6"><code>04d01a0</code></a>
FuturesOrdered: Use 64-bit index</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/e4aa659649940c6412eaf6c4c38b939de3163430"><code>e4aa659</code></a>
remove redundant impl Unpin</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/17851c1f05598a0ec223bca292befbf1d225ac42"><code>17851c1</code></a>
provide a mechanism to determine if io read/write halves are from the
same st...</li>
<li><a
href="https://github.com/rust-lang/futures-rs/commit/49107994e567323aa026f3f4a3cdb19bc04cf24b"><code>4910799</code></a>
provide a non-destructive mechanism to determine if a sink/stream are
paired</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures&package-manager=cargo&previous-version=0.3.29&new-version=0.3.30)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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-12-25 06:25:39 +03:00
|
|
|
checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48"
|
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
|
|
|
]
|
|
|
|
|
2023-11-13 10:50:10 +03:00
|
|
|
[[package]]
|
|
|
|
name = "generic-array"
|
|
|
|
version = "0.12.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd"
|
|
|
|
dependencies = [
|
|
|
|
"typenum",
|
|
|
|
]
|
|
|
|
|
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"
|
2024-05-25 08:17:26 +03:00
|
|
|
version = "0.2.15"
|
2021-02-21 21:44:28 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-25 08:17:26 +03:00
|
|
|
checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
|
2021-02-21 21:44:28 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"cfg-if",
|
2024-06-25 22:34:14 +03:00
|
|
|
"js-sys",
|
2021-02-21 21:44:28 +03:00
|
|
|
"libc",
|
2022-08-15 16:54:48 +03:00
|
|
|
"wasi",
|
2024-06-25 22:34:14 +03:00
|
|
|
"wasm-bindgen",
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.31.0"
|
2023-06-28 09:14:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "32085ea23f3234fc7846555e85283ba4de91e21016dc0455a16286d87a292d64"
|
2023-06-28 09:14:48 +03:00
|
|
|
|
2023-10-10 18:10:17 +03:00
|
|
|
[[package]]
|
|
|
|
name = "glob"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
|
|
|
|
|
2018-02-21 13:37:31 +03:00
|
|
|
[[package]]
|
|
|
|
name = "h2"
|
2024-04-05 19:51:35 +03:00
|
|
|
version = "0.3.26"
|
2018-02-21 13:37:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-05 19:51:35 +03:00
|
|
|
checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8"
|
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",
|
2024-04-11 06:55:27 +03:00
|
|
|
"http 0.2.12",
|
2024-09-11 22:32:24 +03:00
|
|
|
"indexmap 2.5.0",
|
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"
|
2024-04-09 23:04:40 +03:00
|
|
|
version = "2.4.1"
|
2020-06-30 08:17:24 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-09 23:04:40 +03:00
|
|
|
checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888"
|
2024-01-26 22:02:17 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"crunchy",
|
|
|
|
]
|
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"
|
2024-05-17 08:05:19 +03:00
|
|
|
version = "0.14.5"
|
2023-05-16 21:12:57 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 08:05:19 +03:00
|
|
|
checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
|
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 = [
|
2024-05-17 08:05:19 +03:00
|
|
|
"hashbrown 0.14.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
|
|
|
]
|
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
|
|
|
|
2024-03-17 01:43:04 +03:00
|
|
|
[[package]]
|
|
|
|
name = "heck"
|
|
|
|
version = "0.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
|
|
|
2023-02-06 08:37:40 +03:00
|
|
|
[[package]]
|
|
|
|
name = "hermit-abi"
|
2024-03-11 08:14:27 +03:00
|
|
|
version = "0.3.9"
|
2023-02-06 08:37:40 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-11 08:14:27 +03:00
|
|
|
checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
|
2023-02-06 08:37:40 +03:00
|
|
|
|
2024-09-11 22:32:24 +03:00
|
|
|
[[package]]
|
|
|
|
name = "hermit-abi"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc"
|
|
|
|
|
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"
|
2023-12-14 19:11:26 +03:00
|
|
|
version = "0.12.4"
|
2023-07-04 15:05:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-12-14 19:11:26 +03:00
|
|
|
checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7"
|
2023-07-04 15:05:23 +03:00
|
|
|
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"
|
2023-12-16 02:38:49 +03:00
|
|
|
version = "0.5.9"
|
2023-07-04 15:05:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-12-16 02:38:49 +03:00
|
|
|
checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5"
|
2023-07-04 15:05:23 +03:00
|
|
|
dependencies = [
|
2023-12-16 02:38:49 +03:00
|
|
|
"windows-sys 0.52.0",
|
2023-07-04 15:05:23 +03:00
|
|
|
]
|
|
|
|
|
2017-09-30 13:55:44 +03:00
|
|
|
[[package]]
|
2018-02-21 13:37:31 +03:00
|
|
|
name = "http"
|
2024-03-11 08:14:27 +03:00
|
|
|
version = "0.2.12"
|
2017-09-30 13:55:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-11 08:14:27 +03:00
|
|
|
checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1"
|
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
|
|
|
]
|
|
|
|
|
2024-04-11 06:55:27 +03:00
|
|
|
[[package]]
|
|
|
|
name = "http"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258"
|
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"fnv",
|
|
|
|
"itoa",
|
|
|
|
]
|
|
|
|
|
2023-12-22 09:01:50 +03:00
|
|
|
[[package]]
|
|
|
|
name = "http-body"
|
|
|
|
version = "0.4.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2"
|
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
2024-04-11 06:55:27 +03:00
|
|
|
"http 0.2.12",
|
|
|
|
"pin-project-lite",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "http-body"
|
2024-07-12 23:17:45 +03:00
|
|
|
version = "1.0.1"
|
2024-04-11 06:55:27 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-12 23:17:45 +03:00
|
|
|
checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184"
|
2024-04-11 06:55:27 +03:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"http 1.1.0",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "http-body-util"
|
2024-06-14 01:33:29 +03:00
|
|
|
version = "0.1.2"
|
2024-04-11 06:55:27 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-14 01:33:29 +03:00
|
|
|
checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f"
|
2024-04-11 06:55:27 +03:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
2024-06-14 01:33:29 +03:00
|
|
|
"futures-util",
|
2024-04-11 06:55:27 +03:00
|
|
|
"http 1.1.0",
|
2024-07-12 23:17:45 +03:00
|
|
|
"http-body 1.0.1",
|
2023-12-22 09:01:50 +03:00
|
|
|
"pin-project-lite",
|
|
|
|
]
|
|
|
|
|
2018-02-21 13:37:31 +03:00
|
|
|
[[package]]
|
|
|
|
name = "httparse"
|
2024-06-25 18:00:19 +03:00
|
|
|
version = "1.9.4"
|
2018-02-21 13:37:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-25 18:00:19 +03:00
|
|
|
checksum = "0fcc0b4a115bf80b728eb8ea024ad5bd707b615bfed49e0665b6e0f86fd082d9"
|
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
|
|
|
|
2023-12-22 09:01:50 +03:00
|
|
|
[[package]]
|
|
|
|
name = "hyper"
|
2024-07-12 23:17:45 +03:00
|
|
|
version = "0.14.30"
|
2023-12-22 09:01:50 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-12 23:17:45 +03:00
|
|
|
checksum = "a152ddd61dfaec7273fe8419ab357f33aee0d914c5f4efbf0d96fa749eea5ec9"
|
2023-12-22 09:01:50 +03:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-util",
|
2024-04-11 06:55:27 +03:00
|
|
|
"http 0.2.12",
|
|
|
|
"http-body 0.4.6",
|
2023-12-22 09:01:50 +03:00
|
|
|
"httparse",
|
|
|
|
"httpdate",
|
|
|
|
"itoa",
|
|
|
|
"pin-project-lite",
|
|
|
|
"socket2",
|
|
|
|
"tokio",
|
|
|
|
"tower-service",
|
|
|
|
"tracing",
|
|
|
|
"want",
|
|
|
|
]
|
|
|
|
|
2024-04-11 06:55:27 +03:00
|
|
|
[[package]]
|
|
|
|
name = "hyper"
|
2024-07-12 23:17:45 +03:00
|
|
|
version = "1.4.1"
|
2024-04-11 06:55:27 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-12 23:17:45 +03:00
|
|
|
checksum = "50dfd22e0e76d0f662d429a5f80fcaf3855009297eab6a0a9f8543834744ba05"
|
2024-04-11 06:55:27 +03:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"futures-channel",
|
|
|
|
"futures-util",
|
|
|
|
"http 1.1.0",
|
2024-07-12 23:17:45 +03:00
|
|
|
"http-body 1.0.1",
|
2024-04-11 06:55:27 +03:00
|
|
|
"httparse",
|
|
|
|
"itoa",
|
|
|
|
"pin-project-lite",
|
|
|
|
"smallvec",
|
|
|
|
"tokio",
|
|
|
|
"want",
|
|
|
|
]
|
|
|
|
|
2023-12-22 09:01:50 +03:00
|
|
|
[[package]]
|
|
|
|
name = "hyper-rustls"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.27.3"
|
2023-12-22 09:01:50 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "08afdbb5c31130e3034af566421053ab03787c640246a446327f550d11bcb333"
|
2023-12-22 09:01:50 +03:00
|
|
|
dependencies = [
|
|
|
|
"futures-util",
|
2024-04-11 06:55:27 +03:00
|
|
|
"http 1.1.0",
|
2024-07-12 23:17:45 +03:00
|
|
|
"hyper 1.4.1",
|
2024-04-11 06:55:27 +03:00
|
|
|
"hyper-util",
|
2024-06-25 18:00:19 +03:00
|
|
|
"rustls",
|
2024-09-11 22:32:24 +03:00
|
|
|
"rustls-native-certs 0.8.0",
|
2024-04-11 06:55:27 +03:00
|
|
|
"rustls-pki-types",
|
2023-12-22 09:01:50 +03:00
|
|
|
"tokio",
|
2024-06-25 18:00:19 +03:00
|
|
|
"tokio-rustls",
|
2024-04-11 06:55:27 +03:00
|
|
|
"tower-service",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hyper-util"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.1.8"
|
2024-04-11 06:55:27 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "da62f120a8a37763efb0cf8fdf264b884c7b8b9ac8660b900c8661030c00e6ba"
|
2024-04-11 06:55:27 +03:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"futures-channel",
|
|
|
|
"futures-util",
|
|
|
|
"http 1.1.0",
|
2024-07-12 23:17:45 +03:00
|
|
|
"http-body 1.0.1",
|
|
|
|
"hyper 1.4.1",
|
2024-04-11 06:55:27 +03:00
|
|
|
"pin-project-lite",
|
|
|
|
"socket2",
|
|
|
|
"tokio",
|
|
|
|
"tower",
|
|
|
|
"tower-service",
|
|
|
|
"tracing",
|
2023-12-22 09:01:50 +03:00
|
|
|
]
|
|
|
|
|
2023-11-13 06:22:04 +03:00
|
|
|
[[package]]
|
|
|
|
name = "iana-time-zone"
|
2024-02-05 22:26:38 +03:00
|
|
|
version = "0.1.60"
|
2023-11-13 06:22:04 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-02-05 22:26:38 +03:00
|
|
|
checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141"
|
2023-11-13 06:22:04 +03:00
|
|
|
dependencies = [
|
|
|
|
"android_system_properties",
|
|
|
|
"core-foundation-sys",
|
|
|
|
"iana-time-zone-haiku",
|
|
|
|
"js-sys",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"windows-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "iana-time-zone-haiku"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
|
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ident_case"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
|
|
|
|
|
2019-10-26 20:37:49 +03:00
|
|
|
[[package]]
|
|
|
|
name = "idna"
|
2024-06-19 05:42:27 +03:00
|
|
|
version = "0.5.0"
|
2019-10-26 20:37:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-19 05:42:27 +03:00
|
|
|
checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6"
|
2019-10-26 20:37:49 +03:00
|
|
|
dependencies = [
|
2024-06-19 05:42:27 +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 = "imagesize"
|
|
|
|
version = "0.12.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "029d73f573d8e8d63e6d5020011d3255b28c3ba85d6cf870a07184ed23de9284"
|
|
|
|
|
2024-09-11 22:32:24 +03:00
|
|
|
[[package]]
|
|
|
|
name = "impl-more"
|
|
|
|
version = "0.1.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "206ca75c9c03ba3d4ace2460e57b189f39f43de612c2f85836e65c929701bb2d"
|
|
|
|
|
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",
|
2023-11-13 06:22:04 +03:00
|
|
|
"serde",
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "2.5.0"
|
2023-06-26 06:35:14 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5"
|
2023-06-26 06:35:14 +03:00
|
|
|
dependencies = [
|
|
|
|
"equivalent",
|
2024-05-17 08:05:19 +03:00
|
|
|
"hashbrown 0.14.5",
|
2023-11-30 03:09:05 +03:00
|
|
|
"rayon",
|
2023-11-13 06:22:04 +03:00
|
|
|
"serde",
|
2023-06-26 06:35:14 +03:00
|
|
|
]
|
|
|
|
|
2022-10-05 22:12:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "indoc"
|
2024-03-25 05:22:58 +03:00
|
|
|
version = "2.0.5"
|
2022-10-05 22:12:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-25 05:22:58 +03:00
|
|
|
checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
|
2022-10-05 22:12:44 +03:00
|
|
|
|
2023-12-27 21:50:07 +03:00
|
|
|
[[package]]
|
|
|
|
name = "inferno"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.11.21"
|
2023-12-27 21:50:07 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "232929e1d75fe899576a3d5c7416ad0d88dbfbb3c3d6aa00873a7408a50ddb88"
|
2023-12-27 21:50:07 +03:00
|
|
|
dependencies = [
|
|
|
|
"ahash",
|
2024-09-11 22:32:24 +03:00
|
|
|
"indexmap 2.5.0",
|
2023-12-27 21:50:07 +03:00
|
|
|
"is-terminal",
|
|
|
|
"itoa",
|
|
|
|
"log",
|
|
|
|
"num-format",
|
|
|
|
"once_cell",
|
|
|
|
"quick-xml",
|
|
|
|
"rgb",
|
|
|
|
"str_stack",
|
|
|
|
]
|
|
|
|
|
2023-10-10 18:10:17 +03:00
|
|
|
[[package]]
|
|
|
|
name = "insta"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "1.40.0"
|
2023-10-10 18:10:17 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "6593a41c7a73841868772495db7dc1e8ecab43bb5c0b6da2059246c4b506ab60"
|
2023-10-10 18:10:17 +03:00
|
|
|
dependencies = [
|
|
|
|
"console",
|
|
|
|
"lazy_static",
|
|
|
|
"linked-hash-map",
|
|
|
|
"serde",
|
|
|
|
"similar",
|
|
|
|
"toml",
|
|
|
|
]
|
|
|
|
|
2023-12-22 09:01:50 +03:00
|
|
|
[[package]]
|
|
|
|
name = "ipnet"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "2.10.0"
|
2023-12-22 09:01:50 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "187674a687eed5fe42285b40c6291f9a01517d415fad1c3cbc6a9f778af7fcd4"
|
2023-12-22 09:01:50 +03:00
|
|
|
|
2022-11-25 05:36:50 +03:00
|
|
|
[[package]]
|
|
|
|
name = "is-terminal"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.4.13"
|
2022-11-25 05:36:50 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b"
|
2022-11-25 05:36:50 +03:00
|
|
|
dependencies = [
|
2024-09-11 22:32:24 +03:00
|
|
|
"hermit-abi 0.4.0",
|
2024-02-09 11:43:27 +03:00
|
|
|
"libc",
|
2023-12-30 20:47:23 +03:00
|
|
|
"windows-sys 0.52.0",
|
2022-11-25 05:36:50 +03:00
|
|
|
]
|
|
|
|
|
2024-05-17 08:05:19 +03:00
|
|
|
[[package]]
|
|
|
|
name = "is_terminal_polyfill"
|
2024-07-30 17:53:22 +03:00
|
|
|
version = "1.70.1"
|
2024-05-17 08:05:19 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-30 17:53:22 +03:00
|
|
|
checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
|
2024-05-17 08:05:19 +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",
|
|
|
|
]
|
|
|
|
|
2024-09-11 22:32:24 +03:00
|
|
|
[[package]]
|
|
|
|
name = "itertools"
|
|
|
|
version = "0.12.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
|
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
]
|
|
|
|
|
2024-05-17 08:05:19 +03:00
|
|
|
[[package]]
|
|
|
|
name = "itertools"
|
|
|
|
version = "0.13.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
|
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
]
|
|
|
|
|
2022-01-01 20:43:04 +03:00
|
|
|
[[package]]
|
|
|
|
name = "itoa"
|
2024-04-09 23:04:40 +03:00
|
|
|
version = "1.0.11"
|
2022-01-01 20:43:04 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-09 23:04:40 +03:00
|
|
|
checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
|
2022-01-01 20:43:04 +03:00
|
|
|
|
2024-03-11 08:14:27 +03:00
|
|
|
[[package]]
|
|
|
|
name = "jobserver"
|
2024-07-24 05:52:07 +03:00
|
|
|
version = "0.1.32"
|
2024-03-11 08:14:27 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-24 05:52:07 +03:00
|
|
|
checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0"
|
2024-03-11 08:14:27 +03:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
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"
|
2024-01-17 02:43:08 +03:00
|
|
|
version = "0.3.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"
|
2024-01-17 02:43:08 +03:00
|
|
|
checksum = "f5d4a7da358eff58addd2877a45865158f0d78c911d43a5784ceb7bbf52833b0"
|
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
|
|
|
|
2017-09-30 13:55:44 +03:00
|
|
|
[[package]]
|
2022-08-15 16:54:48 +03:00
|
|
|
name = "js-sys"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.3.70"
|
2017-09-30 13:55:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a"
|
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"
|
2024-05-17 08:05:19 +03:00
|
|
|
version = "2.0.0"
|
2023-08-27 19:46:56 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 08:05:19 +03:00
|
|
|
checksum = "5b1fb8864823fad91877e6caea0baca82e49e8db50f8e5c9f9a453e27d3330fc"
|
2023-08-27 19:46:56 +03:00
|
|
|
dependencies = [
|
2024-05-17 08:05:19 +03:00
|
|
|
"jsonptr",
|
2023-08-27 19:46:56 +03:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"thiserror",
|
2024-05-17 08:05:19 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jsonptr"
|
|
|
|
version = "0.4.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1c6e529149475ca0b2820835d3dce8fcc41c6b943ca608d32f35b449255e4627"
|
|
|
|
dependencies = [
|
|
|
|
"fluent-uri",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2023-08-27 19:46:56 +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 = "kurbo"
|
|
|
|
version = "0.9.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bd85a5776cd9500c2e2059c8c76c3b01528566b7fcbaf8098b55a33fc298849b"
|
|
|
|
dependencies = [
|
|
|
|
"arrayvec",
|
|
|
|
]
|
|
|
|
|
2024-02-01 21:56:40 +03:00
|
|
|
[[package]]
|
|
|
|
name = "lambda-web"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ea6277b60649250d681654162b7e8e875c938295ea5f883eb9a8da7e27d2c051"
|
|
|
|
dependencies = [
|
|
|
|
"actix-http",
|
|
|
|
"actix-service",
|
|
|
|
"actix-web",
|
|
|
|
"base64 0.13.1",
|
2024-04-09 23:04:40 +03:00
|
|
|
"brotli 3.5.0",
|
2024-02-01 21:56:40 +03:00
|
|
|
"lambda_runtime",
|
|
|
|
"percent-encoding",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lambda_runtime"
|
|
|
|
version = "0.7.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bd32d5799db2155ae4d47116bb3e169b59f531ced4d5762a10c2125bdd2bf134"
|
|
|
|
dependencies = [
|
|
|
|
"async-stream",
|
|
|
|
"bytes",
|
|
|
|
"futures",
|
2024-04-11 06:55:27 +03:00
|
|
|
"http 0.2.12",
|
2024-07-12 23:17:45 +03:00
|
|
|
"hyper 0.14.30",
|
2024-02-01 21:56:40 +03:00
|
|
|
"lambda_runtime_api_client",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"tokio",
|
|
|
|
"tokio-stream",
|
|
|
|
"tower",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lambda_runtime_api_client"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7210012be904051520f0dc502140ba599bae3042b65b3737b87727f1aa88a7d6"
|
|
|
|
dependencies = [
|
2024-04-11 06:55:27 +03:00
|
|
|
"http 0.2.12",
|
2024-07-12 23:17:45 +03:00
|
|
|
"hyper 0.14.30",
|
2024-02-01 21:56:40 +03:00
|
|
|
"tokio",
|
|
|
|
"tower-service",
|
|
|
|
]
|
|
|
|
|
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"
|
2024-06-25 18:00:19 +03:00
|
|
|
version = "1.5.0"
|
2018-01-18 13:42:06 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-25 18:00:19 +03:00
|
|
|
checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
2023-07-04 15:05:23 +03:00
|
|
|
dependencies = [
|
2024-06-25 18:00:19 +03:00
|
|
|
"spin",
|
2023-07-04 15:05:23 +03:00
|
|
|
]
|
2018-01-18 13:42:06 +03:00
|
|
|
|
2024-04-10 02:36:40 +03:00
|
|
|
[[package]]
|
|
|
|
name = "lazycell"
|
|
|
|
version = "1.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
|
|
|
|
|
2017-09-30 13:55:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "libc"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.2.158"
|
2022-08-15 16:54:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439"
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "1.21.0"
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "7b14a6afa4e2e1d343fd793a1c0a7e5857a73a2697c2ff2c98ac00d6c4ecc820"
|
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 = [
|
|
|
|
"cc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libdeflater"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "1.21.0"
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "a17fe2badabdaf756f620748311e99ef99a5fdd681562dfd343fdb16ed7d4797"
|
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 = [
|
|
|
|
"libdeflate-sys",
|
|
|
|
]
|
|
|
|
|
2024-04-10 02:36:40 +03:00
|
|
|
[[package]]
|
|
|
|
name = "libloading"
|
2024-07-24 05:52:07 +03:00
|
|
|
version = "0.8.5"
|
2024-04-10 02:36:40 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-24 05:52:07 +03:00
|
|
|
checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4"
|
2024-04-10 02:36:40 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
2024-09-11 22:32:24 +03:00
|
|
|
"windows-targets 0.52.6",
|
2024-04-10 02:36:40 +03:00
|
|
|
]
|
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "libm"
|
2023-10-07 21:46:54 +03:00
|
|
|
version = "0.2.8"
|
2023-07-04 15:05:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-07 21:46:54 +03:00
|
|
|
checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058"
|
2023-07-04 15:05:23 +03:00
|
|
|
|
2024-09-11 22:32:24 +03:00
|
|
|
[[package]]
|
|
|
|
name = "libredox"
|
|
|
|
version = "0.1.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags 2.6.0",
|
|
|
|
"libc",
|
|
|
|
"redox_syscall",
|
|
|
|
]
|
|
|
|
|
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-11-27 07:10:29 +03:00
|
|
|
version = "0.27.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-11-27 07:10:29 +03:00
|
|
|
checksum = "cf4e226dcd58b4be396f7bd3c20da8fdee2911400705297ba7d2d7cc2c30f716"
|
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-10-10 18:10:17 +03:00
|
|
|
[[package]]
|
|
|
|
name = "linked-hash-map"
|
|
|
|
version = "0.5.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f"
|
|
|
|
|
2023-07-03 13:43:29 +03:00
|
|
|
[[package]]
|
|
|
|
name = "linux-raw-sys"
|
2024-05-17 08:05:19 +03:00
|
|
|
version = "0.4.14"
|
2023-07-03 13:43:29 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 08:05:19 +03:00
|
|
|
checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
|
2023-07-03 13:43:29 +03:00
|
|
|
|
2022-08-15 16:54:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "local-channel"
|
2023-10-30 21:53:11 +03:00
|
|
|
version = "0.1.5"
|
2018-01-18 13:42:06 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-30 21:53:11 +03:00
|
|
|
checksum = "b6cbc85e69b8df4b8bb8b89ec634e7189099cea8927a276b7384ce5488e53ec8"
|
2022-08-15 16:54:48 +03:00
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
|
|
|
"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"
|
2023-10-30 21:53:11 +03:00
|
|
|
version = "0.1.4"
|
2018-07-25 15:02:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-30 21:53:11 +03:00
|
|
|
checksum = "4d873d7c67ce09b42110d801813efbc9364414e356be9935700d368351657487"
|
2018-07-25 15:02:31 +03:00
|
|
|
|
2020-07-01 09:27:12 +03:00
|
|
|
[[package]]
|
|
|
|
name = "lock_api"
|
2024-05-17 08:05:19 +03:00
|
|
|
version = "0.4.12"
|
2020-07-01 09:27:12 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 08:05:19 +03:00
|
|
|
checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
|
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
|
|
|
]
|
|
|
|
|
2024-05-25 08:17:26 +03:00
|
|
|
[[package]]
|
|
|
|
name = "lockfree-object-pool"
|
|
|
|
version = "0.1.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e"
|
|
|
|
|
2017-09-30 13:55:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "log"
|
2024-06-28 05:49:01 +03:00
|
|
|
version = "0.4.22"
|
2017-09-30 13:55:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-28 05:49:01 +03:00
|
|
|
checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
|
2018-01-22 20:01:44 +03:00
|
|
|
|
2018-01-16 15:55:05 +03:00
|
|
|
[[package]]
|
|
|
|
name = "martin"
|
chore(deps): Bump serde_with from 3.8.3 to 3.9.0 (#1421)
Bumps [serde_with](https://github.com/jonasbb/serde_with) from 3.8.3 to
3.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jonasbb/serde_with/releases">serde_with's
releases</a>.</em></p>
<blockquote>
<h2>serde_with v3.9.0</h2>
<h3>Added</h3>
<ul>
<li>
<p>Deserialize a map` and skip all elements failing to deserialize by <a
href="https://github.com/johnmave126"><code>@johnmave126</code></a> (<a
href="https://redirect.github.com/jonasbb/serde_with/issues/763">#763</a>)</p>
<p><code>MapSkipError</code> acts like a map
(<code>HashMap</code>/<code>BTreeMap</code>), but keys or values that
fail to deserialize, like are ignored.</p>
<p>For formats with heterogeneously typed maps, we can collect only the
elements where both key and value are deserializable.
This is also useful in conjunction to <code>#[serde(flatten)]</code> to
ignore some entries when capturing additional fields.</p>
<pre lang="text"><code>// JSON
"value": {"0": "v0", "5":
"v5", "str": "str", "10": 2},
<p>// Rust
#[serde_as(as = "MapSkipError<DisplayFromStr, _>")]
value: BTreeMap<u32, String>,</p>
<p>// Only deserializes entries with a numerical key and a string value,
i.e.,
{0 => "v0", 5 => "v5"}
</code></pre></p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/jonasbb/serde_with/commit/c3e489f4e571fadad9e656c28332b3708bd8cf0e"><code>c3e489f</code></a>
Bump version to 3.9.0 (<a
href="https://redirect.github.com/jonasbb/serde_with/issues/770">#770</a>)</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/57ad8778c46c0dd689002930430e3f994af1ebb1"><code>57ad877</code></a>
Bump version to 3.9.0</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/d038657903639832437abcceca546395a0283034"><code>d038657</code></a>
Implement <code>MapSkipError</code>, analogous to
<code>VecSkipError</code>, but for map-like data ...</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/aaa0a2958917da51867ec90398d95826f8ebd717"><code>aaa0a29</code></a>
Update serde_with/src/guide/serde_as_transformations.md</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/17dec1112b55bce9f7742ecf9d3414dcc089d26d"><code>17dec11</code></a>
Add tests to make sure syntax errors are not suppressed.</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/97543d0c2d7588d9c2855c329bcc8c2b1107a404"><code>97543d0</code></a>
Implement MapSkipError, skipping un-deserializable entries.</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/bf6724d2c09f35fb0ff917856829acf5362fed78"><code>bf6724d</code></a>
Move VecSkipError to a separate file, preparing for MapSkipError</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/31e9172cabefd31b3cca12d24139e416e75ab6d8"><code>31e9172</code></a>
Fix dead code warning by correcting a typo (<a
href="https://redirect.github.com/jonasbb/serde_with/issues/769">#769</a>)</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/f5b2626307f7fb49275232a7f1925bfb5a200a37"><code>f5b2626</code></a>
Fix dead code warnings in tests</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/4ad4a1b4e9088219b7877d64aa225e6d352298e2"><code>4ad4a1b</code></a>
Fix dead code warning by correcting a typo</li>
<li>See full diff in <a
href="https://github.com/jonasbb/serde_with/compare/v3.8.3...v3.9.0">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde_with&package-manager=cargo&previous-version=3.8.3&new-version=3.9.0)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>
2024-07-15 18:22:53 +03:00
|
|
|
version = "0.15.0"
|
2018-01-16 15:55:05 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"actix-cors",
|
2022-08-15 16:54:48 +03:00
|
|
|
"actix-http",
|
2020-10-14 10:59:32 +03:00
|
|
|
"actix-rt",
|
|
|
|
"actix-web",
|
2024-07-14 20:39:29 +03:00
|
|
|
"actix-web-static-files",
|
2022-08-15 16:54:48 +03:00
|
|
|
"async-trait",
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
"bit-set",
|
2024-05-17 08:05:19 +03:00
|
|
|
"brotli 6.0.0",
|
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",
|
2024-03-01 04:56:48 +03:00
|
|
|
"enum-display",
|
2020-10-14 10:59:32 +03:00
|
|
|
"env_logger",
|
2022-11-26 12:46:40 +03:00
|
|
|
"futures",
|
2022-10-05 22:12:44 +03:00
|
|
|
"indoc",
|
2023-10-20 06:40:08 +03:00
|
|
|
"insta",
|
2024-05-17 08:05:19 +03:00
|
|
|
"itertools 0.13.0",
|
2023-08-27 19:46:56 +03:00
|
|
|
"json-patch",
|
2024-02-01 21:56:40 +03:00
|
|
|
"lambda-web",
|
2020-10-14 10:59:32 +03:00
|
|
|
"log",
|
2022-11-26 12:46:40 +03:00
|
|
|
"martin-tile-utils",
|
2023-10-28 11:50:49 +03:00
|
|
|
"mbtiles",
|
2023-12-22 09:01:50 +03:00
|
|
|
"moka",
|
2020-10-14 10:59:32 +03:00
|
|
|
"num_cpus",
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
"pbf_font_tools",
|
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-07-02 16:08:48 +03:00
|
|
|
"postgres-protocol",
|
2023-12-27 21:50:07 +03:00
|
|
|
"pprof",
|
2023-02-06 22:32:28 +03:00
|
|
|
"regex",
|
2024-05-25 08:51:04 +03:00
|
|
|
"rstest",
|
2024-06-25 18:00:19 +03:00
|
|
|
"rustls",
|
2024-09-12 01:46:48 +03:00
|
|
|
"rustls-native-certs 0.8.0",
|
2024-04-11 06:55:27 +03:00
|
|
|
"rustls-pemfile",
|
2022-09-13 09:18:01 +03:00
|
|
|
"semver",
|
2020-10-14 10:59:32 +03:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2023-12-19 02:30:58 +03:00
|
|
|
"serde_with",
|
2020-10-14 10:59:32 +03:00
|
|
|
"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",
|
2024-07-14 20:39:29 +03:00
|
|
|
"static-files",
|
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",
|
2023-09-30 12:58:49 +03:00
|
|
|
"tokio-postgres-rustls",
|
2023-12-22 09:01:50 +03:00
|
|
|
"url",
|
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]]
|
2023-10-28 11:50:49 +03:00
|
|
|
name = "martin-tile-utils"
|
2024-06-27 03:31:41 +03:00
|
|
|
version = "0.5.1"
|
2023-12-09 07:38:15 +03:00
|
|
|
dependencies = [
|
|
|
|
"approx",
|
2024-06-25 22:34:14 +03:00
|
|
|
"brotli 6.0.0",
|
|
|
|
"flate2",
|
2023-12-18 08:02:49 +03:00
|
|
|
"insta",
|
2023-12-09 07:38:15 +03:00
|
|
|
]
|
2023-10-28 11:50:49 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "mbtiles"
|
2024-06-27 03:31:41 +03:00
|
|
|
version = "0.11.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
|
|
|
dependencies = [
|
|
|
|
"actix-rt",
|
2023-06-03 03:40:22 +03:00
|
|
|
"anyhow",
|
2023-06-01 17:13:20 +03:00
|
|
|
"clap",
|
2023-10-10 18:10:17 +03:00
|
|
|
"ctor",
|
|
|
|
"enum-display",
|
2023-09-29 21:37:18 +03:00
|
|
|
"env_logger",
|
2024-06-25 22:34:14 +03:00
|
|
|
"flume",
|
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",
|
2023-10-10 18:10:17 +03:00
|
|
|
"insta",
|
2024-05-17 08:05:19 +03:00
|
|
|
"itertools 0.13.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",
|
|
|
|
"martin-tile-utils",
|
2024-06-25 22:34:14 +03:00
|
|
|
"md5",
|
|
|
|
"num_cpus",
|
2023-10-10 18:10:17 +03:00
|
|
|
"pretty_assertions",
|
|
|
|
"rstest",
|
2023-09-06 06:12:45 +03:00
|
|
|
"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
|
|
|
"serde_json",
|
2023-12-19 02:30:58 +03:00
|
|
|
"serde_with",
|
2023-09-06 06:12:45 +03:00
|
|
|
"serde_yaml",
|
2023-11-13 10:50:10 +03:00
|
|
|
"size_format",
|
2024-06-25 22:34:14 +03:00
|
|
|
"sqlite-compressions",
|
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",
|
2024-06-25 22:34:14 +03:00
|
|
|
"xxhash-rust",
|
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
|
|
|
]
|
|
|
|
|
2017-10-09 14:29:03 +03:00
|
|
|
[[package]]
|
2021-04-25 14:46:44 +03:00
|
|
|
name = "md-5"
|
2023-09-24 07:15:32 +03:00
|
|
|
version = "0.10.6"
|
2017-10-09 14:29:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-09-24 07:15:32 +03:00
|
|
|
checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf"
|
2021-04-25 14:46:44 +03:00
|
|
|
dependencies = [
|
2023-09-24 07:15:32 +03:00
|
|
|
"cfg-if",
|
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
|
|
|
|
2024-06-25 22:34:14 +03:00
|
|
|
[[package]]
|
|
|
|
name = "md5"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771"
|
|
|
|
|
2018-01-18 13:42:06 +03:00
|
|
|
[[package]]
|
|
|
|
name = "memchr"
|
2024-06-25 18:00:19 +03:00
|
|
|
version = "2.7.4"
|
2018-01-18 13:42:06 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-25 18:00:19 +03:00
|
|
|
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
|
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"
|
2023-11-30 03:09:05 +03:00
|
|
|
version = "0.8.0"
|
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-11-30 03:09:05 +03:00
|
|
|
checksum = "43a5a03cefb0d953ec0be133036f14e109412fa594edc2f77227249db66cc3ed"
|
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 = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2023-12-27 21:50:07 +03:00
|
|
|
[[package]]
|
|
|
|
name = "memmap2"
|
2024-01-26 22:02:17 +03:00
|
|
|
version = "0.9.4"
|
2023-12-27 21:50:07 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-01-26 22:02:17 +03:00
|
|
|
checksum = "fe751422e4a8caa417e13c3ea66452215d7d63e19e604f4980461212f3ae1322"
|
2023-12-27 21:50:07 +03:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2023-01-08 22:19:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "memmapix"
|
2023-09-19 04:28:04 +03:00
|
|
|
version = "0.7.6"
|
2023-01-08 22:19:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-09-19 04:28:04 +03:00
|
|
|
checksum = "f517ab414225d5f1755bd284d9545bd08a72a3958b3c6384d72e95de9cc1a1d3"
|
2023-01-08 22:19:11 +03:00
|
|
|
dependencies = [
|
2023-09-19 04:28:04 +03:00
|
|
|
"rustix",
|
2023-01-08 22:19:11 +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
|
|
|
|
2024-07-14 20:39:29 +03:00
|
|
|
[[package]]
|
|
|
|
name = "mime_guess"
|
|
|
|
version = "2.0.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f7c44f8e672c00fe5308fa235f821cb4198414e1c77935c1ab6948d3fd78550e"
|
|
|
|
dependencies = [
|
|
|
|
"mime",
|
|
|
|
"unicase",
|
|
|
|
]
|
|
|
|
|
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"
|
2024-06-25 18:00:19 +03:00
|
|
|
version = "0.7.4"
|
2020-07-05 12:33:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-25 18:00:19 +03:00
|
|
|
checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08"
|
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
|
|
|
]
|
|
|
|
|
2024-08-21 05:47:57 +03:00
|
|
|
[[package]]
|
|
|
|
name = "miniz_oxide"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1"
|
|
|
|
dependencies = [
|
|
|
|
"adler2",
|
|
|
|
]
|
|
|
|
|
2018-02-21 13:37:31 +03:00
|
|
|
[[package]]
|
|
|
|
name = "mio"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "1.0.2"
|
2018-02-21 13:37:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec"
|
2018-02-21 13:37:31 +03:00
|
|
|
dependencies = [
|
2024-09-11 22:32:24 +03:00
|
|
|
"hermit-abi 0.3.9",
|
2020-10-14 10:59:32 +03:00
|
|
|
"libc",
|
|
|
|
"log",
|
2022-08-15 16:54:48 +03:00
|
|
|
"wasi",
|
2024-07-24 05:52:07 +03:00
|
|
|
"windows-sys 0.52.0",
|
|
|
|
]
|
|
|
|
|
2024-04-10 02:36:40 +03:00
|
|
|
[[package]]
|
|
|
|
name = "mirai-annotations"
|
|
|
|
version = "1.12.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c9be0862c1b3f26a88803c4a49de6889c10e608b3ee9344e6ef5b45fb37ad3d1"
|
|
|
|
|
2023-12-22 09:01:50 +03:00
|
|
|
[[package]]
|
|
|
|
name = "moka"
|
2024-07-08 06:22:45 +03:00
|
|
|
version = "0.12.8"
|
2023-12-22 09:01:50 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-08 06:22:45 +03:00
|
|
|
checksum = "32cf62eb4dd975d2dde76432fb1075c49e3ee2331cf36f1f8fd4b66550d32b6f"
|
2023-12-22 09:01:50 +03:00
|
|
|
dependencies = [
|
|
|
|
"async-lock",
|
|
|
|
"async-trait",
|
|
|
|
"crossbeam-channel",
|
|
|
|
"crossbeam-epoch",
|
|
|
|
"crossbeam-utils",
|
2024-05-30 21:34:53 +03:00
|
|
|
"event-listener 5.3.1",
|
2023-12-22 09:01:50 +03:00
|
|
|
"futures-util",
|
|
|
|
"once_cell",
|
|
|
|
"parking_lot",
|
|
|
|
"quanta",
|
|
|
|
"rustc_version",
|
|
|
|
"smallvec",
|
|
|
|
"tagptr",
|
|
|
|
"thiserror",
|
|
|
|
"triomphe",
|
|
|
|
"uuid",
|
|
|
|
]
|
|
|
|
|
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"
|
2023-10-25 06:16:37 +03:00
|
|
|
version = "0.9.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-10-25 06:16:37 +03:00
|
|
|
checksum = "e1a5d38b9b352dbd913288736af36af41c48d61b1a8cd34bcecd727561b7d511"
|
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 = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2024-06-25 22:34:14 +03:00
|
|
|
[[package]]
|
|
|
|
name = "nanorand"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6a51313c5820b0b02bd422f4b44776fbf47961755c74ce64afc73bfad10226c3"
|
|
|
|
dependencies = [
|
|
|
|
"getrandom",
|
|
|
|
]
|
|
|
|
|
2023-12-27 21:50:07 +03:00
|
|
|
[[package]]
|
|
|
|
name = "nix"
|
|
|
|
version = "0.26.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags 1.3.2",
|
|
|
|
"cfg-if",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
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 = "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-11-13 10:50:10 +03:00
|
|
|
[[package]]
|
|
|
|
name = "num"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b8536030f9fea7127f841b45bb6243b27255787fb4eb83958aa1ef9d2fdc0c36"
|
|
|
|
dependencies = [
|
|
|
|
"num-complex",
|
|
|
|
"num-integer",
|
|
|
|
"num-iter",
|
2023-11-30 03:09:05 +03:00
|
|
|
"num-rational",
|
2023-11-13 10:50:10 +03:00
|
|
|
"num-traits",
|
|
|
|
]
|
|
|
|
|
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",
|
|
|
|
]
|
|
|
|
|
2023-11-13 10:50:10 +03:00
|
|
|
[[package]]
|
|
|
|
name = "num-complex"
|
|
|
|
version = "0.2.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b6b19411a9719e753aff12e5187b74d60d3dc449ec3f4dc21e3989c3f554bc95"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"num-traits",
|
|
|
|
]
|
|
|
|
|
2024-02-02 07:03:28 +03:00
|
|
|
[[package]]
|
|
|
|
name = "num-conv"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
|
|
|
|
|
2023-12-27 21:50:07 +03:00
|
|
|
[[package]]
|
|
|
|
name = "num-format"
|
|
|
|
version = "0.4.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3"
|
|
|
|
dependencies = [
|
|
|
|
"arrayvec",
|
|
|
|
"itoa",
|
|
|
|
]
|
|
|
|
|
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"
|
2024-02-08 08:35:31 +03:00
|
|
|
version = "0.1.46"
|
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"
|
2024-02-08 08:35:31 +03:00
|
|
|
checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
|
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 = [
|
|
|
|
"num-traits",
|
|
|
|
]
|
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "num-iter"
|
2024-05-17 08:05:19 +03:00
|
|
|
version = "0.1.45"
|
2023-07-04 15:05:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 08:05:19 +03:00
|
|
|
checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf"
|
2023-07-04 15:05:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"num-integer",
|
|
|
|
"num-traits",
|
|
|
|
]
|
|
|
|
|
2023-11-13 10:50:10 +03:00
|
|
|
[[package]]
|
|
|
|
name = "num-rational"
|
|
|
|
version = "0.2.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef"
|
|
|
|
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"
|
2024-05-17 08:05:19 +03:00
|
|
|
version = "0.2.19"
|
2017-09-30 13:55:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 08:05:19 +03:00
|
|
|
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
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 = [
|
2024-09-11 22:32:24 +03:00
|
|
|
"hermit-abi 0.3.9",
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.36.4"
|
2023-06-28 09:14:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "084f1a5821ac4c651660a94a7153d27ac9d8a53736203f58b31945ded098070a"
|
2023-06-28 09:14:48 +03:00
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2020-06-07 13:08:12 +03:00
|
|
|
[[package]]
|
|
|
|
name = "once_cell"
|
2023-12-08 03:15:31 +03:00
|
|
|
version = "1.19.0"
|
2020-06-07 13:08:12 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-12-08 03:15:31 +03:00
|
|
|
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
|
2020-06-07 13:08:12 +03:00
|
|
|
|
2020-01-27 08:18:39 +03:00
|
|
|
[[package]]
|
|
|
|
name = "oorandom"
|
2024-07-09 17:20:51 +03:00
|
|
|
version = "11.1.4"
|
2020-01-27 08:18:39 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-09 17:20:51 +03:00
|
|
|
checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9"
|
2020-01-27 08:18:39 +03:00
|
|
|
|
2020-05-04 21:21:11 +03:00
|
|
|
[[package]]
|
2023-09-30 12:58:49 +03:00
|
|
|
name = "openssl-probe"
|
|
|
|
version = "0.1.5"
|
2022-05-03 12:12:54 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-09-30 12:58:49 +03:00
|
|
|
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
|
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"
|
2024-07-19 05:54:42 +03:00
|
|
|
version = "9.1.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
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-19 05:54:42 +03:00
|
|
|
checksum = "ec25597808aff9f632f018f0fe8985c6f670598ac5241d220a9f2d32ff46812e"
|
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 = [
|
|
|
|
"bitvec",
|
2024-05-17 08:05:19 +03:00
|
|
|
"clap",
|
|
|
|
"clap_mangen",
|
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
|
|
|
"crossbeam-channel",
|
|
|
|
"filetime",
|
2024-09-11 22:32:24 +03:00
|
|
|
"indexmap 2.5.0",
|
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",
|
2024-09-04 00:16:55 +03:00
|
|
|
"rustc-hash 1.1.0",
|
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
|
|
|
"rustc_version",
|
|
|
|
"zopfli",
|
|
|
|
]
|
|
|
|
|
2024-04-12 05:48:14 +03:00
|
|
|
[[package]]
|
|
|
|
name = "parking"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "2.2.1"
|
2024-04-12 05:48:14 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba"
|
2024-04-12 05:48:14 +03:00
|
|
|
|
2020-07-01 09:27:12 +03:00
|
|
|
[[package]]
|
2022-08-15 16:54:48 +03:00
|
|
|
name = "parking_lot"
|
2024-05-25 08:17:26 +03:00
|
|
|
version = "0.12.3"
|
2020-07-01 09:27:12 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-25 08:17:26 +03:00
|
|
|
checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27"
|
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"
|
2024-05-17 08:05:19 +03:00
|
|
|
version = "0.9.10"
|
2022-05-03 12:12:54 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 08:05:19 +03:00
|
|
|
checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
|
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",
|
2024-09-11 22:32:24 +03:00
|
|
|
"redox_syscall",
|
2022-05-03 12:12:54 +03:00
|
|
|
"smallvec",
|
2024-07-09 17:20:51 +03:00
|
|
|
"windows-targets 0.52.6",
|
2022-05-03 12:12:54 +03:00
|
|
|
]
|
|
|
|
|
2023-01-08 22:19:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "parse-display"
|
2023-09-19 04:28:04 +03:00
|
|
|
version = "0.8.2"
|
2023-01-08 22:19:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-09-19 04:28:04 +03:00
|
|
|
checksum = "c6509d08722b53e8dafe97f2027b22ccbe3a5db83cb352931e9716b0aa44bc5c"
|
2023-01-08 22:19:11 +03:00
|
|
|
dependencies = [
|
|
|
|
"once_cell",
|
|
|
|
"parse-display-derive",
|
|
|
|
"regex",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parse-display-derive"
|
2023-09-19 04:28:04 +03:00
|
|
|
version = "0.8.2"
|
2023-01-08 22:19:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-09-19 04:28:04 +03:00
|
|
|
checksum = "68517892c8daf78da08c0db777fcc17e07f2f63ef70041718f8a7630ad84f341"
|
2023-01-08 22:19:11 +03:00
|
|
|
dependencies = [
|
|
|
|
"once_cell",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"regex",
|
2023-10-10 09:41:56 +03:00
|
|
|
"regex-syntax 0.7.5",
|
2023-01-08 22:19:11 +03:00
|
|
|
"structmeta",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2023-01-08 22:19:11 +03:00
|
|
|
]
|
|
|
|
|
2022-08-15 16:54:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "paste"
|
2024-05-17 08:05:19 +03:00
|
|
|
version = "1.0.15"
|
2022-08-15 16:54:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 08:05:19 +03:00
|
|
|
checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
|
2022-08-15 16:54:48 +03:00
|
|
|
|
2024-07-14 20:39:29 +03:00
|
|
|
[[package]]
|
|
|
|
name = "path-matchers"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "36cd9b72a47679ec193a5f0229d9ab686b7bd45e1fbc59ccf953c9f3d83f7b2b"
|
|
|
|
dependencies = [
|
|
|
|
"glob",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "path-slash"
|
|
|
|
version = "0.1.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "498a099351efa4becc6a19c72aa9270598e8fd274ca47052e37455241c88b696"
|
|
|
|
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "pbf_font_tools"
|
2024-02-13 05:59:51 +03:00
|
|
|
version = "2.5.1"
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-02-13 05:59:51 +03:00
|
|
|
checksum = "badfb0f3113910e4bde7e68975d0c2b85d2b48c3e68842c0cebbb80430e9f61c"
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
"glob",
|
|
|
|
"protobuf",
|
|
|
|
"protobuf-codegen",
|
|
|
|
"protoc-bin-vendored",
|
|
|
|
"sdf_glyph_renderer",
|
|
|
|
"thiserror",
|
|
|
|
"tokio",
|
|
|
|
]
|
|
|
|
|
2024-01-17 04:42:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "pem"
|
2024-04-09 23:04:40 +03:00
|
|
|
version = "3.0.4"
|
2024-01-17 04:42:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-09 23:04:40 +03:00
|
|
|
checksum = "8e459365e590736a54c3fa561947c84837534b8e9af6fc5bf781307e82658fae"
|
2024-01-17 04:42:11 +03:00
|
|
|
dependencies = [
|
2024-05-17 08:05:19 +03:00
|
|
|
"base64 0.22.1",
|
2024-01-17 04:42:11 +03:00
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
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-11-27 07:10:29 +03:00
|
|
|
version = "2.3.1"
|
2019-07-28 18:05:15 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-11-27 07:10:29 +03:00
|
|
|
checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
|
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"
|
|
|
|
|
2024-02-01 21:56:40 +03:00
|
|
|
[[package]]
|
|
|
|
name = "pin-project"
|
2024-03-11 08:14:27 +03:00
|
|
|
version = "1.1.5"
|
2024-02-01 21:56:40 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-11 08:14:27 +03:00
|
|
|
checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3"
|
2024-02-01 21:56:40 +03:00
|
|
|
dependencies = [
|
|
|
|
"pin-project-internal",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pin-project-internal"
|
2024-03-11 08:14:27 +03:00
|
|
|
version = "1.1.5"
|
2024-02-01 21:56:40 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-11 08:14:27 +03:00
|
|
|
checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965"
|
2024-02-01 21:56:40 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2024-02-01 21:56:40 +03:00
|
|
|
]
|
|
|
|
|
2020-12-20 15:45:58 +03:00
|
|
|
[[package]]
|
|
|
|
name = "pin-project-lite"
|
2024-04-09 23:04:40 +03:00
|
|
|
version = "0.2.14"
|
2020-12-20 15:45:58 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-09 23:04:40 +03:00
|
|
|
checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02"
|
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"
|
2024-02-20 06:08:33 +03:00
|
|
|
version = "0.3.30"
|
2020-05-04 21:21:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-02-20 06:08:33 +03:00
|
|
|
checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
|
2020-05-04 21:21:11 +03:00
|
|
|
|
2020-01-27 08:18:39 +03:00
|
|
|
[[package]]
|
|
|
|
name = "plotters"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.3.7"
|
2020-01-27 08:18:39 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "5aeb6f403d7a4911efb1e33402027fc44f29b5bf6def3effcc22d7bb75f2b747"
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.3.7"
|
2021-02-21 21:44:28 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "df42e13c12958a16b3f7f4386b9ab1f3e7933914ecea48da7139435263a4172a"
|
2021-02-21 21:44:28 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "plotters-svg"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.3.7"
|
2021-02-21 21:44:28 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "51bae2ac328883f7acdfea3d66a7c35751187f870bc81f94563733a154d7a670"
|
2021-02-21 21:44:28 +03:00
|
|
|
dependencies = [
|
|
|
|
"plotters-backend",
|
|
|
|
]
|
|
|
|
|
2023-01-08 22:19:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "pmtiles"
|
2024-05-17 08:05:19 +03:00
|
|
|
version = "0.10.0"
|
2023-01-08 22:19:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 08:05:19 +03:00
|
|
|
checksum = "8e39d63d8051c398a45214a806202db469fc1089d9f8de6c5cfc2bcebbdffb13"
|
2023-01-08 22:19:11 +03:00
|
|
|
dependencies = [
|
|
|
|
"async-compression",
|
|
|
|
"bytes",
|
|
|
|
"fmmap",
|
|
|
|
"hilbert_2d",
|
2023-12-22 09:01:50 +03:00
|
|
|
"reqwest",
|
2023-01-08 22:19:11 +03:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2023-09-19 04:28:04 +03:00
|
|
|
"thiserror",
|
2023-01-08 22:19:11 +03:00
|
|
|
"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"
|
2024-02-20 06:08:33 +03:00
|
|
|
version = "0.17.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"
|
2024-02-20 06:08:33 +03:00
|
|
|
checksum = "06e4b0d3d1312775e782c86c91a111aa1f910cbb65e1337f9975b5f9a554b5e1"
|
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",
|
2024-08-21 05:47:57 +03:00
|
|
|
"miniz_oxide 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
|
|
|
]
|
|
|
|
|
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"
|
2024-07-24 05:52:07 +03:00
|
|
|
version = "0.19.8"
|
2017-09-30 13:55:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-24 05:52:07 +03:00
|
|
|
checksum = "6c9ec84ab55b0f9e418675de50052d494ba893fd28c65769a6e68fcdacbee2b8"
|
2017-10-09 14:29:03 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"bytes",
|
2023-11-27 07:10:29 +03:00
|
|
|
"fallible-iterator 0.2.0",
|
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
|
|
|
]
|
|
|
|
|
2017-09-30 13:55:44 +03:00
|
|
|
[[package]]
|
2017-10-09 14:29:03 +03:00
|
|
|
name = "postgres-protocol"
|
2024-07-22 06:12:19 +03:00
|
|
|
version = "0.6.7"
|
2017-09-30 13:55:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-22 06:12:19 +03:00
|
|
|
checksum = "acda0ebdebc28befa84bee35e651e4c5f09073d668c7aed4cf7e23c3cda84b23"
|
2017-10-09 14:29:03 +03:00
|
|
|
dependencies = [
|
2024-07-22 06:12:19 +03:00
|
|
|
"base64 0.22.1",
|
2020-10-14 10:59:32 +03:00
|
|
|
"byteorder",
|
2022-08-15 16:54:48 +03:00
|
|
|
"bytes",
|
2023-11-27 07:10:29 +03:00
|
|
|
"fallible-iterator 0.2.0",
|
2020-10-14 10:59:32 +03:00
|
|
|
"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"
|
2024-07-24 05:52:07 +03:00
|
|
|
version = "0.2.7"
|
2017-09-30 13:55:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-24 05:52:07 +03:00
|
|
|
checksum = "02048d9e032fb3cc3413bbf7b83a15d84a5d419778e2628751896d856498eee9"
|
2017-09-30 13:55:44 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"bytes",
|
2023-11-27 07:10:29 +03:00
|
|
|
"fallible-iterator 0.2.0",
|
2020-10-14 10:59:32 +03:00
|
|
|
"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
|
|
|
]
|
|
|
|
|
2023-10-16 08:12:58 +03:00
|
|
|
[[package]]
|
|
|
|
name = "powerfmt"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
|
|
|
|
|
2023-12-27 21:50:07 +03:00
|
|
|
[[package]]
|
|
|
|
name = "pprof"
|
|
|
|
version = "0.13.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ef5c97c51bd34c7e742402e216abdeb44d415fbe6ae41d56b114723e953711cb"
|
|
|
|
dependencies = [
|
|
|
|
"backtrace",
|
|
|
|
"cfg-if",
|
|
|
|
"criterion",
|
|
|
|
"findshlibs",
|
|
|
|
"inferno",
|
|
|
|
"libc",
|
|
|
|
"log",
|
2024-03-13 05:50:29 +03:00
|
|
|
"nix",
|
2023-12-27 21:50:07 +03:00
|
|
|
"once_cell",
|
|
|
|
"parking_lot",
|
|
|
|
"smallvec",
|
|
|
|
"symbolic-demangle",
|
|
|
|
"tempfile",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
2019-10-26 20:37:49 +03:00
|
|
|
[[package]]
|
|
|
|
name = "ppv-lite86"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.2.20"
|
2019-10-26 20:37:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04"
|
2024-07-30 17:53:22 +03:00
|
|
|
dependencies = [
|
|
|
|
"zerocopy",
|
|
|
|
]
|
2019-10-26 20:37:49 +03:00
|
|
|
|
2023-10-10 18:10:17 +03:00
|
|
|
[[package]]
|
|
|
|
name = "pretty_assertions"
|
|
|
|
version = "1.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66"
|
|
|
|
dependencies = [
|
|
|
|
"diff",
|
|
|
|
"yansi",
|
|
|
|
]
|
|
|
|
|
2024-04-10 02:36:40 +03:00
|
|
|
[[package]]
|
|
|
|
name = "prettyplease"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.2.22"
|
2024-04-10 02:36:40 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "479cf940fbbb3426c32c5d5176f62ad57549a0bb84773423ba8be9d089f5faba"
|
2024-04-10 02:36:40 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2024-04-10 02:36:40 +03:00
|
|
|
]
|
|
|
|
|
2024-05-30 21:34:53 +03:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-crate"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "3.2.0"
|
2024-05-30 21:34:53 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b"
|
2024-05-30 21:34:53 +03:00
|
|
|
dependencies = [
|
|
|
|
"toml_edit",
|
|
|
|
]
|
|
|
|
|
2019-08-20 12:19:04 +03:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro2"
|
2024-06-25 18:00:19 +03:00
|
|
|
version = "1.0.86"
|
2019-08-20 12:19:04 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-25 18:00:19 +03:00
|
|
|
checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
|
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
|
|
|
]
|
|
|
|
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "protobuf"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "3.5.1"
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "0bcc343da15609eaecd65f8aa76df8dc4209d325131d8219358c0aaaebab0bf6"
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
dependencies = [
|
|
|
|
"once_cell",
|
|
|
|
"protobuf-support",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "protobuf-codegen"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "3.5.1"
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "c4d0cde5642ea4df842b13eb9f59ea6fafa26dcb43e3e1ee49120e9757556189"
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"once_cell",
|
|
|
|
"protobuf",
|
|
|
|
"protobuf-parse",
|
|
|
|
"regex",
|
|
|
|
"tempfile",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "protobuf-parse"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "3.5.1"
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "1b0e9b447d099ae2c4993c0cbb03c7a9d6c937b17f2d56cfc0b1550e6fcfdb76"
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
2024-09-11 22:32:24 +03:00
|
|
|
"indexmap 2.5.0",
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
"log",
|
|
|
|
"protobuf",
|
|
|
|
"protobuf-support",
|
|
|
|
"tempfile",
|
|
|
|
"thiserror",
|
|
|
|
"which",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "protobuf-support"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "3.5.1"
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "f0766e3675a627c327e4b3964582594b0e8741305d628a98a5de75a1d15f99b9"
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
dependencies = [
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "protoc-bin-vendored"
|
|
|
|
version = "3.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "005ca8623e5633e298ad1f917d8be0a44bcf406bf3cde3b80e63003e49a3f27d"
|
|
|
|
dependencies = [
|
|
|
|
"protoc-bin-vendored-linux-aarch_64",
|
|
|
|
"protoc-bin-vendored-linux-ppcle_64",
|
|
|
|
"protoc-bin-vendored-linux-x86_32",
|
|
|
|
"protoc-bin-vendored-linux-x86_64",
|
|
|
|
"protoc-bin-vendored-macos-x86_64",
|
|
|
|
"protoc-bin-vendored-win32",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "protoc-bin-vendored-linux-aarch_64"
|
|
|
|
version = "3.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8fb9fc9cce84c8694b6ea01cc6296617b288b703719b725b8c9c65f7c5874435"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "protoc-bin-vendored-linux-ppcle_64"
|
|
|
|
version = "3.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "02d2a07dcf7173a04d49974930ccbfb7fd4d74df30ecfc8762cf2f895a094516"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "protoc-bin-vendored-linux-x86_32"
|
|
|
|
version = "3.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d54fef0b04fcacba64d1d80eed74a20356d96847da8497a59b0a0a436c9165b0"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "protoc-bin-vendored-linux-x86_64"
|
|
|
|
version = "3.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b8782f2ce7d43a9a5c74ea4936f001e9e8442205c244f7a3d4286bd4c37bc924"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "protoc-bin-vendored-macos-x86_64"
|
|
|
|
version = "3.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b5de656c7ee83f08e0ae5b81792ccfdc1d04e7876b1d9a38e6876a9e09e02537"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "protoc-bin-vendored-win32"
|
|
|
|
version = "3.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9653c3ed92974e34c5a6e0a510864dab979760481714c172e0a34e437cb98804"
|
|
|
|
|
2023-12-22 09:01:50 +03:00
|
|
|
[[package]]
|
|
|
|
name = "quanta"
|
2024-04-09 23:04:40 +03:00
|
|
|
version = "0.12.3"
|
2023-12-22 09:01:50 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-09 23:04:40 +03:00
|
|
|
checksum = "8e5167a477619228a0b284fac2674e3c388cba90631d7b7de620e6f1fcd08da5"
|
2023-12-22 09:01:50 +03:00
|
|
|
dependencies = [
|
|
|
|
"crossbeam-utils",
|
|
|
|
"libc",
|
|
|
|
"once_cell",
|
|
|
|
"raw-cpuid",
|
|
|
|
"wasi",
|
|
|
|
"web-sys",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2023-12-27 21:50:07 +03:00
|
|
|
[[package]]
|
|
|
|
name = "quick-xml"
|
|
|
|
version = "0.26.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7f50b1c63b38611e7d4d7f68b82d3ad0cc71a2ad2e7f61fc10f1328d917c93cd"
|
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2024-06-25 18:00:19 +03:00
|
|
|
[[package]]
|
|
|
|
name = "quinn"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.11.5"
|
2024-06-25 18:00:19 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "8c7c5fdde3cdae7203427dc4f0a68fe0ed09833edc525a03456b153b79828684"
|
2024-06-25 18:00:19 +03:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"pin-project-lite",
|
|
|
|
"quinn-proto",
|
|
|
|
"quinn-udp",
|
2024-09-11 22:32:24 +03:00
|
|
|
"rustc-hash 2.0.0",
|
2024-06-25 18:00:19 +03:00
|
|
|
"rustls",
|
2024-09-11 22:32:24 +03:00
|
|
|
"socket2",
|
2024-06-25 18:00:19 +03:00
|
|
|
"thiserror",
|
|
|
|
"tokio",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "quinn-proto"
|
2024-09-04 00:16:55 +03:00
|
|
|
version = "0.11.8"
|
2024-06-25 18:00:19 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-04 00:16:55 +03:00
|
|
|
checksum = "fadfaed2cd7f389d0161bb73eeb07b7b78f8691047a6f3e73caaeae55310a4a6"
|
2024-06-25 18:00:19 +03:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"rand",
|
|
|
|
"ring",
|
2024-09-04 00:16:55 +03:00
|
|
|
"rustc-hash 2.0.0",
|
2024-06-25 18:00:19 +03:00
|
|
|
"rustls",
|
|
|
|
"slab",
|
|
|
|
"thiserror",
|
|
|
|
"tinyvec",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "quinn-udp"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.5.5"
|
2024-06-25 18:00:19 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "4fe68c2e9e1a1234e218683dbdf9f9dfcb094113c5ac2b938dfcb9bab4c4140b"
|
2024-06-25 18:00:19 +03:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"once_cell",
|
|
|
|
"socket2",
|
2024-09-11 22:32:24 +03:00
|
|
|
"tracing",
|
|
|
|
"windows-sys 0.59.0",
|
2024-06-25 18:00:19 +03:00
|
|
|
]
|
|
|
|
|
2019-08-20 12:19:04 +03:00
|
|
|
[[package]]
|
|
|
|
name = "quote"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "1.0.37"
|
2019-08-20 12:19:04 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
|
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
|
|
|
]
|
|
|
|
|
2023-12-22 09:01:50 +03:00
|
|
|
[[package]]
|
|
|
|
name = "raw-cpuid"
|
2024-07-19 05:54:42 +03:00
|
|
|
version = "11.1.0"
|
2023-12-22 09:01:50 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-19 05:54:42 +03:00
|
|
|
checksum = "cb9ee317cfe3fbd54b36a511efc1edd42e216903c9cd575e686dd68a2ba90d8d"
|
2023-12-22 09:01:50 +03:00
|
|
|
dependencies = [
|
2024-06-25 18:00:19 +03:00
|
|
|
"bitflags 2.6.0",
|
2023-12-22 09:01:50 +03:00
|
|
|
]
|
|
|
|
|
2019-10-26 20:37:49 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rayon"
|
2024-04-09 23:04:40 +03:00
|
|
|
version = "1.10.0"
|
2019-10-26 20:37:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-09 23:04:40 +03:00
|
|
|
checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
|
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"
|
2024-01-21 03:52:09 +03:00
|
|
|
version = "1.12.1"
|
2019-10-26 20:37:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-01-21 03:52:09 +03:00
|
|
|
checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
|
2019-10-26 20:37:49 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"crossbeam-deque",
|
2022-08-15 16:54:48 +03:00
|
|
|
"crossbeam-utils",
|
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"
|
|
|
|
|
2024-05-17 08:05:19 +03:00
|
|
|
[[package]]
|
|
|
|
name = "redox_syscall"
|
2024-07-19 05:54:42 +03:00
|
|
|
version = "0.5.3"
|
2024-05-17 08:05:19 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-19 05:54:42 +03:00
|
|
|
checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4"
|
2024-05-17 08:05:19 +03:00
|
|
|
dependencies = [
|
2024-06-25 18:00:19 +03:00
|
|
|
"bitflags 2.6.0",
|
2024-05-17 08:05:19 +03:00
|
|
|
]
|
|
|
|
|
2018-05-05 10:08:27 +03:00
|
|
|
[[package]]
|
|
|
|
name = "regex"
|
2024-08-05 06:23:41 +03:00
|
|
|
version = "1.10.6"
|
2023-07-06 03:56:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-08-05 06:23:41 +03:00
|
|
|
checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619"
|
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",
|
2024-06-14 01:33:29 +03:00
|
|
|
"regex-syntax 0.8.4",
|
2023-07-06 03:56:23 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "regex-automata"
|
2024-06-14 01:33:29 +03:00
|
|
|
version = "0.4.7"
|
2017-10-09 14:29:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-14 01:33:29 +03:00
|
|
|
checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df"
|
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",
|
2024-06-14 01:33:29 +03:00
|
|
|
"regex-syntax 0.8.4",
|
2017-10-09 14:29:03 +03:00
|
|
|
]
|
|
|
|
|
2024-05-25 08:17:26 +03:00
|
|
|
[[package]]
|
|
|
|
name = "regex-lite"
|
2024-06-14 01:33:29 +03:00
|
|
|
version = "0.1.6"
|
2024-05-25 08:17:26 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-14 01:33:29 +03:00
|
|
|
checksum = "53a49587ad06b26609c52e423de037e7f57f20d53535d66e08c695f347df952a"
|
2024-05-25 08:17:26 +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
|
|
|
|
2023-10-10 09:41:56 +03:00
|
|
|
[[package]]
|
|
|
|
name = "regex-syntax"
|
2024-06-14 01:33:29 +03:00
|
|
|
version = "0.8.4"
|
2023-10-10 09:41:56 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-14 01:33:29 +03:00
|
|
|
checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b"
|
2023-10-10 09:41:56 +03:00
|
|
|
|
2023-10-10 18:10:17 +03:00
|
|
|
[[package]]
|
|
|
|
name = "relative-path"
|
2024-05-17 08:05:19 +03:00
|
|
|
version = "1.9.3"
|
2023-10-10 18:10:17 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 08:05:19 +03:00
|
|
|
checksum = "ba39f3699c378cd8970968dcbff9c43159ea4cfbd88d43c00b22f2ef10a435d2"
|
2023-10-10 18:10:17 +03:00
|
|
|
|
2023-12-22 09:01:50 +03:00
|
|
|
[[package]]
|
|
|
|
name = "reqwest"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.12.7"
|
2023-12-22 09:01:50 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "f8f4955649ef5c38cc7f9e8aa41761d48fb9677197daea9984dc54f56aad5e63"
|
2023-12-22 09:01:50 +03:00
|
|
|
dependencies = [
|
2024-05-17 08:05:19 +03:00
|
|
|
"base64 0.22.1",
|
2023-12-22 09:01:50 +03:00
|
|
|
"bytes",
|
|
|
|
"futures-core",
|
|
|
|
"futures-util",
|
2024-04-11 06:55:27 +03:00
|
|
|
"http 1.1.0",
|
2024-07-12 23:17:45 +03:00
|
|
|
"http-body 1.0.1",
|
2024-04-11 06:55:27 +03:00
|
|
|
"http-body-util",
|
2024-07-12 23:17:45 +03:00
|
|
|
"hyper 1.4.1",
|
2023-12-22 09:01:50 +03:00
|
|
|
"hyper-rustls",
|
2024-04-11 06:55:27 +03:00
|
|
|
"hyper-util",
|
2023-12-22 09:01:50 +03:00
|
|
|
"ipnet",
|
|
|
|
"js-sys",
|
|
|
|
"log",
|
|
|
|
"mime",
|
|
|
|
"once_cell",
|
|
|
|
"percent-encoding",
|
|
|
|
"pin-project-lite",
|
2024-06-25 18:00:19 +03:00
|
|
|
"quinn",
|
|
|
|
"rustls",
|
2024-09-11 22:32:24 +03:00
|
|
|
"rustls-native-certs 0.7.3",
|
2024-04-11 06:55:27 +03:00
|
|
|
"rustls-pemfile",
|
|
|
|
"rustls-pki-types",
|
2023-12-22 09:01:50 +03:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"serde_urlencoded",
|
2024-02-01 05:44:04 +03:00
|
|
|
"sync_wrapper",
|
2023-12-22 09:01:50 +03:00
|
|
|
"tokio",
|
2024-06-25 18:00:19 +03:00
|
|
|
"tokio-rustls",
|
2023-12-22 09:01:50 +03:00
|
|
|
"tower-service",
|
|
|
|
"url",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"wasm-bindgen-futures",
|
|
|
|
"web-sys",
|
2024-09-11 22:32:24 +03:00
|
|
|
"windows-registry",
|
2023-12-22 09:01:50 +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"
|
2023-11-30 03:09:05 +03:00
|
|
|
version = "0.36.0"
|
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-11-30 03:09:05 +03:00
|
|
|
checksum = "cc7980f653f9a7db31acff916a262c3b78c562919263edea29bf41a056e20497"
|
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 = [
|
|
|
|
"gif",
|
|
|
|
"jpeg-decoder",
|
|
|
|
"log",
|
|
|
|
"pico-args",
|
|
|
|
"png",
|
|
|
|
"rgb",
|
|
|
|
"svgtypes",
|
|
|
|
"tiny-skia",
|
|
|
|
"usvg",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rgb"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.8.50"
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "57397d16646700483b67d2dd6511d79318f9d057fdbd21a4066aeac8b41d310a"
|
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",
|
|
|
|
]
|
|
|
|
|
2023-10-25 05:52:12 +03:00
|
|
|
[[package]]
|
|
|
|
name = "ring"
|
2024-02-20 06:08:33 +03:00
|
|
|
version = "0.17.8"
|
2023-10-25 05:52:12 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-02-20 06:08:33 +03:00
|
|
|
checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d"
|
2023-10-25 05:52:12 +03:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
2024-02-20 06:08:33 +03:00
|
|
|
"cfg-if",
|
2023-10-25 05:52:12 +03:00
|
|
|
"getrandom",
|
|
|
|
"libc",
|
2024-06-25 18:00:19 +03:00
|
|
|
"spin",
|
2024-01-19 05:48:49 +03:00
|
|
|
"untrusted",
|
2024-02-20 06:08:33 +03:00
|
|
|
"windows-sys 0.52.0",
|
2023-10-25 05:52:12 +03:00
|
|
|
]
|
|
|
|
|
2024-05-17 08:05:19 +03:00
|
|
|
[[package]]
|
|
|
|
name = "roff"
|
2024-07-30 17:53:22 +03:00
|
|
|
version = "0.2.2"
|
2024-05-17 08:05:19 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-30 17:53:22 +03:00
|
|
|
checksum = "88f8660c1ff60292143c98d08fc6e2f654d722db50410e3f3797d40baaf9d8f3"
|
2024-05-17 08:05:19 +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 = "roxmltree"
|
2023-10-01 05:49:56 +03:00
|
|
|
version = "0.18.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-10-01 05:49:56 +03:00
|
|
|
checksum = "862340e351ce1b271a378ec53f304a5558f7db87f3769dc655a8f6ecbb68b302"
|
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 = [
|
|
|
|
"xmlparser",
|
|
|
|
]
|
|
|
|
|
2024-01-26 22:02:17 +03:00
|
|
|
[[package]]
|
|
|
|
name = "roxmltree"
|
2024-07-30 17:53:22 +03:00
|
|
|
version = "0.20.0"
|
2024-01-26 22:02:17 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-30 17:53:22 +03:00
|
|
|
checksum = "6c20b6793b5c2fa6553b250154b78d6d0db37e72700ae35fad9387a46f487c97"
|
2024-01-26 22:02:17 +03:00
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rsa"
|
2023-12-06 07:48:59 +03:00
|
|
|
version = "0.9.6"
|
2023-07-04 15:05:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-12-06 07:48:59 +03:00
|
|
|
checksum = "5d0e5124fcb30e76a7e79bfee683a2746db83784b86289f6251b54b7950a0dfc"
|
2023-07-04 15:05:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"const-oid",
|
|
|
|
"digest",
|
|
|
|
"num-bigint-dig",
|
|
|
|
"num-integer",
|
|
|
|
"num-traits",
|
|
|
|
"pkcs1",
|
|
|
|
"pkcs8",
|
|
|
|
"rand_core",
|
|
|
|
"signature",
|
|
|
|
"spki",
|
|
|
|
"subtle",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
2023-10-10 18:10:17 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rstest"
|
2024-09-12 01:46:48 +03:00
|
|
|
version = "0.22.0"
|
2023-10-10 18:10:17 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-12 01:46:48 +03:00
|
|
|
checksum = "7b423f0e62bdd61734b67cd21ff50871dfaeb9cc74f869dcd6af974fbcb19936"
|
2023-10-10 18:10:17 +03:00
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
"futures-timer",
|
|
|
|
"rstest_macros",
|
|
|
|
"rustc_version",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rstest_macros"
|
2024-09-12 01:46:48 +03:00
|
|
|
version = "0.22.0"
|
2023-10-10 18:10:17 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-12 01:46:48 +03:00
|
|
|
checksum = "c5e1711e7d14f74b12a58411c542185ef7fb7f2e7f8ee6e2940a883628522b42"
|
2023-10-10 18:10:17 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"glob",
|
2024-05-30 21:34:53 +03:00
|
|
|
"proc-macro-crate",
|
2023-10-10 18:10:17 +03:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"regex",
|
|
|
|
"relative-path",
|
|
|
|
"rustc_version",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2023-10-10 18:10:17 +03:00
|
|
|
"unicode-ident",
|
|
|
|
]
|
|
|
|
|
2023-08-16 20:22:01 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rusqlite"
|
2023-11-27 07:10:29 +03:00
|
|
|
version = "0.30.0"
|
2023-08-16 20:22:01 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-11-27 07:10:29 +03:00
|
|
|
checksum = "a78046161564f5e7cd9008aff3b2990b3850dc8e0349119b98e8f251e099f24d"
|
2023-08-16 20:22:01 +03:00
|
|
|
dependencies = [
|
2024-06-25 18:00:19 +03:00
|
|
|
"bitflags 2.6.0",
|
2023-11-27 07:10:29 +03:00
|
|
|
"fallible-iterator 0.3.0",
|
2023-08-16 20:22:01 +03:00
|
|
|
"fallible-streaming-iterator",
|
|
|
|
"hashlink",
|
|
|
|
"libsqlite3-sys",
|
|
|
|
"smallvec",
|
|
|
|
]
|
|
|
|
|
2023-06-28 09:14:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-demangle"
|
2024-05-17 08:05:19 +03:00
|
|
|
version = "0.1.24"
|
2023-06-28 09:14:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 08:05:19 +03:00
|
|
|
checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
|
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 = "rustc-hash"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
|
|
|
|
|
2024-09-04 00:16:55 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-hash"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152"
|
|
|
|
|
2021-07-16 16:08:46 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_version"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.4.1"
|
2021-07-16 16:08:46 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
|
2021-07-16 16:08:46 +03:00
|
|
|
dependencies = [
|
2022-09-13 09:18:01 +03:00
|
|
|
"semver",
|
2021-07-16 16:08:46 +03:00
|
|
|
]
|
|
|
|
|
2023-07-03 13:43:29 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rustix"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.38.37"
|
2023-07-03 13:43:29 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811"
|
2023-07-03 13:43:29 +03:00
|
|
|
dependencies = [
|
2024-06-25 18:00:19 +03:00
|
|
|
"bitflags 2.6.0",
|
2023-09-19 04:28:04 +03:00
|
|
|
"errno",
|
2023-07-03 13:43:29 +03:00
|
|
|
"libc",
|
2023-09-19 04:28:04 +03:00
|
|
|
"linux-raw-sys",
|
2023-12-06 07:48:59 +03:00
|
|
|
"windows-sys 0.52.0",
|
2023-07-03 13:43:29 +03:00
|
|
|
]
|
|
|
|
|
2024-01-17 04:42:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rustls"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.23.13"
|
2024-01-17 04:42:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "f2dabaac7466917e566adb06783a81ca48944c6898a1b08b9374106dd671f4c8"
|
2024-01-17 04:42:11 +03:00
|
|
|
dependencies = [
|
2024-04-10 02:36:40 +03:00
|
|
|
"aws-lc-rs",
|
2024-01-17 04:42:11 +03:00
|
|
|
"log",
|
2024-04-10 02:36:40 +03:00
|
|
|
"once_cell",
|
2024-06-25 18:00:19 +03:00
|
|
|
"ring",
|
2024-01-17 04:42:11 +03:00
|
|
|
"rustls-pki-types",
|
2024-04-11 06:55:27 +03:00
|
|
|
"rustls-webpki",
|
2024-01-17 04:42:11 +03:00
|
|
|
"subtle",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustls-native-certs"
|
2024-08-29 05:53:58 +03:00
|
|
|
version = "0.7.3"
|
2024-01-17 04:42:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-08-29 05:53:58 +03:00
|
|
|
checksum = "e5bfb394eeed242e909609f56089eecfe5fda225042e8b171791b9c95f5931e5"
|
2024-01-17 04:42:11 +03:00
|
|
|
dependencies = [
|
|
|
|
"openssl-probe",
|
2024-04-11 06:55:27 +03:00
|
|
|
"rustls-pemfile",
|
2024-01-17 04:42:11 +03:00
|
|
|
"rustls-pki-types",
|
2023-09-30 12:58:49 +03:00
|
|
|
"schannel",
|
|
|
|
"security-framework",
|
|
|
|
]
|
|
|
|
|
2024-09-11 22:32:24 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rustls-native-certs"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fcaf18a4f2be7326cd874a5fa579fae794320a0f388d365dca7e480e55f83f8a"
|
|
|
|
dependencies = [
|
|
|
|
"openssl-probe",
|
|
|
|
"rustls-pemfile",
|
|
|
|
"rustls-pki-types",
|
|
|
|
"schannel",
|
|
|
|
"security-framework",
|
|
|
|
]
|
|
|
|
|
2024-01-17 04:42:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rustls-pemfile"
|
2024-08-05 06:20:48 +03:00
|
|
|
version = "2.1.3"
|
2024-01-17 04:42:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-08-05 06:20:48 +03:00
|
|
|
checksum = "196fe16b00e106300d3e45ecfcb764fa292a535d7326a29a5875c579c7417425"
|
2024-01-17 04:42:11 +03:00
|
|
|
dependencies = [
|
2024-05-17 08:05:19 +03:00
|
|
|
"base64 0.22.1",
|
2024-01-17 04:42:11 +03:00
|
|
|
"rustls-pki-types",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustls-pki-types"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "1.8.0"
|
2024-01-17 04:42:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "fc0a2ce646f8655401bb81e7927b812614bd5d91dbc968696be50603510fcaf0"
|
2024-01-17 04:42:11 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustls-webpki"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.102.8"
|
2024-01-17 04:42:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9"
|
2024-01-17 04:42:11 +03:00
|
|
|
dependencies = [
|
2024-04-10 02:36:40 +03:00
|
|
|
"aws-lc-rs",
|
2024-01-19 05:48:49 +03:00
|
|
|
"ring",
|
2024-01-17 04:42:11 +03:00
|
|
|
"rustls-pki-types",
|
2024-01-19 05:48:49 +03:00
|
|
|
"untrusted",
|
2024-01-17 04:42: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 = "rustybuzz"
|
2023-11-30 03:09:05 +03:00
|
|
|
version = "0.10.0"
|
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-11-30 03:09:05 +03:00
|
|
|
checksum = "71cd15fef9112a1f94ac64b58d1e4628192631ad6af4dc69997f995459c874e7"
|
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
|
|
|
"bytemuck",
|
|
|
|
"smallvec",
|
2023-11-30 03:09:05 +03:00
|
|
|
"ttf-parser",
|
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
|
|
|
"unicode-bidi-mirroring",
|
|
|
|
"unicode-ccc",
|
2023-11-30 03:09:05 +03:00
|
|
|
"unicode-properties",
|
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
|
|
|
"unicode-script",
|
|
|
|
]
|
|
|
|
|
2018-08-16 14:07:19 +03:00
|
|
|
[[package]]
|
|
|
|
name = "ryu"
|
2024-05-17 08:05:19 +03:00
|
|
|
version = "1.0.18"
|
2018-08-16 14:07:19 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 08:05:19 +03:00
|
|
|
checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
|
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
|
|
|
|
2023-09-30 12:58:49 +03:00
|
|
|
[[package]]
|
|
|
|
name = "schannel"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.1.24"
|
2023-09-30 12:58:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "e9aaafd5a2b6e3d657ff009d82fbd630b6bd54dd4eb06f21693925cdf80f9b8b"
|
2023-09-30 12:58:49 +03:00
|
|
|
dependencies = [
|
2024-09-11 22:32:24 +03:00
|
|
|
"windows-sys 0.59.0",
|
2023-09-30 12:58:49 +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
|
|
|
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "sdf_glyph_renderer"
|
2024-02-14 02:18:05 +03:00
|
|
|
version = "1.0.1"
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-02-14 02:18:05 +03:00
|
|
|
checksum = "5ef220f6a4fff0c984e9fb3ab12cb5c86960b5bb6ec3b30dd7173e3bf603d94f"
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
dependencies = [
|
|
|
|
"freetype-rs",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
2023-09-30 12:58:49 +03:00
|
|
|
[[package]]
|
|
|
|
name = "security-framework"
|
2024-07-19 05:54:42 +03:00
|
|
|
version = "2.11.1"
|
2023-09-30 12:58:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-19 05:54:42 +03:00
|
|
|
checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
|
2023-09-30 12:58:49 +03:00
|
|
|
dependencies = [
|
2024-06-25 18:00:19 +03:00
|
|
|
"bitflags 2.6.0",
|
2023-09-30 12:58:49 +03:00
|
|
|
"core-foundation",
|
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
"security-framework-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "security-framework-sys"
|
2024-07-19 05:54:42 +03:00
|
|
|
version = "2.11.1"
|
2023-09-30 12:58:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-19 05:54:42 +03:00
|
|
|
checksum = "75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf"
|
2023-09-30 12:58:49 +03:00
|
|
|
dependencies = [
|
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2020-06-01 16:59:19 +03:00
|
|
|
[[package]]
|
|
|
|
name = "semver"
|
2024-05-07 05:59:15 +03:00
|
|
|
version = "1.0.23"
|
2020-06-01 16:59:19 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-07 05:59:15 +03:00
|
|
|
checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b"
|
2020-06-01 16:59:19 +03:00
|
|
|
|
2017-12-17 13:51:07 +03:00
|
|
|
[[package]]
|
|
|
|
name = "serde"
|
2024-09-09 06:02:38 +03:00
|
|
|
version = "1.0.210"
|
2017-12-17 13:51:07 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-09 06:02:38 +03:00
|
|
|
checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a"
|
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"
|
2024-09-09 06:02:38 +03:00
|
|
|
version = "1.0.210"
|
2017-12-17 13:51:07 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-09 06:02:38 +03:00
|
|
|
checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f"
|
2017-12-17 13:51:07 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2017-12-17 13:51:07 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2018-05-25 17:16:59 +03:00
|
|
|
name = "serde_json"
|
2024-09-05 06:06:44 +03:00
|
|
|
version = "1.0.128"
|
2017-12-17 13:51:07 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-05 06:06:44 +03:00
|
|
|
checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8"
|
2017-12-17 13:51:07 +03:00
|
|
|
dependencies = [
|
2022-09-13 01:42:06 +03:00
|
|
|
"itoa",
|
2024-07-29 05:31:39 +03:00
|
|
|
"memchr",
|
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",
|
|
|
|
]
|
|
|
|
|
2023-11-13 06:22:04 +03:00
|
|
|
[[package]]
|
|
|
|
name = "serde_with"
|
chore(deps): Bump serde_with from 3.8.3 to 3.9.0 (#1421)
Bumps [serde_with](https://github.com/jonasbb/serde_with) from 3.8.3 to
3.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jonasbb/serde_with/releases">serde_with's
releases</a>.</em></p>
<blockquote>
<h2>serde_with v3.9.0</h2>
<h3>Added</h3>
<ul>
<li>
<p>Deserialize a map` and skip all elements failing to deserialize by <a
href="https://github.com/johnmave126"><code>@johnmave126</code></a> (<a
href="https://redirect.github.com/jonasbb/serde_with/issues/763">#763</a>)</p>
<p><code>MapSkipError</code> acts like a map
(<code>HashMap</code>/<code>BTreeMap</code>), but keys or values that
fail to deserialize, like are ignored.</p>
<p>For formats with heterogeneously typed maps, we can collect only the
elements where both key and value are deserializable.
This is also useful in conjunction to <code>#[serde(flatten)]</code> to
ignore some entries when capturing additional fields.</p>
<pre lang="text"><code>// JSON
"value": {"0": "v0", "5":
"v5", "str": "str", "10": 2},
<p>// Rust
#[serde_as(as = "MapSkipError<DisplayFromStr, _>")]
value: BTreeMap<u32, String>,</p>
<p>// Only deserializes entries with a numerical key and a string value,
i.e.,
{0 => "v0", 5 => "v5"}
</code></pre></p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/jonasbb/serde_with/commit/c3e489f4e571fadad9e656c28332b3708bd8cf0e"><code>c3e489f</code></a>
Bump version to 3.9.0 (<a
href="https://redirect.github.com/jonasbb/serde_with/issues/770">#770</a>)</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/57ad8778c46c0dd689002930430e3f994af1ebb1"><code>57ad877</code></a>
Bump version to 3.9.0</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/d038657903639832437abcceca546395a0283034"><code>d038657</code></a>
Implement <code>MapSkipError</code>, analogous to
<code>VecSkipError</code>, but for map-like data ...</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/aaa0a2958917da51867ec90398d95826f8ebd717"><code>aaa0a29</code></a>
Update serde_with/src/guide/serde_as_transformations.md</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/17dec1112b55bce9f7742ecf9d3414dcc089d26d"><code>17dec11</code></a>
Add tests to make sure syntax errors are not suppressed.</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/97543d0c2d7588d9c2855c329bcc8c2b1107a404"><code>97543d0</code></a>
Implement MapSkipError, skipping un-deserializable entries.</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/bf6724d2c09f35fb0ff917856829acf5362fed78"><code>bf6724d</code></a>
Move VecSkipError to a separate file, preparing for MapSkipError</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/31e9172cabefd31b3cca12d24139e416e75ab6d8"><code>31e9172</code></a>
Fix dead code warning by correcting a typo (<a
href="https://redirect.github.com/jonasbb/serde_with/issues/769">#769</a>)</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/f5b2626307f7fb49275232a7f1925bfb5a200a37"><code>f5b2626</code></a>
Fix dead code warnings in tests</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/4ad4a1b4e9088219b7877d64aa225e6d352298e2"><code>4ad4a1b</code></a>
Fix dead code warning by correcting a typo</li>
<li>See full diff in <a
href="https://github.com/jonasbb/serde_with/compare/v3.8.3...v3.9.0">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde_with&package-manager=cargo&previous-version=3.8.3&new-version=3.9.0)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>
2024-07-15 18:22:53 +03:00
|
|
|
version = "3.9.0"
|
2023-11-13 06:22:04 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
chore(deps): Bump serde_with from 3.8.3 to 3.9.0 (#1421)
Bumps [serde_with](https://github.com/jonasbb/serde_with) from 3.8.3 to
3.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jonasbb/serde_with/releases">serde_with's
releases</a>.</em></p>
<blockquote>
<h2>serde_with v3.9.0</h2>
<h3>Added</h3>
<ul>
<li>
<p>Deserialize a map` and skip all elements failing to deserialize by <a
href="https://github.com/johnmave126"><code>@johnmave126</code></a> (<a
href="https://redirect.github.com/jonasbb/serde_with/issues/763">#763</a>)</p>
<p><code>MapSkipError</code> acts like a map
(<code>HashMap</code>/<code>BTreeMap</code>), but keys or values that
fail to deserialize, like are ignored.</p>
<p>For formats with heterogeneously typed maps, we can collect only the
elements where both key and value are deserializable.
This is also useful in conjunction to <code>#[serde(flatten)]</code> to
ignore some entries when capturing additional fields.</p>
<pre lang="text"><code>// JSON
"value": {"0": "v0", "5":
"v5", "str": "str", "10": 2},
<p>// Rust
#[serde_as(as = "MapSkipError<DisplayFromStr, _>")]
value: BTreeMap<u32, String>,</p>
<p>// Only deserializes entries with a numerical key and a string value,
i.e.,
{0 => "v0", 5 => "v5"}
</code></pre></p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/jonasbb/serde_with/commit/c3e489f4e571fadad9e656c28332b3708bd8cf0e"><code>c3e489f</code></a>
Bump version to 3.9.0 (<a
href="https://redirect.github.com/jonasbb/serde_with/issues/770">#770</a>)</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/57ad8778c46c0dd689002930430e3f994af1ebb1"><code>57ad877</code></a>
Bump version to 3.9.0</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/d038657903639832437abcceca546395a0283034"><code>d038657</code></a>
Implement <code>MapSkipError</code>, analogous to
<code>VecSkipError</code>, but for map-like data ...</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/aaa0a2958917da51867ec90398d95826f8ebd717"><code>aaa0a29</code></a>
Update serde_with/src/guide/serde_as_transformations.md</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/17dec1112b55bce9f7742ecf9d3414dcc089d26d"><code>17dec11</code></a>
Add tests to make sure syntax errors are not suppressed.</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/97543d0c2d7588d9c2855c329bcc8c2b1107a404"><code>97543d0</code></a>
Implement MapSkipError, skipping un-deserializable entries.</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/bf6724d2c09f35fb0ff917856829acf5362fed78"><code>bf6724d</code></a>
Move VecSkipError to a separate file, preparing for MapSkipError</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/31e9172cabefd31b3cca12d24139e416e75ab6d8"><code>31e9172</code></a>
Fix dead code warning by correcting a typo (<a
href="https://redirect.github.com/jonasbb/serde_with/issues/769">#769</a>)</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/f5b2626307f7fb49275232a7f1925bfb5a200a37"><code>f5b2626</code></a>
Fix dead code warnings in tests</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/4ad4a1b4e9088219b7877d64aa225e6d352298e2"><code>4ad4a1b</code></a>
Fix dead code warning by correcting a typo</li>
<li>See full diff in <a
href="https://github.com/jonasbb/serde_with/compare/v3.8.3...v3.9.0">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde_with&package-manager=cargo&previous-version=3.8.3&new-version=3.9.0)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>
2024-07-15 18:22:53 +03:00
|
|
|
checksum = "69cecfa94848272156ea67b2b1a53f20fc7bc638c4a46d2f8abde08f05f4b857"
|
2023-11-13 06:22:04 +03:00
|
|
|
dependencies = [
|
2024-05-17 08:05:19 +03:00
|
|
|
"base64 0.22.1",
|
2023-11-13 06:22:04 +03:00
|
|
|
"chrono",
|
|
|
|
"hex",
|
|
|
|
"indexmap 1.9.3",
|
2024-09-11 22:32:24 +03:00
|
|
|
"indexmap 2.5.0",
|
2023-11-13 06:22:04 +03:00
|
|
|
"serde",
|
2024-02-09 06:34:44 +03:00
|
|
|
"serde_derive",
|
2023-11-13 06:22:04 +03:00
|
|
|
"serde_json",
|
2023-12-19 02:30:58 +03:00
|
|
|
"serde_with_macros",
|
2023-11-13 06:22:04 +03:00
|
|
|
"time",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_with_macros"
|
chore(deps): Bump serde_with from 3.8.3 to 3.9.0 (#1421)
Bumps [serde_with](https://github.com/jonasbb/serde_with) from 3.8.3 to
3.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jonasbb/serde_with/releases">serde_with's
releases</a>.</em></p>
<blockquote>
<h2>serde_with v3.9.0</h2>
<h3>Added</h3>
<ul>
<li>
<p>Deserialize a map` and skip all elements failing to deserialize by <a
href="https://github.com/johnmave126"><code>@johnmave126</code></a> (<a
href="https://redirect.github.com/jonasbb/serde_with/issues/763">#763</a>)</p>
<p><code>MapSkipError</code> acts like a map
(<code>HashMap</code>/<code>BTreeMap</code>), but keys or values that
fail to deserialize, like are ignored.</p>
<p>For formats with heterogeneously typed maps, we can collect only the
elements where both key and value are deserializable.
This is also useful in conjunction to <code>#[serde(flatten)]</code> to
ignore some entries when capturing additional fields.</p>
<pre lang="text"><code>// JSON
"value": {"0": "v0", "5":
"v5", "str": "str", "10": 2},
<p>// Rust
#[serde_as(as = "MapSkipError<DisplayFromStr, _>")]
value: BTreeMap<u32, String>,</p>
<p>// Only deserializes entries with a numerical key and a string value,
i.e.,
{0 => "v0", 5 => "v5"}
</code></pre></p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/jonasbb/serde_with/commit/c3e489f4e571fadad9e656c28332b3708bd8cf0e"><code>c3e489f</code></a>
Bump version to 3.9.0 (<a
href="https://redirect.github.com/jonasbb/serde_with/issues/770">#770</a>)</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/57ad8778c46c0dd689002930430e3f994af1ebb1"><code>57ad877</code></a>
Bump version to 3.9.0</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/d038657903639832437abcceca546395a0283034"><code>d038657</code></a>
Implement <code>MapSkipError</code>, analogous to
<code>VecSkipError</code>, but for map-like data ...</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/aaa0a2958917da51867ec90398d95826f8ebd717"><code>aaa0a29</code></a>
Update serde_with/src/guide/serde_as_transformations.md</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/17dec1112b55bce9f7742ecf9d3414dcc089d26d"><code>17dec11</code></a>
Add tests to make sure syntax errors are not suppressed.</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/97543d0c2d7588d9c2855c329bcc8c2b1107a404"><code>97543d0</code></a>
Implement MapSkipError, skipping un-deserializable entries.</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/bf6724d2c09f35fb0ff917856829acf5362fed78"><code>bf6724d</code></a>
Move VecSkipError to a separate file, preparing for MapSkipError</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/31e9172cabefd31b3cca12d24139e416e75ab6d8"><code>31e9172</code></a>
Fix dead code warning by correcting a typo (<a
href="https://redirect.github.com/jonasbb/serde_with/issues/769">#769</a>)</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/f5b2626307f7fb49275232a7f1925bfb5a200a37"><code>f5b2626</code></a>
Fix dead code warnings in tests</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/4ad4a1b4e9088219b7877d64aa225e6d352298e2"><code>4ad4a1b</code></a>
Fix dead code warning by correcting a typo</li>
<li>See full diff in <a
href="https://github.com/jonasbb/serde_with/compare/v3.8.3...v3.9.0">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde_with&package-manager=cargo&previous-version=3.8.3&new-version=3.9.0)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>
2024-07-15 18:22:53 +03:00
|
|
|
version = "3.9.0"
|
2023-11-13 06:22:04 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
chore(deps): Bump serde_with from 3.8.3 to 3.9.0 (#1421)
Bumps [serde_with](https://github.com/jonasbb/serde_with) from 3.8.3 to
3.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jonasbb/serde_with/releases">serde_with's
releases</a>.</em></p>
<blockquote>
<h2>serde_with v3.9.0</h2>
<h3>Added</h3>
<ul>
<li>
<p>Deserialize a map` and skip all elements failing to deserialize by <a
href="https://github.com/johnmave126"><code>@johnmave126</code></a> (<a
href="https://redirect.github.com/jonasbb/serde_with/issues/763">#763</a>)</p>
<p><code>MapSkipError</code> acts like a map
(<code>HashMap</code>/<code>BTreeMap</code>), but keys or values that
fail to deserialize, like are ignored.</p>
<p>For formats with heterogeneously typed maps, we can collect only the
elements where both key and value are deserializable.
This is also useful in conjunction to <code>#[serde(flatten)]</code> to
ignore some entries when capturing additional fields.</p>
<pre lang="text"><code>// JSON
"value": {"0": "v0", "5":
"v5", "str": "str", "10": 2},
<p>// Rust
#[serde_as(as = "MapSkipError<DisplayFromStr, _>")]
value: BTreeMap<u32, String>,</p>
<p>// Only deserializes entries with a numerical key and a string value,
i.e.,
{0 => "v0", 5 => "v5"}
</code></pre></p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/jonasbb/serde_with/commit/c3e489f4e571fadad9e656c28332b3708bd8cf0e"><code>c3e489f</code></a>
Bump version to 3.9.0 (<a
href="https://redirect.github.com/jonasbb/serde_with/issues/770">#770</a>)</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/57ad8778c46c0dd689002930430e3f994af1ebb1"><code>57ad877</code></a>
Bump version to 3.9.0</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/d038657903639832437abcceca546395a0283034"><code>d038657</code></a>
Implement <code>MapSkipError</code>, analogous to
<code>VecSkipError</code>, but for map-like data ...</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/aaa0a2958917da51867ec90398d95826f8ebd717"><code>aaa0a29</code></a>
Update serde_with/src/guide/serde_as_transformations.md</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/17dec1112b55bce9f7742ecf9d3414dcc089d26d"><code>17dec11</code></a>
Add tests to make sure syntax errors are not suppressed.</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/97543d0c2d7588d9c2855c329bcc8c2b1107a404"><code>97543d0</code></a>
Implement MapSkipError, skipping un-deserializable entries.</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/bf6724d2c09f35fb0ff917856829acf5362fed78"><code>bf6724d</code></a>
Move VecSkipError to a separate file, preparing for MapSkipError</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/31e9172cabefd31b3cca12d24139e416e75ab6d8"><code>31e9172</code></a>
Fix dead code warning by correcting a typo (<a
href="https://redirect.github.com/jonasbb/serde_with/issues/769">#769</a>)</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/f5b2626307f7fb49275232a7f1925bfb5a200a37"><code>f5b2626</code></a>
Fix dead code warnings in tests</li>
<li><a
href="https://github.com/jonasbb/serde_with/commit/4ad4a1b4e9088219b7877d64aa225e6d352298e2"><code>4ad4a1b</code></a>
Fix dead code warning by correcting a typo</li>
<li>See full diff in <a
href="https://github.com/jonasbb/serde_with/compare/v3.8.3...v3.9.0">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde_with&package-manager=cargo&previous-version=3.8.3&new-version=3.9.0)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>
2024-07-15 18:22:53 +03:00
|
|
|
checksum = "a8fee4991ef4f274617a51ad4af30519438dacb2f56ac773b08a1922ff743350"
|
2023-11-13 06:22:04 +03:00
|
|
|
dependencies = [
|
|
|
|
"darling",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2023-11-13 06:22:04 +03:00
|
|
|
]
|
|
|
|
|
2018-07-25 15:02:31 +03:00
|
|
|
[[package]]
|
|
|
|
name = "serde_yaml"
|
2024-03-25 05:24:31 +03:00
|
|
|
version = "0.9.34+deprecated"
|
2018-07-25 15:02:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-25 05:24:31 +03:00
|
|
|
checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47"
|
2018-07-25 15:02:31 +03:00
|
|
|
dependencies = [
|
2024-09-11 22:32:24 +03:00
|
|
|
"indexmap 2.5.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"
|
2023-09-21 17:38:39 +03:00
|
|
|
version = "0.10.6"
|
2022-02-12 17:25:52 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-09-21 17:38:39 +03:00
|
|
|
checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
|
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"
|
2023-09-26 21:24:56 +03:00
|
|
|
version = "0.10.8"
|
2017-10-09 14:29:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-09-26 21:24:56 +03:00
|
|
|
checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8"
|
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
|
|
|
]
|
|
|
|
|
2024-04-10 02:36:40 +03:00
|
|
|
[[package]]
|
|
|
|
name = "shlex"
|
|
|
|
version = "1.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
|
|
|
2019-05-01 09:42:59 +03:00
|
|
|
[[package]]
|
|
|
|
name = "signal-hook-registry"
|
2024-05-17 08:05:19 +03:00
|
|
|
version = "1.4.2"
|
2018-10-25 16:42:37 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 08:05:19 +03:00
|
|
|
checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1"
|
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"
|
2023-11-13 06:22:04 +03:00
|
|
|
version = "2.2.0"
|
2023-07-04 15:05:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-11-13 06:22:04 +03:00
|
|
|
checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de"
|
2023-07-04 15:05:23 +03:00
|
|
|
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
|
|
|
|
2023-10-10 18:10:17 +03:00
|
|
|
[[package]]
|
|
|
|
name = "similar"
|
2024-07-24 05:52:07 +03:00
|
|
|
version = "2.6.0"
|
2023-10-10 18:10:17 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-24 05:52:07 +03:00
|
|
|
checksum = "1de1d4f81173b03af4c0cbed3c898f6bff5b870e4a7f5d6f4057d62a7a4b686e"
|
2023-10-10 18:10:17 +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 = "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
|
|
|
|
2023-11-13 10:50:10 +03:00
|
|
|
[[package]]
|
|
|
|
name = "size_format"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6ed5f6ab2122c6dec69dca18c72fa4590a27e581ad20d44960fe74c032a0b23b"
|
|
|
|
dependencies = [
|
|
|
|
"generic-array 0.12.4",
|
|
|
|
"num",
|
|
|
|
]
|
|
|
|
|
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"
|
2023-12-01 01:49:00 +03:00
|
|
|
version = "1.0.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-12-01 01:49:00 +03:00
|
|
|
checksum = "dbff4acf519f630b3a3ddcfaea6c06b42174d9a44bc70c620e9ed1649d58b82a"
|
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 = [
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
2018-02-21 13:37:31 +03:00
|
|
|
[[package]]
|
|
|
|
name = "smallvec"
|
2024-03-22 01:22:12 +03:00
|
|
|
version = "1.13.2"
|
2018-02-12 13:14:21 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-22 01:22:12 +03:00
|
|
|
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
|
2018-02-12 13:14:21 +03:00
|
|
|
|
2023-04-04 16:25:50 +03:00
|
|
|
[[package]]
|
|
|
|
name = "socket2"
|
2024-05-17 08:05:19 +03:00
|
|
|
version = "0.5.7"
|
2023-04-04 16:25:50 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 08:05:19 +03:00
|
|
|
checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c"
|
2023-04-04 16:25:50 +03:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2024-02-25 13:46:59 +03:00
|
|
|
"windows-sys 0.52.0",
|
2023-04-04 16:25:50 +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 = "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"
|
2023-11-30 03:09:05 +03:00
|
|
|
version = "0.7.3"
|
2023-07-04 15:05:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-11-30 03:09:05 +03:00
|
|
|
checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d"
|
2023-07-04 15:05:23 +03:00
|
|
|
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"
|
2023-12-07 10:20:32 +03:00
|
|
|
version = "0.11.0"
|
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-12-07 10:20:32 +03:00
|
|
|
checksum = "a44b83cf2f48165c6446617df7bc1b9ce5e7750b668a4652a2b4410e22e12553"
|
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 = [
|
|
|
|
"crunch",
|
|
|
|
"multimap",
|
|
|
|
"oxipng",
|
|
|
|
"png",
|
|
|
|
"resvg",
|
2023-12-07 10:20:32 +03:00
|
|
|
"sdf_glyph_renderer",
|
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
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2023-11-30 03:09:05 +03:00
|
|
|
"thiserror",
|
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
|
|
|
]
|
|
|
|
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.2.6"
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "7bba3a93db0cc4f7bdece8bb09e77e2e785c20bfebf79eb8340ed80708048790"
|
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 = [
|
|
|
|
"nom",
|
|
|
|
"unicode_categories",
|
|
|
|
]
|
|
|
|
|
2024-06-25 22:34:14 +03:00
|
|
|
[[package]]
|
|
|
|
name = "sqlite-compressions"
|
2024-07-25 06:40:56 +03:00
|
|
|
version = "0.2.14"
|
2024-06-25 22:34:14 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-25 06:40:56 +03:00
|
|
|
checksum = "eb5573cbfea966f419e72571c5bcd8ab3dbb4d1fd1e9cecf036b5151016f2527"
|
2024-06-25 22:34:14 +03:00
|
|
|
dependencies = [
|
|
|
|
"bsdiff",
|
|
|
|
"flate2",
|
|
|
|
"rusqlite",
|
|
|
|
]
|
|
|
|
|
2023-08-16 20:22:01 +03:00
|
|
|
[[package]]
|
|
|
|
name = "sqlite-hashes"
|
2024-07-25 06:18:29 +03:00
|
|
|
version = "0.7.5"
|
2023-08-16 20:22:01 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-25 06:18:29 +03:00
|
|
|
checksum = "b78a3cdbb0ca1c155437a42811dbb23df1ec5cd0d7d0f76216b08255dafb244b"
|
2023-08-16 20:22:01 +03:00
|
|
|
dependencies = [
|
|
|
|
"digest",
|
2023-10-10 09:41:56 +03:00
|
|
|
"hex",
|
2023-08-16 20:22:01 +03:00
|
|
|
"md-5",
|
|
|
|
"rusqlite",
|
|
|
|
]
|
|
|
|
|
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"
|
2024-03-13 05:50:29 +03:00
|
|
|
version = "0.7.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"
|
2024-03-13 05:50:29 +03:00
|
|
|
checksum = "c9a2ccff1a000a5a59cd33da541d9f2fdcd9e6e8229cc200565942bff36d0aaa"
|
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"
|
2024-03-13 05:50:29 +03:00
|
|
|
version = "0.7.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"
|
2024-03-13 05:50:29 +03:00
|
|
|
checksum = "24ba59a9342a3d9bab6c56c118be528b27c9b60e490080e9711a04dccac83ef6"
|
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",
|
|
|
|
"either",
|
2024-04-12 05:48:14 +03:00
|
|
|
"event-listener 2.5.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
|
|
|
"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",
|
2024-09-11 22:32:24 +03:00
|
|
|
"indexmap 2.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
|
|
|
"log",
|
|
|
|
"memchr",
|
|
|
|
"once_cell",
|
|
|
|
"paste",
|
|
|
|
"percent-encoding",
|
|
|
|
"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",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sqlx-macros"
|
2024-03-13 05:50:29 +03:00
|
|
|
version = "0.7.4"
|
2023-07-04 15:05:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-13 05:50:29 +03:00
|
|
|
checksum = "4ea40e2345eb2faa9e1e5e326db8c34711317d2b5e08d0d5741619048a803127"
|
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"
|
2024-03-13 05:50:29 +03:00
|
|
|
version = "0.7.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"
|
2024-03-13 05:50:29 +03:00
|
|
|
checksum = "5833ef53aaa16d860e92123292f1f6a3d53c34ba8b1969f152ef1a7bb803f3c8"
|
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",
|
2024-03-17 01:43:04 +03:00
|
|
|
"heck 0.4.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
|
|
|
"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"
|
2024-03-13 05:50:29 +03:00
|
|
|
version = "0.7.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"
|
2024-03-13 05:50:29 +03:00
|
|
|
checksum = "1ed31390216d20e538e447a7a9b959e06ed9fc51c37b514b46eb758016ecd418"
|
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",
|
2024-02-01 21:56:40 +03:00
|
|
|
"base64 0.21.7",
|
2024-06-25 18:00:19 +03:00
|
|
|
"bitflags 2.6.0",
|
2023-07-04 15:05:23 +03:00
|
|
|
"byteorder",
|
|
|
|
"bytes",
|
|
|
|
"crc",
|
|
|
|
"digest",
|
|
|
|
"dotenvy",
|
|
|
|
"either",
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-io",
|
|
|
|
"futures-util",
|
2023-11-13 10:50:10 +03:00
|
|
|
"generic-array 0.14.7",
|
2023-07-04 15:05:23 +03:00
|
|
|
"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"
|
2024-03-13 05:50:29 +03:00
|
|
|
version = "0.7.4"
|
2023-07-04 15:05:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-13 05:50:29 +03:00
|
|
|
checksum = "7c824eb80b894f926f89a0b9da0c7f435d27cdd35b8c655b114e58223918577e"
|
2023-07-04 15:05:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"atoi",
|
2024-02-01 21:56:40 +03:00
|
|
|
"base64 0.21.7",
|
2024-06-25 18:00:19 +03:00
|
|
|
"bitflags 2.6.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",
|
|
|
|
"sha2",
|
|
|
|
"smallvec",
|
|
|
|
"sqlx-core",
|
|
|
|
"stringprep",
|
|
|
|
"thiserror",
|
|
|
|
"tracing",
|
|
|
|
"whoami",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sqlx-sqlite"
|
2024-03-13 05:50:29 +03:00
|
|
|
version = "0.7.4"
|
2023-07-04 15:05:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-13 05:50:29 +03:00
|
|
|
checksum = "b244ef0a8414da0bed4bb1910426e890b19e5e9bccc27ada6b797d05c55ae0aa"
|
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",
|
2023-11-27 07:10:29 +03:00
|
|
|
"urlencoding",
|
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-12-27 21:50:07 +03:00
|
|
|
[[package]]
|
|
|
|
name = "stable_deref_trait"
|
|
|
|
version = "1.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
|
|
|
|
|
2024-07-14 20:39:29 +03:00
|
|
|
[[package]]
|
|
|
|
name = "static-files"
|
|
|
|
version = "0.2.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4e8590e848e1c53be9258210bcd4a8f4118e08988f03a4e2d63b62e4ad9f7ced"
|
|
|
|
dependencies = [
|
|
|
|
"change-detection",
|
|
|
|
"mime_guess",
|
|
|
|
"path-slash",
|
|
|
|
]
|
|
|
|
|
2023-12-27 21:50:07 +03:00
|
|
|
[[package]]
|
|
|
|
name = "str_stack"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9091b6114800a5f2141aee1d1b9d6ca3592ac062dc5decb3764ec5895a47b4eb"
|
|
|
|
|
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"
|
2024-05-30 21:34:53 +03:00
|
|
|
version = "0.1.5"
|
2017-10-09 14:29:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-30 21:34:53 +03:00
|
|
|
checksum = "7b4df3d392d81bd458a8a621b8bffbd2302a12ffe288a9d931670948749463b1"
|
2017-10-09 14:29:03 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"unicode-bidi",
|
|
|
|
"unicode-normalization",
|
2024-05-30 21:34:53 +03:00
|
|
|
"unicode-properties",
|
2017-10-09 14:29:03 +03:00
|
|
|
]
|
|
|
|
|
2024-02-09 11:43:27 +03:00
|
|
|
[[package]]
|
|
|
|
name = "strsim"
|
2024-04-09 23:04:40 +03:00
|
|
|
version = "0.11.1"
|
2024-02-09 11:43:27 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-09 23:04:40 +03:00
|
|
|
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
|
2024-02-09 11:43:27 +03:00
|
|
|
|
2023-01-08 22:19:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "structmeta"
|
2023-09-19 04:28:04 +03:00
|
|
|
version = "0.2.0"
|
2023-01-08 22:19:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-09-19 04:28:04 +03:00
|
|
|
checksum = "78ad9e09554f0456d67a69c1584c9798ba733a5b50349a6c0d0948710523922d"
|
2023-01-08 22:19:11 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"structmeta-derive",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2023-01-08 22:19:11 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "structmeta-derive"
|
2023-09-19 04:28:04 +03:00
|
|
|
version = "0.2.0"
|
2023-01-08 22:19:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-09-19 04:28:04 +03:00
|
|
|
checksum = "a60bcaff7397072dca0017d1db428e30d5002e00b6847703e2e42005c95fbe00"
|
2023-01-08 22:19:11 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2023-01-08 22:19:11 +03:00
|
|
|
]
|
|
|
|
|
2022-12-22 09:35:29 +03:00
|
|
|
[[package]]
|
|
|
|
name = "subst"
|
2024-09-16 06:04:35 +03:00
|
|
|
version = "0.3.5"
|
2022-12-22 09:35:29 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-16 06:04:35 +03:00
|
|
|
checksum = "7a3c1ba4fd019bc866333a61fe205fc9b686e3cf5971dd8dfc116657d933031c"
|
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"
|
2024-06-25 18:00:19 +03:00
|
|
|
version = "2.6.1"
|
2020-05-04 21:21:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-25 18:00:19 +03:00
|
|
|
checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
|
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"
|
2023-11-30 03:09:05 +03:00
|
|
|
version = "0.12.0"
|
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-11-30 03:09:05 +03:00
|
|
|
checksum = "d71499ff2d42f59d26edb21369a308ede691421f79ebc0f001e2b1fd3a7c9e52"
|
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 = [
|
|
|
|
"kurbo",
|
|
|
|
"siphasher",
|
|
|
|
]
|
|
|
|
|
2023-12-27 21:50:07 +03:00
|
|
|
[[package]]
|
|
|
|
name = "symbolic-common"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "12.11.0"
|
2023-12-27 21:50:07 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "9c1db5ac243c7d7f8439eb3b8f0357888b37cf3732957e91383b0ad61756374e"
|
2023-12-27 21:50:07 +03:00
|
|
|
dependencies = [
|
|
|
|
"debugid",
|
2024-01-26 22:02:17 +03:00
|
|
|
"memmap2 0.9.4",
|
2023-12-27 21:50:07 +03:00
|
|
|
"stable_deref_trait",
|
|
|
|
"uuid",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "symbolic-demangle"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "12.11.0"
|
2023-12-27 21:50:07 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "ea26e430c27d4a8a5dea4c4b81440606c7c1a415bd611451ef6af8c81416afc3"
|
2023-12-27 21:50:07 +03:00
|
|
|
dependencies = [
|
|
|
|
"cpp_demangle",
|
|
|
|
"rustc-demangle",
|
|
|
|
"symbolic-common",
|
|
|
|
]
|
|
|
|
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "2.0.77"
|
2023-03-20 06:31:56 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed"
|
2023-03-20 06:31:56 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"unicode-ident",
|
|
|
|
]
|
|
|
|
|
2024-02-01 05:44:04 +03:00
|
|
|
[[package]]
|
|
|
|
name = "sync_wrapper"
|
2024-06-25 18:00:19 +03:00
|
|
|
version = "1.0.1"
|
2024-02-01 05:44:04 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-25 18:00:19 +03:00
|
|
|
checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394"
|
2024-09-11 22:32:24 +03:00
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
]
|
2024-02-01 05:44:04 +03:00
|
|
|
|
2023-12-22 09:01:50 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tagptr"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7b2093cf4c8eb1e67749a6762251bc9cd836b6fc171623bd0a9d324d37af2417"
|
|
|
|
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "3.12.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"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64"
|
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",
|
2024-09-11 22:32:24 +03:00
|
|
|
"once_cell",
|
2023-09-19 04:28:04 +03:00
|
|
|
"rustix",
|
2024-09-11 22:32:24 +03:00
|
|
|
"windows-sys 0.59.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
|
|
|
]
|
|
|
|
|
2022-12-13 13:02:38 +03:00
|
|
|
[[package]]
|
|
|
|
name = "thiserror"
|
2024-07-18 06:08:50 +03:00
|
|
|
version = "1.0.63"
|
2022-12-13 13:02:38 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-18 06:08:50 +03:00
|
|
|
checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724"
|
2022-12-13 13:02:38 +03:00
|
|
|
dependencies = [
|
|
|
|
"thiserror-impl",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "thiserror-impl"
|
2024-07-18 06:08:50 +03:00
|
|
|
version = "1.0.63"
|
2022-12-13 13:02:38 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-18 06:08:50 +03:00
|
|
|
checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261"
|
2022-12-13 13:02:38 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2022-12-13 13:02:38 +03:00
|
|
|
]
|
|
|
|
|
2018-03-28 19:15:00 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tilejson"
|
2023-12-09 18:17:19 +03:00
|
|
|
version = "0.4.1"
|
2018-03-28 19:15:00 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-12-09 18:17:19 +03:00
|
|
|
checksum = "4456a8bde0c9c9de96db90d0a74ef225035669c6176ee00ff692f8f6c0d94475"
|
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",
|
2023-11-17 21:55:05 +03:00
|
|
|
"thiserror",
|
2018-03-28 19:15:00 +03:00
|
|
|
]
|
|
|
|
|
2022-08-15 16:54:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "time"
|
2024-04-11 06:55:27 +03:00
|
|
|
version = "0.3.36"
|
2022-08-15 16:54:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-11 06:55:27 +03:00
|
|
|
checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
|
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",
|
2024-02-02 07:03:28 +03:00
|
|
|
"num-conv",
|
2023-10-16 08:12:58 +03:00
|
|
|
"powerfmt",
|
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-09-25 18:01:10 +03:00
|
|
|
version = "0.1.2"
|
2022-10-31 23:28:21 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-09-25 18:01:10 +03:00
|
|
|
checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
|
2022-10-31 23:28:21 +03:00
|
|
|
|
2022-08-15 16:54:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "time-macros"
|
2024-04-11 06:55:27 +03:00
|
|
|
version = "0.2.18"
|
2022-08-15 16:54:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-11 06:55:27 +03:00
|
|
|
checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
|
2022-10-31 23:28:21 +03:00
|
|
|
dependencies = [
|
2024-02-02 07:03:28 +03:00
|
|
|
"num-conv",
|
2022-10-31 23:28:21 +03:00
|
|
|
"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"
|
2024-02-05 22:26:38 +03:00
|
|
|
version = "0.11.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"
|
2024-02-05 22:26:38 +03:00
|
|
|
checksum = "83d13394d44dae3207b52a326c0c85a8bf87f1541f23b0d143811088497b09ab"
|
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 = [
|
|
|
|
"arrayref",
|
|
|
|
"arrayvec",
|
|
|
|
"bytemuck",
|
|
|
|
"cfg-if",
|
|
|
|
"log",
|
|
|
|
"png",
|
|
|
|
"tiny-skia-path",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tiny-skia-path"
|
2024-02-05 22:26:38 +03:00
|
|
|
version = "0.11.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"
|
2024-02-05 22:26:38 +03:00
|
|
|
checksum = "9c9e7fc0c2e86a30b117d0462aa261b72b7a99b7ebd7deb3a14ceda95c5bdc93"
|
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 = [
|
|
|
|
"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"
|
2024-07-09 17:20:51 +03:00
|
|
|
version = "1.8.0"
|
2020-12-20 15:45:58 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-09 17:20:51 +03:00
|
|
|
checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938"
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "1.40.0"
|
2021-04-25 14:46:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998"
|
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",
|
2024-09-11 22:32:24 +03:00
|
|
|
"mio",
|
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",
|
2024-07-24 05:52:07 +03:00
|
|
|
"windows-sys 0.52.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"
|
2024-07-24 05:52:07 +03:00
|
|
|
version = "2.4.0"
|
2023-06-03 03:40:22 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-24 05:52:07 +03:00
|
|
|
checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752"
|
2023-06-03 03:40:22 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2023-06-03 03:40:22 +03:00
|
|
|
]
|
|
|
|
|
2020-05-04 21:21:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tokio-postgres"
|
2024-07-24 05:52:07 +03:00
|
|
|
version = "0.7.11"
|
2020-05-04 21:21:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-24 05:52:07 +03:00
|
|
|
checksum = "03adcf0147e203b6032c0b2d30be1415ba03bc348901f3ff1cc0df6a733e60c3"
|
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",
|
2023-11-27 07:10:29 +03:00
|
|
|
"fallible-iterator 0.2.0",
|
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
|
|
|
]
|
|
|
|
|
2023-09-30 12:58:49 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tokio-postgres-rustls"
|
2024-04-10 02:36:40 +03:00
|
|
|
version = "0.12.0"
|
2023-09-30 12:58:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-10 02:36:40 +03:00
|
|
|
checksum = "04fb792ccd6bbcd4bba408eb8a292f70fc4a3589e5d793626f45190e6454b6ab"
|
2023-09-30 12:58:49 +03:00
|
|
|
dependencies = [
|
2024-01-19 05:48:49 +03:00
|
|
|
"ring",
|
2024-06-25 18:00:19 +03:00
|
|
|
"rustls",
|
2023-09-30 12:58:49 +03:00
|
|
|
"tokio",
|
|
|
|
"tokio-postgres",
|
2024-06-25 18:00:19 +03:00
|
|
|
"tokio-rustls",
|
2024-01-17 04:42:11 +03:00
|
|
|
"x509-certificate",
|
2023-09-30 12:58:49 +03:00
|
|
|
]
|
|
|
|
|
2024-01-17 04:42:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tokio-rustls"
|
2024-04-10 02:36:40 +03:00
|
|
|
version = "0.26.0"
|
2024-01-17 04:42:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-10 02:36:40 +03:00
|
|
|
checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4"
|
2024-01-17 04:42:11 +03:00
|
|
|
dependencies = [
|
2024-06-25 18:00:19 +03:00
|
|
|
"rustls",
|
2024-01-17 04:42:11 +03:00
|
|
|
"rustls-pki-types",
|
2023-09-30 12:58:49 +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
|
|
|
[[package]]
|
|
|
|
name = "tokio-stream"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.1.16"
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "4f4e6ce100d0eb49a2734f8c0812bcd324cf357d21810932c5df6b96ef2b86f1"
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.7.12"
|
2021-04-25 14:46:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a"
|
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",
|
2020-09-13 19:42:44 +03:00
|
|
|
]
|
|
|
|
|
2023-10-10 18:10:17 +03:00
|
|
|
[[package]]
|
|
|
|
name = "toml"
|
|
|
|
version = "0.5.11"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2024-05-30 21:34:53 +03:00
|
|
|
[[package]]
|
|
|
|
name = "toml_datetime"
|
2024-07-30 17:53:22 +03:00
|
|
|
version = "0.6.8"
|
2024-05-30 21:34:53 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-30 17:53:22 +03:00
|
|
|
checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41"
|
2024-05-30 21:34:53 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "toml_edit"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.22.20"
|
2024-05-30 21:34:53 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d"
|
2024-05-30 21:34:53 +03:00
|
|
|
dependencies = [
|
2024-09-11 22:32:24 +03:00
|
|
|
"indexmap 2.5.0",
|
2024-05-30 21:34:53 +03:00
|
|
|
"toml_datetime",
|
|
|
|
"winnow",
|
|
|
|
]
|
|
|
|
|
2024-02-01 21:56:40 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tower"
|
|
|
|
version = "0.4.13"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c"
|
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"futures-util",
|
|
|
|
"pin-project",
|
|
|
|
"pin-project-lite",
|
2024-04-11 06:55:27 +03:00
|
|
|
"tokio",
|
2024-02-01 21:56:40 +03:00
|
|
|
"tower-layer",
|
|
|
|
"tower-service",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tower-layer"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.3.3"
|
2024-02-01 21:56:40 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e"
|
2024-02-01 21:56:40 +03:00
|
|
|
|
2023-12-22 09:01:50 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tower-service"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.3.3"
|
2023-12-22 09:01:50 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
|
2023-12-22 09:01:50 +03:00
|
|
|
|
2020-09-13 19:42:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tracing"
|
2023-10-19 18:08:21 +03:00
|
|
|
version = "0.1.40"
|
2020-09-13 19:42:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-19 18:08:21 +03:00
|
|
|
checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef"
|
2020-09-13 19:42:44 +03:00
|
|
|
dependencies = [
|
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"
|
2023-10-16 08:12:58 +03:00
|
|
|
version = "0.1.27"
|
2023-07-04 15:05:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-16 08:12:58 +03:00
|
|
|
checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
|
2023-07-04 15:05:23 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2023-07-04 15:05:23 +03:00
|
|
|
]
|
|
|
|
|
2020-09-13 19:42:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tracing-core"
|
2023-10-16 08:12:58 +03:00
|
|
|
version = "0.1.32"
|
2020-09-13 19:42:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-16 08:12:58 +03:00
|
|
|
checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54"
|
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-12-22 09:01:50 +03:00
|
|
|
[[package]]
|
|
|
|
name = "triomphe"
|
2024-07-08 06:22:45 +03:00
|
|
|
version = "0.1.11"
|
2023-12-22 09:01:50 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-08 06:22:45 +03:00
|
|
|
checksum = "859eb650cfee7434994602c3a68b25d77ad9e68c8a6cd491616ef86661382eb3"
|
2023-12-22 09:01:50 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "try-lock"
|
|
|
|
version = "0.2.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
|
|
|
|
|
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"
|
2023-09-14 05:31:00 +03:00
|
|
|
version = "0.19.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
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-09-14 05:31:00 +03:00
|
|
|
checksum = "49d64318d8311fc2668e48b63969f4343e0a85c4a109aa8460d6672e364b8bd1"
|
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
|
|
|
|
2017-10-09 14:29:03 +03:00
|
|
|
[[package]]
|
|
|
|
name = "typenum"
|
2023-09-15 21:48:13 +03:00
|
|
|
version = "1.17.0"
|
2021-07-16 16:08:46 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-09-15 21:48:13 +03:00
|
|
|
checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
|
2021-07-16 16:08:46 +03:00
|
|
|
|
2024-07-14 20:39:29 +03:00
|
|
|
[[package]]
|
|
|
|
name = "unicase"
|
|
|
|
version = "2.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89"
|
|
|
|
dependencies = [
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
2017-09-30 13:55:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-bidi"
|
2024-01-21 03:52:09 +03:00
|
|
|
version = "0.3.15"
|
2017-09-30 13:55:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-01-21 03:52:09 +03:00
|
|
|
checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75"
|
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"
|
|
|
|
|
2022-05-27 14:04:27 +03:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-ident"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "1.0.13"
|
2022-05-27 14:04:27 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
|
2022-05-27 14:04:27 +03:00
|
|
|
|
2017-09-30 13:55:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-normalization"
|
2024-02-25 13:46:59 +03:00
|
|
|
version = "0.1.23"
|
2017-09-30 13:55:44 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-02-25 13:46:59 +03:00
|
|
|
checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5"
|
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
|
|
|
|
2023-11-30 03:09:05 +03:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-properties"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.1.2"
|
2023-11-30 03:09:05 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "52ea75f83c0137a9b98608359a5f1af8144876eb67bcb1ce837368e906a9f524"
|
2023-11-30 03:09:05 +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"
|
2024-02-25 13:46:59 +03:00
|
|
|
version = "0.5.6"
|
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"
|
2024-02-25 13:46:59 +03:00
|
|
|
checksum = "ad8d71f5726e5f285a935e9fe8edfd53f0491eb6e9a5774097fdabee7cd8c9cd"
|
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
|
|
|
|
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"
|
2024-02-07 23:30:30 +03:00
|
|
|
version = "1.11.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"
|
2024-02-07 23:30:30 +03:00
|
|
|
checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202"
|
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"
|
2024-06-14 01:33:29 +03:00
|
|
|
version = "0.1.13"
|
2022-12-22 09:35:29 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-14 01:33:29 +03:00
|
|
|
checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d"
|
2022-12-22 09:35:29 +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 = "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"
|
2024-03-18 05:29:23 +03:00
|
|
|
version = "0.2.11"
|
2022-07-29 12:20:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-18 05:29:23 +03:00
|
|
|
checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861"
|
2022-07-29 12:20:49 +03:00
|
|
|
|
2023-10-25 05:52:12 +03:00
|
|
|
[[package]]
|
|
|
|
name = "untrusted"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
|
|
|
|
|
2017-10-09 14:29:03 +03:00
|
|
|
[[package]]
|
2019-10-26 20:37:49 +03:00
|
|
|
name = "url"
|
2024-06-19 05:42:27 +03:00
|
|
|
version = "2.5.2"
|
2019-01-12 15:28:16 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-19 05:42:27 +03:00
|
|
|
checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c"
|
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
|
|
|
]
|
|
|
|
|
2023-11-27 07:10:29 +03:00
|
|
|
[[package]]
|
|
|
|
name = "urlencoding"
|
|
|
|
version = "2.1.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da"
|
|
|
|
|
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"
|
2023-11-30 03:09:05 +03:00
|
|
|
version = "0.36.0"
|
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-11-30 03:09:05 +03:00
|
|
|
checksum = "c51daa774fe9ee5efcf7b4fec13019b8119cda764d9a8b5b06df02bb1445c656"
|
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 = [
|
2024-02-01 21:56:40 +03:00
|
|
|
"base64 0.21.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
|
|
|
"log",
|
|
|
|
"pico-args",
|
|
|
|
"usvg-parser",
|
|
|
|
"usvg-text-layout",
|
|
|
|
"usvg-tree",
|
|
|
|
"xmlwriter",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "usvg-parser"
|
2023-11-30 03:09:05 +03:00
|
|
|
version = "0.36.0"
|
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-11-30 03:09:05 +03:00
|
|
|
checksum = "45c88a5ffaa338f0e978ecf3d4e00d8f9f493e29bed0752e1a808a1db16afc40"
|
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 = [
|
|
|
|
"data-url",
|
|
|
|
"flate2",
|
|
|
|
"imagesize",
|
|
|
|
"kurbo",
|
|
|
|
"log",
|
2024-01-26 22:02:17 +03:00
|
|
|
"roxmltree 0.18.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
|
|
|
"simplecss",
|
|
|
|
"siphasher",
|
|
|
|
"svgtypes",
|
|
|
|
"usvg-tree",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "usvg-text-layout"
|
2023-11-30 03:09:05 +03:00
|
|
|
version = "0.36.0"
|
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-11-30 03:09:05 +03:00
|
|
|
checksum = "4d2374378cb7a3fb8f33894e0fdb8625e1bbc4f25312db8d91f862130b541593"
|
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 = [
|
|
|
|
"fontdb",
|
|
|
|
"kurbo",
|
|
|
|
"log",
|
|
|
|
"rustybuzz",
|
|
|
|
"unicode-bidi",
|
|
|
|
"unicode-script",
|
|
|
|
"unicode-vo",
|
|
|
|
"usvg-tree",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "usvg-tree"
|
2023-11-30 03:09:05 +03:00
|
|
|
version = "0.36.0"
|
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-11-30 03:09:05 +03:00
|
|
|
checksum = "6cacb0c5edeaf3e80e5afcf5b0d4004cc1d36318befc9a7c6606507e5d0f4062"
|
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 = [
|
|
|
|
"rctree",
|
|
|
|
"strict-num",
|
|
|
|
"svgtypes",
|
|
|
|
"tiny-skia-path",
|
|
|
|
]
|
|
|
|
|
2023-04-03 05:06:55 +03:00
|
|
|
[[package]]
|
|
|
|
name = "utf8parse"
|
2024-06-14 01:33:29 +03:00
|
|
|
version = "0.2.2"
|
2023-04-03 05:06:55 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-14 01:33:29 +03:00
|
|
|
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
2023-04-03 05:06:55 +03:00
|
|
|
|
2019-01-12 15:28:16 +03:00
|
|
|
[[package]]
|
2019-10-26 20:37:49 +03:00
|
|
|
name = "uuid"
|
2024-07-09 17:20:51 +03:00
|
|
|
version = "1.10.0"
|
2020-05-04 21:21:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-09 17:20:51 +03:00
|
|
|
checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314"
|
2023-12-22 09:01:50 +03:00
|
|
|
dependencies = [
|
|
|
|
"getrandom",
|
|
|
|
]
|
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"
|
2024-07-30 17:53:22 +03:00
|
|
|
version = "0.9.5"
|
2019-01-12 15:28:16 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-30 17:53:22 +03:00
|
|
|
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
|
2019-01-12 15:28:16 +03:00
|
|
|
|
|
|
|
[[package]]
|
2019-10-26 20:37:49 +03:00
|
|
|
name = "walkdir"
|
2024-03-11 08:14:27 +03:00
|
|
|
version = "2.5.0"
|
2019-01-12 15:28:16 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-11 08:14:27 +03:00
|
|
|
checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
|
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
|
|
|
]
|
|
|
|
|
2023-12-22 09:01:50 +03:00
|
|
|
[[package]]
|
|
|
|
name = "want"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
|
|
|
|
dependencies = [
|
|
|
|
"try-lock",
|
|
|
|
]
|
|
|
|
|
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"
|
|
|
|
|
2024-03-11 08:14:27 +03:00
|
|
|
[[package]]
|
|
|
|
name = "wasite"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b"
|
|
|
|
|
2020-01-27 08:18:39 +03:00
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.2.93"
|
2020-01-27 08:18:39 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5"
|
2020-01-27 08:18:39 +03:00
|
|
|
dependencies = [
|
2022-08-15 16:54:48 +03:00
|
|
|
"cfg-if",
|
2024-09-11 22:32:24 +03:00
|
|
|
"once_cell",
|
2020-10-14 10:59:32 +03:00
|
|
|
"wasm-bindgen-macro",
|
2020-01-27 08:18:39 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-backend"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.2.93"
|
2020-01-27 08:18:39 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b"
|
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",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2020-10-14 10:59:32 +03:00
|
|
|
"wasm-bindgen-shared",
|
2020-01-27 08:18:39 +03:00
|
|
|
]
|
|
|
|
|
2023-12-22 09:01:50 +03:00
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-futures"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.4.43"
|
2023-12-22 09:01:50 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "61e9300f63a621e96ed275155c108eb6f843b6a26d053f122ab69724559dc8ed"
|
2023-12-22 09:01:50 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"js-sys",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"web-sys",
|
|
|
|
]
|
|
|
|
|
2020-01-27 08:18:39 +03:00
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-macro"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.2.93"
|
2020-01-27 08:18:39 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf"
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.2.93"
|
2020-01-27 08:18:39 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836"
|
2020-01-27 08:18:39 +03:00
|
|
|
dependencies = [
|
2020-10-14 10:59:32 +03:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
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"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.2.93"
|
2020-01-27 08:18:39 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484"
|
2020-01-27 08:18:39 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "web-sys"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.3.70"
|
2020-01-27 08:18:39 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "26fdeaafd9bd129f65e7c031593c24d62186301e0c72c8978fa1678be7d532c0"
|
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
|
|
|
]
|
|
|
|
|
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"
|
2024-01-26 22:02:17 +03:00
|
|
|
version = "0.1.8"
|
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"
|
2024-01-26 22:02:17 +03:00
|
|
|
checksum = "53a85b86a771b1c87058196170769dd264f66c0782acf1ae6cc51bfd64b39082"
|
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
|
|
|
|
Implement dynamic font support `/font/<name>/<start>-<end>` (#755)
This implements dynamic font protobuf generation, allowing users to
request font ranges on the fly, and combining them in any order, e.g.
`Font1,Font2,Font3`, same as with sprites and tiles
This is a first iteration, without any multithreading support. In
theory, this could be done far faster by generating SDFs with multiple
threads.
### Current process
* during init, figure out all glyphs available in each font, and store
them as a bitset
* during request:
* combine requested bitsets to figure out which glyph should come from
which font file
* load those glyphs from files (using a single instance of the freetype
lib)
* convert them to SDFs and package them into a protobuf
---------
Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2023-10-28 08:10:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "which"
|
|
|
|
version = "4.4.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7"
|
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
"home",
|
|
|
|
"once_cell",
|
|
|
|
"rustix",
|
|
|
|
]
|
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "whoami"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "1.5.2"
|
2023-07-04 15:05:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "372d5b87f58ec45c384ba03563b03544dc5fadc3983e434b286913f5b4a9bb6d"
|
2023-08-21 21:13:08 +03:00
|
|
|
dependencies = [
|
2024-09-11 22:32:24 +03:00
|
|
|
"redox_syscall",
|
2024-03-11 08:14:27 +03:00
|
|
|
"wasite",
|
2023-08-21 21:13:08 +03:00
|
|
|
"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"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.1.9"
|
2018-08-25 12:50:24 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
|
2018-08-25 12:50:24 +03:00
|
|
|
dependencies = [
|
2024-09-11 22:32:24 +03:00
|
|
|
"windows-sys 0.59.0",
|
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
|
|
|
|
2023-11-13 06:22:04 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows-core"
|
2023-12-31 06:48:23 +03:00
|
|
|
version = "0.52.0"
|
2023-11-13 06:22:04 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-12-31 06:48:23 +03:00
|
|
|
checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
|
2023-11-13 06:22:04 +03:00
|
|
|
dependencies = [
|
2024-07-09 17:20:51 +03:00
|
|
|
"windows-targets 0.52.6",
|
2023-11-13 06:22:04 +03:00
|
|
|
]
|
|
|
|
|
2024-09-11 22:32:24 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows-registry"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0"
|
|
|
|
dependencies = [
|
|
|
|
"windows-result",
|
|
|
|
"windows-strings",
|
|
|
|
"windows-targets 0.52.6",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows-result"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e"
|
|
|
|
dependencies = [
|
|
|
|
"windows-targets 0.52.6",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows-strings"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10"
|
|
|
|
dependencies = [
|
|
|
|
"windows-result",
|
|
|
|
"windows-targets 0.52.6",
|
|
|
|
]
|
|
|
|
|
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-10-10 18:10:17 +03:00
|
|
|
"windows-targets 0.48.5",
|
|
|
|
]
|
|
|
|
|
2023-11-30 03:09:05 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows-sys"
|
|
|
|
version = "0.52.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
|
|
|
|
dependencies = [
|
2024-07-09 17:20:51 +03:00
|
|
|
"windows-targets 0.52.6",
|
2023-11-30 03:09:05 +03:00
|
|
|
]
|
|
|
|
|
2024-09-11 22:32:24 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows-sys"
|
|
|
|
version = "0.59.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
|
|
|
|
dependencies = [
|
|
|
|
"windows-targets 0.52.6",
|
|
|
|
]
|
|
|
|
|
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-10-10 18:10:17 +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
|
|
|
]
|
|
|
|
|
2023-11-30 03:09:05 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows-targets"
|
2024-07-09 17:20:51 +03:00
|
|
|
version = "0.52.6"
|
2023-11-30 03:09:05 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-09 17:20:51 +03:00
|
|
|
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
2023-11-30 03:09:05 +03:00
|
|
|
dependencies = [
|
2024-07-09 17:20:51 +03:00
|
|
|
"windows_aarch64_gnullvm 0.52.6",
|
|
|
|
"windows_aarch64_msvc 0.52.6",
|
|
|
|
"windows_i686_gnu 0.52.6",
|
2024-04-15 05:59:02 +03:00
|
|
|
"windows_i686_gnullvm",
|
2024-07-09 17:20:51 +03:00
|
|
|
"windows_i686_msvc 0.52.6",
|
|
|
|
"windows_x86_64_gnu 0.52.6",
|
|
|
|
"windows_x86_64_gnullvm 0.52.6",
|
|
|
|
"windows_x86_64_msvc 0.52.6",
|
2023-11-30 03:09:05 +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
|
|
|
|
2023-11-30 03:09:05 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_gnullvm"
|
2024-07-09 17:20:51 +03:00
|
|
|
version = "0.52.6"
|
2023-11-30 03:09:05 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-09 17:20:51 +03:00
|
|
|
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
2023-11-30 03:09:05 +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
|
|
|
|
2023-11-30 03:09:05 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_msvc"
|
2024-07-09 17:20:51 +03:00
|
|
|
version = "0.52.6"
|
2023-11-30 03:09:05 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-09 17:20:51 +03:00
|
|
|
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
2023-11-30 03:09:05 +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
|
|
|
|
2023-11-30 03:09:05 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_gnu"
|
2024-07-09 17:20:51 +03:00
|
|
|
version = "0.52.6"
|
2024-04-15 05:59:02 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-09 17:20:51 +03:00
|
|
|
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
2024-04-15 05:59:02 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_gnullvm"
|
2024-07-09 17:20:51 +03:00
|
|
|
version = "0.52.6"
|
2023-11-30 03:09:05 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-09 17:20:51 +03:00
|
|
|
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
2023-11-30 03:09:05 +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
|
|
|
|
2023-11-30 03:09:05 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_msvc"
|
2024-07-09 17:20:51 +03:00
|
|
|
version = "0.52.6"
|
2023-11-30 03:09:05 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-09 17:20:51 +03:00
|
|
|
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
2023-11-30 03:09:05 +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
|
|
|
|
2023-11-30 03:09:05 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnu"
|
2024-07-09 17:20:51 +03:00
|
|
|
version = "0.52.6"
|
2023-11-30 03:09:05 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-09 17:20:51 +03:00
|
|
|
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
2023-11-30 03:09:05 +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
|
|
|
|
2023-11-30 03:09:05 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnullvm"
|
2024-07-09 17:20:51 +03:00
|
|
|
version = "0.52.6"
|
2023-11-30 03:09:05 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-09 17:20:51 +03:00
|
|
|
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
2023-11-30 03:09:05 +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
|
|
|
|
2023-11-30 03:09:05 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_msvc"
|
2024-07-09 17:20:51 +03:00
|
|
|
version = "0.52.6"
|
2023-11-30 03:09:05 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-09 17:20:51 +03:00
|
|
|
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
2023-11-30 03:09:05 +03:00
|
|
|
|
2024-05-30 21:34:53 +03:00
|
|
|
[[package]]
|
|
|
|
name = "winnow"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "0.6.18"
|
2024-05-30 21:34:53 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f"
|
2024-05-30 21:34:53 +03:00
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
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",
|
|
|
|
]
|
|
|
|
|
2024-01-17 04:42:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "x509-certificate"
|
2024-01-19 05:48:49 +03:00
|
|
|
version = "0.23.1"
|
2024-01-17 04:42:11 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-01-19 05:48:49 +03:00
|
|
|
checksum = "66534846dec7a11d7c50a74b7cdb208b9a581cad890b7866430d438455847c85"
|
2024-01-17 04:42:11 +03:00
|
|
|
dependencies = [
|
|
|
|
"bcder",
|
|
|
|
"bytes",
|
|
|
|
"chrono",
|
|
|
|
"der",
|
|
|
|
"hex",
|
|
|
|
"pem",
|
2024-01-19 05:48:49 +03:00
|
|
|
"ring",
|
2024-01-17 04:42:11 +03:00
|
|
|
"signature",
|
|
|
|
"spki",
|
|
|
|
"thiserror",
|
2024-01-19 05:48:49 +03:00
|
|
|
"zeroize",
|
2024-01-17 04:42: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 = "xmlparser"
|
2023-10-01 05:49:56 +03:00
|
|
|
version = "0.13.6"
|
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-10-01 05:49:56 +03:00
|
|
|
checksum = "66fee0b777b0f5ac1c69bb06d361268faafa61cd4682ae064a171c16c433e9e4"
|
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 = "xmlwriter"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ec7a2a501ed189703dba8b08142f057e887dfc4b2cc4db2d343ac6376ba3e0b9"
|
|
|
|
|
2024-06-25 22:34:14 +03:00
|
|
|
[[package]]
|
|
|
|
name = "xxhash-rust"
|
2024-07-29 05:32:32 +03:00
|
|
|
version = "0.8.12"
|
2024-06-25 22:34:14 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-29 05:32:32 +03:00
|
|
|
checksum = "6a5cbf750400958819fb6178eaa83bee5cd9c29a26a40cc241df8c70fdd46984"
|
2024-06-25 22:34:14 +03:00
|
|
|
|
2023-10-10 18:10:17 +03:00
|
|
|
[[package]]
|
|
|
|
name = "yansi"
|
|
|
|
version = "0.5.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec"
|
|
|
|
|
2023-10-25 06:16:37 +03:00
|
|
|
[[package]]
|
|
|
|
name = "zerocopy"
|
2024-07-09 17:20:51 +03:00
|
|
|
version = "0.7.35"
|
2023-10-25 06:16:37 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-09 17:20:51 +03:00
|
|
|
checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
|
2023-10-25 06:16:37 +03:00
|
|
|
dependencies = [
|
2024-07-30 17:53:22 +03:00
|
|
|
"byteorder",
|
2023-10-25 06:16:37 +03:00
|
|
|
"zerocopy-derive",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zerocopy-derive"
|
2024-07-09 17:20:51 +03:00
|
|
|
version = "0.7.35"
|
2023-10-25 06:16:37 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-09 17:20:51 +03:00
|
|
|
checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
|
2023-10-25 06:16:37 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2023-10-25 06:16:37 +03:00
|
|
|
]
|
|
|
|
|
2023-07-04 15:05:23 +03:00
|
|
|
[[package]]
|
|
|
|
name = "zeroize"
|
2024-05-30 21:34:53 +03:00
|
|
|
version = "1.8.1"
|
2023-07-04 15:05:23 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-30 21:34:53 +03:00
|
|
|
checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
|
2024-01-19 05:48:49 +03:00
|
|
|
dependencies = [
|
|
|
|
"zeroize_derive",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zeroize_derive"
|
|
|
|
version = "1.4.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-11 22:32:24 +03:00
|
|
|
"syn 2.0.77",
|
2024-01-19 05:48:49 +03:00
|
|
|
]
|
2023-07-04 15:05: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 = "zopfli"
|
2024-05-25 08:17:26 +03:00
|
|
|
version = "0.8.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"
|
2024-05-25 08:17:26 +03:00
|
|
|
checksum = "e5019f391bac5cf252e93bbcc53d039ffd62c7bfb7c150414d61369afe57e946"
|
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 = [
|
2024-05-25 08:17:26 +03:00
|
|
|
"bumpalo",
|
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",
|
2024-05-25 08:17:26 +03:00
|
|
|
"lockfree-object-pool",
|
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
|
|
|
"log",
|
2024-05-25 08:17:26 +03:00
|
|
|
"once_cell",
|
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",
|
|
|
|
]
|
|
|
|
|
2023-10-16 08:12:58 +03:00
|
|
|
[[package]]
|
|
|
|
name = "zstd"
|
2024-07-09 17:20:51 +03:00
|
|
|
version = "0.13.2"
|
2023-10-16 08:12:58 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-09 17:20:51 +03:00
|
|
|
checksum = "fcf2b778a664581e31e389454a7072dab1647606d44f7feea22cd5abb9c9f3f9"
|
2023-10-16 08:12:58 +03:00
|
|
|
dependencies = [
|
2023-12-25 06:21:09 +03:00
|
|
|
"zstd-safe",
|
2023-01-23 09:48:53 +03:00
|
|
|
]
|
|
|
|
|
2023-10-16 08:12:58 +03:00
|
|
|
[[package]]
|
|
|
|
name = "zstd-safe"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "7.2.1"
|
2023-10-16 08:12:58 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "54a3ab4db68cea366acc5c897c7b4d4d1b8994a9cd6e6f841f8964566a419059"
|
2023-10-16 08:12:58 +03:00
|
|
|
dependencies = [
|
|
|
|
"zstd-sys",
|
|
|
|
]
|
|
|
|
|
2022-08-15 16:54:48 +03:00
|
|
|
[[package]]
|
|
|
|
name = "zstd-sys"
|
2024-09-11 22:32:24 +03:00
|
|
|
version = "2.0.13+zstd.1.5.6"
|
2022-08-15 16:54:48 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-11 22:32:24 +03:00
|
|
|
checksum = "38ff0f21cfee8f97d94cef41359e0c89aa6113028ab0291aa8ca0038995a95aa"
|
2022-08-15 16:54:48 +03:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
2023-01-12 00:35:48 +03:00
|
|
|
"pkg-config",
|
2018-02-21 13:37:31 +03:00
|
|
|
]
|