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

123456789101112131415161718192021222324252627282930
  1. [package]
  2. name = "osmpbf"
  3. version = "0.1.0"
  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. build = "build.rs"
  9. description = """
  10. A reader for the OpenStreetMap PBF file format (*.osm.pbf).
  11. """
  12. categories = ["parser-implementations", "encoding", "science"]
  13. keywords = ["openstreetmap", "osm", "pbf", "protocolbuffer", "protobuf"]
  14. license = "MIT/Apache-2.0"
  15. [features]
  16. default = ["system-libz"]
  17. system-libz = ["flate2"]
  18. [dependencies]
  19. protobuf = "1.4"
  20. byteorder = "1.1"
  21. flate2 = { version = "0.2", optional = true }
  22. inflate = "0.3"
  23. error-chain = "0.11"
  24. memmap = "0.6"
  25. rayon = "0.8.2"
  26. [build-dependencies]
  27. protoc-rust = "1.4"