mirror of
https://github.com/georust/netcdf.git
synced 2026-01-25 15:02:13 +00:00
During a dependency review we noticed that the netcdf-src crate includes various development scripts. These development scripts shouldn't be there as they might, at some point become problematic. As of now they prevent any downstream user from enabling the `[bans.build.interpreted]` option of cargo deny. I opted for using an explicit include list instead of an exclude list to prevent these files from beeing included in the published packages to make sure that everything that's included is an conscious choice.
61 lines
1.6 KiB
TOML
61 lines
1.6 KiB
TOML
[package]
|
|
name = "netcdf-src"
|
|
version = "0.4.3"
|
|
authors = ["Magnus Ulimoen <magnusu@met.no>"]
|
|
edition = "2021"
|
|
description = "Build scripts for building `netCDF` from source"
|
|
build = "build.rs"
|
|
repository = "https://github.com/georust/netcdf"
|
|
license-file = "source/COPYRIGHT"
|
|
links = "netcdfsrc"
|
|
categories = ["filesystem"]
|
|
keywords = ["netcdf"]
|
|
readme = "README.md"
|
|
include = [
|
|
"README.md",
|
|
"Cargo.toml",
|
|
"src/**/*.rs",
|
|
"build.rs",
|
|
"source/**/CMakeLists.txt",
|
|
"source/**/*.cmake",
|
|
"source/**/*.c",
|
|
"source/**/*.h",
|
|
"source/**/*.in",
|
|
"source/libsrc/*.m4",
|
|
"source/docs/netcdf.m4",
|
|
"!source/docs/doxygen-awesome-css/**",
|
|
"!source/docs/images/**",
|
|
"!source/docs/old/**",
|
|
"!source/NUG/**",
|
|
"!source/dap4_test/**",
|
|
"!source/examples/**",
|
|
"!source/nc_test/**",
|
|
# "!source/unit_test/**", https://github.com/Unidata/netcdf-c/pull/3133
|
|
# "!source/nc_test4/**", https://github.com/Unidata/netcdf-c/pull/3133
|
|
"!source/nc_test4/**.nc",
|
|
"!source/h5_test/**",
|
|
"!source/nc_perf/**",
|
|
"!source/nczarr_test/**",
|
|
"!source/hdf5_test/**",
|
|
"!source/ncdump/**",
|
|
"!source/hdf4_test/**",
|
|
"!source/ncgen/**",
|
|
"!source/ncgen3/**",
|
|
"!source/nctest/**",
|
|
"!source/ncdap_test/**",
|
|
"!source/nc_perf/**",
|
|
]
|
|
rust-version = "1.77.0"
|
|
|
|
[features]
|
|
dap = ["dep:link-cplusplus"]
|
|
mpi = []
|
|
|
|
[dependencies]
|
|
hdf5-sys = { workspace = true, features = ["hl", "deprecated", "zlib", "static"] }
|
|
libz-sys = { version = "1.0.25" }
|
|
link-cplusplus = { version = "1.0.9", optional = true }
|
|
|
|
[build-dependencies]
|
|
cmake = "0.1.44"
|