forked from maplibre/maplibre-native-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
86 lines (74 loc) · 2.41 KB
/
Cargo.toml
File metadata and controls
86 lines (74 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[package]
name = "maplibre_native"
version = "0.3.0"
description = "Rust bindings to the MapLibre Native map rendering engine"
authors = ["Yuri Astrakhan <YuriAstrakhan@gmail.com>"]
repository = "https://github.com/maplibre/maplibre-native-rs"
edition.workspace = true
license.workspace = true
keywords = ["maplibre", "rendering", "gis", "tiles"]
categories = ["external-ffi-bindings", "science::geo", "rendering"]
rust-version = "1.82" # due to icu_collections@2
exclude = []
[package.metadata.mln]
repo = "maplibre/maplibre-native"
release = "core-aeaadc06b4e0614f4f243db4dce210c22dde9f9c"
[features]
default = ["log", "pool"] # automatically picks the platform-specific features
metal = [] # default on Apple platforms, do not add to default features
opengl = []
vulkan = [] # default on other platforms
log = ["dep:log"]
pool = ["dep:tokio"]
[dependencies]
cxx.workspace = true
log = { workspace = true, optional = true }
thiserror.workspace = true
tokio = { workspace = true, optional = true }
url.workspace = true
[build-dependencies]
cmake.workspace = true
cxx-build.workspace = true
downloader.workspace = true
flate2.workspace = true
tar.workspace = true
walkdir.workspace = true
[dev-dependencies]
env_logger.workspace = true
futures.workspace = true
insta = { workspace = true, features = ["json", "redactions"] }
tokio = { workspace = true, features = ["macros", "sync", "rt-multi-thread"] }
[lints]
workspace = true
##########################################################
##########################################################
#### Workspace configuration for the entire project ####
##########################################################
##########################################################
[workspace]
members = [".", "examples/*"]
[workspace.package]
edition = "2021"
license = "MIT OR Apache-2.0"
[workspace.dependencies]
clap = { version = "4.5.27", features = ["derive", "env", "unstable-markdown"] }
cmake = "0.1"
cxx = "1.0.138"
cxx-build = "1.0.138"
downloader = "0.2.8"
env_logger = "0.11"
flate2 = "1.1.1"
futures = "0.3"
insta = "1.43.2"
log = "0.4"
maplibre_native = { path = ".", version = "0.3.0" }
tar = "0.4.44"
thiserror = "2.0.16"
tokio = { version = "1", features = ["sync"], default-features = false }
url = "2.5.7"
walkdir = "2.5.0"
[workspace.lints.rust]
unused_qualifications = "warn"
[workspace.lints.clippy]
pedantic = { level = "warn", priority = -1 }
missing_panics_doc = "allow" # FIXME: remove