Planar optical waveguides made of designable spatially dispersive nanomaterials can offer new capabilities for nanophotonic components. As an example, a thin slab waveguide can be designed to compensate for optical diffraction and provide divergence-free propagation for strongly focused optical beams. Optical signals in such waveguides can be transferred in narrow channels formed by the light itself. We introduce here a theoretical method for characterization and design of nanostructured waveguides taking into account their inherent spatial dispersion and anisotropy. Using the method, we design a diffraction-compensating slab waveguide that contains only a single layer of silver nanorods. The waveguide shows low propagation loss and broadband diffraction compensation, potentially allowing transfer of optical information at a THz rate.