39 releases (21 breaking)

new 0.23.1 Jun 23, 2022
0.22.0 Feb 5, 2022
0.21.0 Oct 20, 2021
0.19.1 Jul 12, 2021
0.6.1 Mar 9, 2018

#283 in Science

Download history 863/week @ 2022-03-07 1194/week @ 2022-03-14 922/week @ 2022-03-21 732/week @ 2022-03-28 736/week @ 2022-04-04 849/week @ 2022-04-11 982/week @ 2022-04-18 1020/week @ 2022-04-25 1017/week @ 2022-05-02 941/week @ 2022-05-09 1555/week @ 2022-05-16 935/week @ 2022-05-23 1193/week @ 2022-05-30 887/week @ 2022-06-06 849/week @ 2022-06-13 1195/week @ 2022-06-20

4,280 downloads per month
Used in 4 crates (2 directly)

MIT/Apache

5.5MB
3.5K SLoC

Low-level bindings for PROJ v9.0.x

This is a *-sys crate; you shouldn't use its API directly. See the proj crate for general use.

A guide to PROJ functions can be found here: https://proj.org/development/reference/functions.html.

By default, the crate will search for an acceptable existing libproj installation on your system using pkg-config.

If an acceptable installation is not found, proj-sys will attempt to build libproj from source bundled in the crate.

Features

  • bundled_proj - forces building libproj from source even if an acceptable version could be found on your system. Note that SQLite3 must be present on your system if you wish to use this feature, and that it builds libproj without its native network functionality; you will have to implement your own set of callbacks if you wish to make use of them (see the proj crate for an example).
  • bundled_proj_tiff - If the bundled_proj feature is enabled, adding the bundled_proj_tiff feature will build PROJ with TIFF support. Note that libtiff must be present on your system if you wish to use this feature.

License

Licensed under either of

at your option.

Dependencies