-
Notifications
You must be signed in to change notification settings - Fork 94
/
Cargo.toml
62 lines (55 loc) · 1.47 KB
/
Cargo.toml
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
[package]
name = "gdal"
description = "GDAL bindings for Rust"
license = "MIT"
version = "0.17.1"
authors = [
"Alex Morega <[email protected]>",
"Johannes Drönner <[email protected]>",
]
categories = ["science::geo", "api-bindings"]
repository = "https://github.com/georust/gdal"
edition = "2021"
rust-version = "1.80"
[features]
default = []
bindgen = ["gdal-sys/bindgen"]
array = ["ndarray"]
[dependencies]
thiserror = "2.0"
geo-types = { version = "0.7.11" }
gdal-sys = { path = "gdal-sys", version = "0.10" }
gdal-src = { path = "gdal-src", optional = true, default-features = false }
ndarray = { version = "0.16", optional = true }
chrono = { version = "0.4.26", default-features = false }
bitflags = "2.4"
[build-dependencies]
semver = "1.0"
[dev-dependencies]
tempfile = "3.8"
# Only used in the example
arrow = { version = "53.0", default-features = false, features = ["ffi"] }
[workspace]
members = ["gdal-src", "gdal-sys"]
# docs.rs-specific configuration
[package.metadata.docs.rs]
# include `array` feature in documentation
features = ["array"]
# define attribute `docsrs` for feature badges
rustdoc-args = ["--cfg", "docsrs"]
[lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = [
'cfg(major_is_3)',
'cfg(major_ge_3)',
'cfg(major_ge_4)',
'cfg(minor_ge_1)',
'cfg(minor_ge_2)',
'cfg(minor_ge_3)',
'cfg(minor_ge_4)',
'cfg(minor_ge_5)',
'cfg(minor_ge_6)',
'cfg(minor_ge_7)',
'cfg(minor_ge_8)',
'cfg(minor_ge_9)',
]