Lines Matching refs:data
324 Create the json data file and a helper module to read and deserialize our features.
327 $ mkdir data && touch data/route_guide_db.json
328 $ touch src/data.rs
331 You can find our example json data in [examples/data/route_guide_db.json][route-guide-db] and
332 the corresponding `data` module to load and deserialize it in
333 [examples/routeguide/data.rs][data-module].
335 **Note:** If you are following along, you'll need to change the data file's path from
336 `examples/data/route_guide_db.json` to `data/route_guide_db.json`.
363 [route-guide-db]: https://github.com/hyperium/tonic/blob/master/examples/data/route_guide_db.json
364 [data-module]: https://github.com/hyperium/tonic/blob/master/examples/src/routeguide/data.rs
534 mod data;
544 features: Arc::new(data::load()),