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

Cargo.toml 676B

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