[package]
edition = "2024"
name = "versatiles"
version = "3.5.0"
authors = ["Michael Kreil <versatiles@michael-kreil.de>"]
build = false
exclude = [
".githooks/",
".github/",
".gitignore",
".prettierignore",
".vscode/",
"/docker",
"/scripts",
"/testdata",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A toolbox for converting, checking and serving map tiles in various formats."
homepage = "https://versatiles.org"
readme = "README.md"
keywords = [
"versatiles",
"mbtiles",
"pmtiles",
"tiles",
"map",
]
categories = [
"command-line-utilities",
"science::geo",
"web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/versatiles-org/versatiles-rs"
resolver = "2"
[package.metadata.cargo-udeps.ignore]
normal = [
"env_logger",
"termimad",
]
[features]
bindgen = ["versatiles_pipeline/bindgen"]
cli = [
"dep:clap",
"dep:env_logger",
"dep:enumset",
"dep:termimad",
"dep:tokio",
"versatiles_container/cli",
]
default = [
"cli",
"server",
]
gdal = ["versatiles_pipeline/gdal"]
server = [
"dep:arc-swap",
"dep:axum",
"dep:dashmap",
"dep:enumset",
"dep:mime_guess",
"dep:regex",
"dep:tar",
"dep:tokio",
"dep:tower",
"dep:tower-http",
]
[lib]
name = "versatiles"
path = "src/lib.rs"
[[bin]]
name = "versatiles"
path = "src/main.rs"
required-features = ["cli"]
[[test]]
name = "command"
path = "tests/command.rs"
[[test]]
name = "convert"
path = "tests/convert.rs"
[[test]]
name = "convert_integrity"
path = "tests/convert_integrity.rs"
[[test]]
name = "help"
path = "tests/help.rs"
[[test]]
name = "serve"
path = "tests/serve.rs"
[[test]]
name = "serve_compression"
path = "tests/serve_compression.rs"
[[test]]
name = "serve_config"
path = "tests/serve_config.rs"
[[test]]
name = "serve_cors"
path = "tests/serve_cors.rs"
[[test]]
name = "serve_static"
path = "tests/serve_static.rs"
[[test]]
name = "test_utilities"
path = "tests/test_utilities.rs"
[dependencies.anyhow]
version = "1.0.101"
features = [
"std",
"std",
"backtrace",
]
default-features = false
[dependencies.arc-swap]
version = "1.8"
optional = true
[dependencies.async-trait]
version = "0.1.89"
default-features = false
[dependencies.axum]
version = "0.8.8"
features = [
"http1",
"http2",
"tokio",
]
optional = true
default-features = false
[dependencies.clap]
version = "4.5.57"
features = [
"default",
"derive",
"default",
]
optional = true
[dependencies.dashmap]
version = "6.1"
optional = true
[dependencies.enumset]
version = "1.1.10"
optional = true
default-features = false
[dependencies.env_logger]
version = "0.11.8"
optional = true
[dependencies.log]
version = "0.4.29"
default-features = false
[dependencies.mime_guess]
version = "2.0.5"
optional = true
default-features = false
[dependencies.regex]
version = "1.12.3"
features = [
"std",
"unicode-case",
"unicode-perl",
"unicode",
]
optional = true
default-features = false
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_yaml_ng]
version = "0.10.0"
[dependencies.tar]
version = "0.4.44"
optional = true
default-features = false
[dependencies.termimad]
version = "0.34.1"
optional = true
[dependencies.tokio]
version = "1.49.0"
features = [
"rt-multi-thread",
"sync",
"rt-multi-thread",
"sync",
]
optional = true
[dependencies.tower]
version = "0.5.3"
features = [
"buffer",
"limit",
"load-shed",
]
optional = true
[dependencies.tower-http]
version = "0.6.8"
features = [
"catch-panic",
"cors",
"set-header",
]
optional = true
[dependencies.versatiles_container]
version = "3.5.0"
default-features = false
[dependencies.versatiles_core]
version = "3.5.0"
default-features = false
[dependencies.versatiles_derive]
version = "3.5.0"
default-features = false
[dependencies.versatiles_geometry]
version = "3.5.0"
default-features = false
[dependencies.versatiles_image]
version = "3.5.0"
default-features = false
[dependencies.versatiles_pipeline]
version = "3.5.0"
default-features = false
[dev-dependencies.assert_cmd]
version = "2.1.2"
features = ["color"]
[dev-dependencies.assert_fs]
version = "1.1.3"
[dev-dependencies.predicates]
version = "3.1.3"
[dev-dependencies.pretty_assertions]
version = "1.4.1"
[dev-dependencies.reqwest]
version = "0.13.2"
features = [
"default-tls",
"brotli",
"default-tls",
"deflate",
"gzip",
"zstd",
]
default-features = false
[dev-dependencies.rstest]
version = "0.26.1"
default-features = false
[dev-dependencies.tempfile]
version = "3.24.0"
[dev-dependencies.tokio]
version = "1.49.0"
features = [
"rt-multi-thread",
"sync",
"macros",
"rt-multi-thread",
"sync",
]
[dev-dependencies.versatiles_container]
version = "3.5.0"
features = ["test"]
default-features = false
[dev-dependencies.versatiles_core]
version = "3.5.0"
features = ["test"]
default-features = false
[lints.clippy]
cast_precision_loss = "allow"
doc_markdown = "allow"
ignored_unit_patterns = "allow"
items_after_statements = "allow"
iter_without_into_iter = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
trivially_copy_pass_by_ref = "allow"
unnecessary_debug_formatting = "allow"
unnecessary_literal_bound = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
used_underscore_binding = "allow"
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
unused_imports = "deny"