A Rust library for reading the OpenStreetMap PBF file format (*.osm.pbf).

Cargo.toml 603B

12345678910111213141516171819202122232425262728
  1. [package]
  2. name = "osmpbf"
  3. version = "0.1.0"
  4. authors = ["Johannes Hofmann <mail@b-r-u.org>"]
  5. license = "MIT/Apache-2.0"
  6. readme = "README.md"
  7. repository = "https://github.com/b-r-u/osmpbf"
  8. homepage = "https://github.com/b-r-u/osmpbf"
  9. build = "build.rs"
  10. description = """
  11. A reader for the OpenStreetMap PBF file format (*.osm.pbf).
  12. """
  13. [features]
  14. default = ["system-libz"]
  15. system-libz = ["flate2"]
  16. [dependencies]
  17. protobuf = "1.4"
  18. byteorder = "1.1"
  19. flate2 = { version = "0.2", optional = true }
  20. inflate = "0.3"
  21. error-chain = "0.11"
  22. memmap = "0.6"
  23. rayon = "0.8.2"
  24. [build-dependencies]
  25. protoc-rust = "1.4"