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:
commit
d523ad495a
|
@ -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 {
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue