Move render-benchmarks under a Cargo feature (#3815)

## Summary

Avoid compiling these large dependencies when we typically don't need
them.
This commit is contained in:
Charlie Marsh 2024-05-23 23:00:53 -04:00 committed by GitHub
parent ce38fccdc9
commit a7d486bc71
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 6 deletions

View file

@ -1,3 +1,5 @@
#![cfg(feature = "render")]
use std::path::{Path, PathBuf};
use anyhow::{anyhow, Result};