#pasture #pointcloud #points #lidar


Support for reading and writing point cloud files with pasture

3 releases (breaking)

0.3.0 Jan 13, 2022
0.2.0 Oct 11, 2021
0.1.0 Mar 22, 2021

#286 in Parser implementations

28 downloads per month

Custom license

17K SLoC


A Rust library for working with point cloud data. It features:

  • Fine-grained support for arbitrary point attributes, similar to PDAL, but with added type safety
  • A very flexible memory model, natively supporting both Array-of-Structs (AoS) and Struct-of-Arrays (SoA) memory layouts
  • Support for reading and writing various point cloud formats with the pasture-io crate
  • A growing set of algorithms with the pasture-algorithms crate

To this end, pasture chooses flexibility over simplicity. If you are looking for something small and simple, for example to work with LAS files, try a crate like las. If you are planning to implement high-performance tools and services that will work with very large point cloud data, pasture is what you are looking for!


Add this to your Cargo.toml:

pasture-core = "0.1.0"
# You probably also want I/O support
pasture-io = "0.1.0"


pasture is in the early stages of development and is not yet stable.


pasture is distributed under the terms of the Apache License (Version 2.0). See LICENSE for details.


~324K SLoC