Merge branch 'inc-rename' into 'main'

Rename `.inc` and other included files to end in `.rs`

Closes #381

See merge request tpo/core/arti!645
This commit is contained in:
Ian Jackson 2022-08-02 16:48:49 +00:00
commit d523ad495a
4 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ pub(crate) fn default_fallbacks() -> Vec<FallbackDirBuilder> {
bld
}
include!("fallback_dirs.inc")
include!("../data/fallback_dirs.rs")
}
impl tor_linkspec::ChanTarget for FallbackDir {

View File

@ -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();