diff --git a/crates/tor-guardmgr/src/fallback_dirs.inc b/crates/tor-guardmgr/data/fallback_dirs.rs similarity index 100% rename from crates/tor-guardmgr/src/fallback_dirs.inc rename to crates/tor-guardmgr/data/fallback_dirs.rs diff --git a/crates/tor-guardmgr/src/fallback.rs b/crates/tor-guardmgr/src/fallback.rs index 84da72486..7654add6e 100644 --- a/crates/tor-guardmgr/src/fallback.rs +++ b/crates/tor-guardmgr/src/fallback.rs @@ -111,7 +111,7 @@ pub(crate) fn default_fallbacks() -> Vec { bld } - include!("fallback_dirs.inc") + include!("../data/fallback_dirs.rs") } impl tor_linkspec::ChanTarget for FallbackDir { diff --git a/crates/tor-proto/src/crypto/cell.rs b/crates/tor-proto/src/crypto/cell.rs index 80f3a5481..65e0d5b0d 100644 --- a/crates/tor-proto/src/crypto/cell.rs +++ b/crates/tor-proto/src/crypto/cell.rs @@ -503,7 +503,7 @@ mod test { const SEED: &[u8;108] = b"'You mean to tell me that there's a version of Sha-3 with no limit on the output length?', said Tom shakily."; // These test vectors were generated from Tor. - let data: &[(usize, &str)] = &include!("../../testdata/cell_crypt.data"); + let data: &[(usize, &str)] = &include!("../../testdata/cell_crypt.rs"); let mut cc_out = OutboundClientCrypt::new(); let mut cc_in = InboundClientCrypt::new(); diff --git a/crates/tor-proto/testdata/cell_crypt.data b/crates/tor-proto/testdata/cell_crypt.rs similarity index 100% rename from crates/tor-proto/testdata/cell_crypt.data rename to crates/tor-proto/testdata/cell_crypt.rs