From 10ee2acdd26a7f1298c6f6d6b7af9b469fe29b87 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 14:41:41 +0200 Subject: Merging upstream version 1.70.0+dfsg2. Signed-off-by: Daniel Baumann --- .../unicode/fsm/grapheme_break_fwd.bigendian.dfa | Bin 0 -> 10781 bytes .../fsm/grapheme_break_fwd.littleendian.dfa | Bin 0 -> 10781 bytes vendor/bstr/src/unicode/fsm/grapheme_break_fwd.rs | 41 +++++++++++++++++++++ .../unicode/fsm/grapheme_break_rev.bigendian.dfa | Bin 0 -> 55271 bytes .../fsm/grapheme_break_rev.littleendian.dfa | Bin 0 -> 55271 bytes vendor/bstr/src/unicode/fsm/grapheme_break_rev.rs | 41 +++++++++++++++++++++ vendor/bstr/src/unicode/fsm/mod.rs | 8 ++++ .../fsm/regional_indicator_rev.bigendian.dfa | Bin 0 -> 366 bytes .../fsm/regional_indicator_rev.littleendian.dfa | Bin 0 -> 366 bytes .../bstr/src/unicode/fsm/regional_indicator_rev.rs | 41 +++++++++++++++++++++ .../unicode/fsm/sentence_break_fwd.bigendian.dfa | Bin 0 -> 153619 bytes .../fsm/sentence_break_fwd.littleendian.dfa | Bin 0 -> 153619 bytes vendor/bstr/src/unicode/fsm/sentence_break_fwd.rs | 41 +++++++++++++++++++++ .../src/unicode/fsm/simple_word_fwd.bigendian.dfa | Bin 0 -> 9237 bytes .../unicode/fsm/simple_word_fwd.littleendian.dfa | Bin 0 -> 9237 bytes vendor/bstr/src/unicode/fsm/simple_word_fwd.rs | 41 +++++++++++++++++++++ .../fsm/whitespace_anchored_fwd.bigendian.dfa | Bin 0 -> 572 bytes .../fsm/whitespace_anchored_fwd.littleendian.dfa | Bin 0 -> 572 bytes .../src/unicode/fsm/whitespace_anchored_fwd.rs | 41 +++++++++++++++++++++ .../fsm/whitespace_anchored_rev.bigendian.dfa | Bin 0 -> 884 bytes .../fsm/whitespace_anchored_rev.littleendian.dfa | Bin 0 -> 884 bytes .../src/unicode/fsm/whitespace_anchored_rev.rs | 41 +++++++++++++++++++++ .../src/unicode/fsm/word_break_fwd.bigendian.dfa | Bin 0 -> 236309 bytes .../unicode/fsm/word_break_fwd.littleendian.dfa | Bin 0 -> 236309 bytes vendor/bstr/src/unicode/fsm/word_break_fwd.rs | 41 +++++++++++++++++++++ 25 files changed, 336 insertions(+) create mode 100644 vendor/bstr/src/unicode/fsm/grapheme_break_fwd.bigendian.dfa create mode 100644 vendor/bstr/src/unicode/fsm/grapheme_break_fwd.littleendian.dfa create mode 100644 vendor/bstr/src/unicode/fsm/grapheme_break_fwd.rs create mode 100644 vendor/bstr/src/unicode/fsm/grapheme_break_rev.bigendian.dfa create mode 100644 vendor/bstr/src/unicode/fsm/grapheme_break_rev.littleendian.dfa create mode 100644 vendor/bstr/src/unicode/fsm/grapheme_break_rev.rs create mode 100644 vendor/bstr/src/unicode/fsm/mod.rs create mode 100644 vendor/bstr/src/unicode/fsm/regional_indicator_rev.bigendian.dfa create mode 100644 vendor/bstr/src/unicode/fsm/regional_indicator_rev.littleendian.dfa create mode 100644 vendor/bstr/src/unicode/fsm/regional_indicator_rev.rs create mode 100644 vendor/bstr/src/unicode/fsm/sentence_break_fwd.bigendian.dfa create mode 100644 vendor/bstr/src/unicode/fsm/sentence_break_fwd.littleendian.dfa create mode 100644 vendor/bstr/src/unicode/fsm/sentence_break_fwd.rs create mode 100644 vendor/bstr/src/unicode/fsm/simple_word_fwd.bigendian.dfa create mode 100644 vendor/bstr/src/unicode/fsm/simple_word_fwd.littleendian.dfa create mode 100644 vendor/bstr/src/unicode/fsm/simple_word_fwd.rs create mode 100644 vendor/bstr/src/unicode/fsm/whitespace_anchored_fwd.bigendian.dfa create mode 100644 vendor/bstr/src/unicode/fsm/whitespace_anchored_fwd.littleendian.dfa create mode 100644 vendor/bstr/src/unicode/fsm/whitespace_anchored_fwd.rs create mode 100644 vendor/bstr/src/unicode/fsm/whitespace_anchored_rev.bigendian.dfa create mode 100644 vendor/bstr/src/unicode/fsm/whitespace_anchored_rev.littleendian.dfa create mode 100644 vendor/bstr/src/unicode/fsm/whitespace_anchored_rev.rs create mode 100644 vendor/bstr/src/unicode/fsm/word_break_fwd.bigendian.dfa create mode 100644 vendor/bstr/src/unicode/fsm/word_break_fwd.littleendian.dfa create mode 100644 vendor/bstr/src/unicode/fsm/word_break_fwd.rs (limited to 'vendor/bstr/src/unicode/fsm') diff --git a/vendor/bstr/src/unicode/fsm/grapheme_break_fwd.bigendian.dfa b/vendor/bstr/src/unicode/fsm/grapheme_break_fwd.bigendian.dfa new file mode 100644 index 000000000..31f99c1f5 Binary files /dev/null and b/vendor/bstr/src/unicode/fsm/grapheme_break_fwd.bigendian.dfa differ diff --git a/vendor/bstr/src/unicode/fsm/grapheme_break_fwd.littleendian.dfa b/vendor/bstr/src/unicode/fsm/grapheme_break_fwd.littleendian.dfa new file mode 100644 index 000000000..3a51728bb Binary files /dev/null and b/vendor/bstr/src/unicode/fsm/grapheme_break_fwd.littleendian.dfa differ diff --git a/vendor/bstr/src/unicode/fsm/grapheme_break_fwd.rs b/vendor/bstr/src/unicode/fsm/grapheme_break_fwd.rs new file mode 100644 index 000000000..dea4a7e3e --- /dev/null +++ b/vendor/bstr/src/unicode/fsm/grapheme_break_fwd.rs @@ -0,0 +1,41 @@ +// DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY: +// +// ucd-generate dfa --name GRAPHEME_BREAK_FWD --sparse --minimize --anchored --state-size 2 src/unicode/fsm/ [snip (arg too long)] +// +// ucd-generate 0.2.12 is available on crates.io. + +#[cfg(target_endian = "big")] +pub static GRAPHEME_BREAK_FWD: ::once_cell::sync::Lazy< + ::regex_automata::SparseDFA<&'static [u8], u16>, +> = ::once_cell::sync::Lazy::new(|| { + #[repr(C)] + struct Aligned { + _align: [u8; 0], + bytes: B, + } + + static ALIGNED: &'static Aligned<[u8]> = &Aligned { + _align: [], + bytes: *include_bytes!("grapheme_break_fwd.bigendian.dfa"), + }; + + unsafe { ::regex_automata::SparseDFA::from_bytes(&ALIGNED.bytes) } +}); + +#[cfg(target_endian = "little")] +pub static GRAPHEME_BREAK_FWD: ::once_cell::sync::Lazy< + ::regex_automata::SparseDFA<&'static [u8], u16>, +> = ::once_cell::sync::Lazy::new(|| { + #[repr(C)] + struct Aligned { + _align: [u8; 0], + bytes: B, + } + + static ALIGNED: &'static Aligned<[u8]> = &Aligned { + _align: [], + bytes: *include_bytes!("grapheme_break_fwd.littleendian.dfa"), + }; + + unsafe { ::regex_automata::SparseDFA::from_bytes(&ALIGNED.bytes) } +}); diff --git a/vendor/bstr/src/unicode/fsm/grapheme_break_rev.bigendian.dfa b/vendor/bstr/src/unicode/fsm/grapheme_break_rev.bigendian.dfa new file mode 100644 index 000000000..742d2a6a2 Binary files /dev/null and b/vendor/bstr/src/unicode/fsm/grapheme_break_rev.bigendian.dfa differ diff --git a/vendor/bstr/src/unicode/fsm/grapheme_break_rev.littleendian.dfa b/vendor/bstr/src/unicode/fsm/grapheme_break_rev.littleendian.dfa new file mode 100644 index 000000000..d1937f26c Binary files /dev/null and b/vendor/bstr/src/unicode/fsm/grapheme_break_rev.littleendian.dfa differ diff --git a/vendor/bstr/src/unicode/fsm/grapheme_break_rev.rs b/vendor/bstr/src/unicode/fsm/grapheme_break_rev.rs new file mode 100644 index 000000000..2d2cd542f --- /dev/null +++ b/vendor/bstr/src/unicode/fsm/grapheme_break_rev.rs @@ -0,0 +1,41 @@ +// DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY: +// +// ucd-generate dfa --name GRAPHEME_BREAK_REV --reverse --longest --sparse --minimize --anchored --state-size 2 src/unicode/fsm/ [snip (arg too long)] +// +// ucd-generate 0.2.12 is available on crates.io. + +#[cfg(target_endian = "big")] +pub static GRAPHEME_BREAK_REV: ::once_cell::sync::Lazy< + ::regex_automata::SparseDFA<&'static [u8], u16>, +> = ::once_cell::sync::Lazy::new(|| { + #[repr(C)] + struct Aligned { + _align: [u8; 0], + bytes: B, + } + + static ALIGNED: &'static Aligned<[u8]> = &Aligned { + _align: [], + bytes: *include_bytes!("grapheme_break_rev.bigendian.dfa"), + }; + + unsafe { ::regex_automata::SparseDFA::from_bytes(&ALIGNED.bytes) } +}); + +#[cfg(target_endian = "little")] +pub static GRAPHEME_BREAK_REV: ::once_cell::sync::Lazy< + ::regex_automata::SparseDFA<&'static [u8], u16>, +> = ::once_cell::sync::Lazy::new(|| { + #[repr(C)] + struct Aligned { + _align: [u8; 0], + bytes: B, + } + + static ALIGNED: &'static Aligned<[u8]> = &Aligned { + _align: [], + bytes: *include_bytes!("grapheme_break_rev.littleendian.dfa"), + }; + + unsafe { ::regex_automata::SparseDFA::from_bytes(&ALIGNED.bytes) } +}); diff --git a/vendor/bstr/src/unicode/fsm/mod.rs b/vendor/bstr/src/unicode/fsm/mod.rs new file mode 100644 index 000000000..ae6c499fc --- /dev/null +++ b/vendor/bstr/src/unicode/fsm/mod.rs @@ -0,0 +1,8 @@ +pub mod grapheme_break_fwd; +pub mod grapheme_break_rev; +pub mod regional_indicator_rev; +pub mod sentence_break_fwd; +pub mod simple_word_fwd; +pub mod whitespace_anchored_fwd; +pub mod whitespace_anchored_rev; +pub mod word_break_fwd; diff --git a/vendor/bstr/src/unicode/fsm/regional_indicator_rev.bigendian.dfa b/vendor/bstr/src/unicode/fsm/regional_indicator_rev.bigendian.dfa new file mode 100644 index 000000000..1a3357f71 Binary files /dev/null and b/vendor/bstr/src/unicode/fsm/regional_indicator_rev.bigendian.dfa differ diff --git a/vendor/bstr/src/unicode/fsm/regional_indicator_rev.littleendian.dfa b/vendor/bstr/src/unicode/fsm/regional_indicator_rev.littleendian.dfa new file mode 100644 index 000000000..e437aae3a Binary files /dev/null and b/vendor/bstr/src/unicode/fsm/regional_indicator_rev.littleendian.dfa differ diff --git a/vendor/bstr/src/unicode/fsm/regional_indicator_rev.rs b/vendor/bstr/src/unicode/fsm/regional_indicator_rev.rs new file mode 100644 index 000000000..db7a40fcd --- /dev/null +++ b/vendor/bstr/src/unicode/fsm/regional_indicator_rev.rs @@ -0,0 +1,41 @@ +// DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY: +// +// ucd-generate dfa --name REGIONAL_INDICATOR_REV --reverse --classes --minimize --anchored --premultiply --state-size 1 src/unicode/fsm/ \p{gcb=Regional_Indicator} +// +// ucd-generate 0.2.12 is available on crates.io. + +#[cfg(target_endian = "big")] +pub static REGIONAL_INDICATOR_REV: ::once_cell::sync::Lazy< + ::regex_automata::DenseDFA<&'static [u8], u8>, +> = ::once_cell::sync::Lazy::new(|| { + #[repr(C)] + struct Aligned { + _align: [u8; 0], + bytes: B, + } + + static ALIGNED: &'static Aligned<[u8]> = &Aligned { + _align: [], + bytes: *include_bytes!("regional_indicator_rev.bigendian.dfa"), + }; + + unsafe { ::regex_automata::DenseDFA::from_bytes(&ALIGNED.bytes) } +}); + +#[cfg(target_endian = "little")] +pub static REGIONAL_INDICATOR_REV: ::once_cell::sync::Lazy< + ::regex_automata::DenseDFA<&'static [u8], u8>, +> = ::once_cell::sync::Lazy::new(|| { + #[repr(C)] + struct Aligned { + _align: [u8; 0], + bytes: B, + } + + static ALIGNED: &'static Aligned<[u8]> = &Aligned { + _align: [], + bytes: *include_bytes!("regional_indicator_rev.littleendian.dfa"), + }; + + unsafe { ::regex_automata::DenseDFA::from_bytes(&ALIGNED.bytes) } +}); diff --git a/vendor/bstr/src/unicode/fsm/sentence_break_fwd.bigendian.dfa b/vendor/bstr/src/unicode/fsm/sentence_break_fwd.bigendian.dfa new file mode 100644 index 000000000..1abdae880 Binary files /dev/null and b/vendor/bstr/src/unicode/fsm/sentence_break_fwd.bigendian.dfa differ diff --git a/vendor/bstr/src/unicode/fsm/sentence_break_fwd.littleendian.dfa b/vendor/bstr/src/unicode/fsm/sentence_break_fwd.littleendian.dfa new file mode 100644 index 000000000..2f8aadd30 Binary files /dev/null and b/vendor/bstr/src/unicode/fsm/sentence_break_fwd.littleendian.dfa differ diff --git a/vendor/bstr/src/unicode/fsm/sentence_break_fwd.rs b/vendor/bstr/src/unicode/fsm/sentence_break_fwd.rs new file mode 100644 index 000000000..97dd658e4 --- /dev/null +++ b/vendor/bstr/src/unicode/fsm/sentence_break_fwd.rs @@ -0,0 +1,41 @@ +// DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY: +// +// ucd-generate dfa --name SENTENCE_BREAK_FWD --minimize --sparse --anchored --state-size 4 src/unicode/fsm/ [snip (arg too long)] +// +// ucd-generate 0.2.12 is available on crates.io. + +#[cfg(target_endian = "big")] +pub static SENTENCE_BREAK_FWD: ::once_cell::sync::Lazy< + ::regex_automata::SparseDFA<&'static [u8], u32>, +> = ::once_cell::sync::Lazy::new(|| { + #[repr(C)] + struct Aligned { + _align: [u8; 0], + bytes: B, + } + + static ALIGNED: &'static Aligned<[u8]> = &Aligned { + _align: [], + bytes: *include_bytes!("sentence_break_fwd.bigendian.dfa"), + }; + + unsafe { ::regex_automata::SparseDFA::from_bytes(&ALIGNED.bytes) } +}); + +#[cfg(target_endian = "little")] +pub static SENTENCE_BREAK_FWD: ::once_cell::sync::Lazy< + ::regex_automata::SparseDFA<&'static [u8], u32>, +> = ::once_cell::sync::Lazy::new(|| { + #[repr(C)] + struct Aligned { + _align: [u8; 0], + bytes: B, + } + + static ALIGNED: &'static Aligned<[u8]> = &Aligned { + _align: [], + bytes: *include_bytes!("sentence_break_fwd.littleendian.dfa"), + }; + + unsafe { ::regex_automata::SparseDFA::from_bytes(&ALIGNED.bytes) } +}); diff --git a/vendor/bstr/src/unicode/fsm/simple_word_fwd.bigendian.dfa b/vendor/bstr/src/unicode/fsm/simple_word_fwd.bigendian.dfa new file mode 100644 index 000000000..888e46599 Binary files /dev/null and b/vendor/bstr/src/unicode/fsm/simple_word_fwd.bigendian.dfa differ diff --git a/vendor/bstr/src/unicode/fsm/simple_word_fwd.littleendian.dfa b/vendor/bstr/src/unicode/fsm/simple_word_fwd.littleendian.dfa new file mode 100644 index 000000000..a1d527c74 Binary files /dev/null and b/vendor/bstr/src/unicode/fsm/simple_word_fwd.littleendian.dfa differ diff --git a/vendor/bstr/src/unicode/fsm/simple_word_fwd.rs b/vendor/bstr/src/unicode/fsm/simple_word_fwd.rs new file mode 100644 index 000000000..32b69b611 --- /dev/null +++ b/vendor/bstr/src/unicode/fsm/simple_word_fwd.rs @@ -0,0 +1,41 @@ +// DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY: +// +// ucd-generate dfa --name SIMPLE_WORD_FWD --sparse --minimize --state-size 2 src/unicode/fsm/ \w +// +// ucd-generate 0.2.12 is available on crates.io. + +#[cfg(target_endian = "big")] +pub static SIMPLE_WORD_FWD: ::once_cell::sync::Lazy< + ::regex_automata::SparseDFA<&'static [u8], u16>, +> = ::once_cell::sync::Lazy::new(|| { + #[repr(C)] + struct Aligned { + _align: [u8; 0], + bytes: B, + } + + static ALIGNED: &'static Aligned<[u8]> = &Aligned { + _align: [], + bytes: *include_bytes!("simple_word_fwd.bigendian.dfa"), + }; + + unsafe { ::regex_automata::SparseDFA::from_bytes(&ALIGNED.bytes) } +}); + +#[cfg(target_endian = "little")] +pub static SIMPLE_WORD_FWD: ::once_cell::sync::Lazy< + ::regex_automata::SparseDFA<&'static [u8], u16>, +> = ::once_cell::sync::Lazy::new(|| { + #[repr(C)] + struct Aligned { + _align: [u8; 0], + bytes: B, + } + + static ALIGNED: &'static Aligned<[u8]> = &Aligned { + _align: [], + bytes: *include_bytes!("simple_word_fwd.littleendian.dfa"), + }; + + unsafe { ::regex_automata::SparseDFA::from_bytes(&ALIGNED.bytes) } +}); diff --git a/vendor/bstr/src/unicode/fsm/whitespace_anchored_fwd.bigendian.dfa b/vendor/bstr/src/unicode/fsm/whitespace_anchored_fwd.bigendian.dfa new file mode 100644 index 000000000..bcfc4e9a1 Binary files /dev/null and b/vendor/bstr/src/unicode/fsm/whitespace_anchored_fwd.bigendian.dfa differ diff --git a/vendor/bstr/src/unicode/fsm/whitespace_anchored_fwd.littleendian.dfa b/vendor/bstr/src/unicode/fsm/whitespace_anchored_fwd.littleendian.dfa new file mode 100644 index 000000000..d534a464a Binary files /dev/null and b/vendor/bstr/src/unicode/fsm/whitespace_anchored_fwd.littleendian.dfa differ diff --git a/vendor/bstr/src/unicode/fsm/whitespace_anchored_fwd.rs b/vendor/bstr/src/unicode/fsm/whitespace_anchored_fwd.rs new file mode 100644 index 000000000..0780412ae --- /dev/null +++ b/vendor/bstr/src/unicode/fsm/whitespace_anchored_fwd.rs @@ -0,0 +1,41 @@ +// DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY: +// +// ucd-generate dfa --name WHITESPACE_ANCHORED_FWD --anchored --classes --premultiply --minimize --state-size 1 src/unicode/fsm/ \s+ +// +// ucd-generate 0.2.12 is available on crates.io. + +#[cfg(target_endian = "big")] +pub static WHITESPACE_ANCHORED_FWD: ::once_cell::sync::Lazy< + ::regex_automata::DenseDFA<&'static [u8], u8>, +> = ::once_cell::sync::Lazy::new(|| { + #[repr(C)] + struct Aligned { + _align: [u8; 0], + bytes: B, + } + + static ALIGNED: &'static Aligned<[u8]> = &Aligned { + _align: [], + bytes: *include_bytes!("whitespace_anchored_fwd.bigendian.dfa"), + }; + + unsafe { ::regex_automata::DenseDFA::from_bytes(&ALIGNED.bytes) } +}); + +#[cfg(target_endian = "little")] +pub static WHITESPACE_ANCHORED_FWD: ::once_cell::sync::Lazy< + ::regex_automata::DenseDFA<&'static [u8], u8>, +> = ::once_cell::sync::Lazy::new(|| { + #[repr(C)] + struct Aligned { + _align: [u8; 0], + bytes: B, + } + + static ALIGNED: &'static Aligned<[u8]> = &Aligned { + _align: [], + bytes: *include_bytes!("whitespace_anchored_fwd.littleendian.dfa"), + }; + + unsafe { ::regex_automata::DenseDFA::from_bytes(&ALIGNED.bytes) } +}); diff --git a/vendor/bstr/src/unicode/fsm/whitespace_anchored_rev.bigendian.dfa b/vendor/bstr/src/unicode/fsm/whitespace_anchored_rev.bigendian.dfa new file mode 100644 index 000000000..427d3a922 Binary files /dev/null and b/vendor/bstr/src/unicode/fsm/whitespace_anchored_rev.bigendian.dfa differ diff --git a/vendor/bstr/src/unicode/fsm/whitespace_anchored_rev.littleendian.dfa b/vendor/bstr/src/unicode/fsm/whitespace_anchored_rev.littleendian.dfa new file mode 100644 index 000000000..7cc3a0a99 Binary files /dev/null and b/vendor/bstr/src/unicode/fsm/whitespace_anchored_rev.littleendian.dfa differ diff --git a/vendor/bstr/src/unicode/fsm/whitespace_anchored_rev.rs b/vendor/bstr/src/unicode/fsm/whitespace_anchored_rev.rs new file mode 100644 index 000000000..3d0d7a661 --- /dev/null +++ b/vendor/bstr/src/unicode/fsm/whitespace_anchored_rev.rs @@ -0,0 +1,41 @@ +// DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY: +// +// ucd-generate dfa --name WHITESPACE_ANCHORED_REV --reverse --anchored --classes --premultiply --minimize --state-size 2 src/unicode/fsm/ \s+ +// +// ucd-generate 0.2.12 is available on crates.io. + +#[cfg(target_endian = "big")] +pub static WHITESPACE_ANCHORED_REV: ::once_cell::sync::Lazy< + ::regex_automata::DenseDFA<&'static [u16], u16>, +> = ::once_cell::sync::Lazy::new(|| { + #[repr(C)] + struct Aligned { + _align: [u16; 0], + bytes: B, + } + + static ALIGNED: &'static Aligned<[u8]> = &Aligned { + _align: [], + bytes: *include_bytes!("whitespace_anchored_rev.bigendian.dfa"), + }; + + unsafe { ::regex_automata::DenseDFA::from_bytes(&ALIGNED.bytes) } +}); + +#[cfg(target_endian = "little")] +pub static WHITESPACE_ANCHORED_REV: ::once_cell::sync::Lazy< + ::regex_automata::DenseDFA<&'static [u16], u16>, +> = ::once_cell::sync::Lazy::new(|| { + #[repr(C)] + struct Aligned { + _align: [u16; 0], + bytes: B, + } + + static ALIGNED: &'static Aligned<[u8]> = &Aligned { + _align: [], + bytes: *include_bytes!("whitespace_anchored_rev.littleendian.dfa"), + }; + + unsafe { ::regex_automata::DenseDFA::from_bytes(&ALIGNED.bytes) } +}); diff --git a/vendor/bstr/src/unicode/fsm/word_break_fwd.bigendian.dfa b/vendor/bstr/src/unicode/fsm/word_break_fwd.bigendian.dfa new file mode 100644 index 000000000..efb9c8198 Binary files /dev/null and b/vendor/bstr/src/unicode/fsm/word_break_fwd.bigendian.dfa differ diff --git a/vendor/bstr/src/unicode/fsm/word_break_fwd.littleendian.dfa b/vendor/bstr/src/unicode/fsm/word_break_fwd.littleendian.dfa new file mode 100644 index 000000000..9a716d060 Binary files /dev/null and b/vendor/bstr/src/unicode/fsm/word_break_fwd.littleendian.dfa differ diff --git a/vendor/bstr/src/unicode/fsm/word_break_fwd.rs b/vendor/bstr/src/unicode/fsm/word_break_fwd.rs new file mode 100644 index 000000000..dcb5f6bce --- /dev/null +++ b/vendor/bstr/src/unicode/fsm/word_break_fwd.rs @@ -0,0 +1,41 @@ +// DO NOT EDIT THIS FILE. IT WAS AUTOMATICALLY GENERATED BY: +// +// ucd-generate dfa --name WORD_BREAK_FWD --sparse --minimize --anchored --state-size 4 src/unicode/fsm/ [snip (arg too long)] +// +// ucd-generate 0.2.12 is available on crates.io. + +#[cfg(target_endian = "big")] +pub static WORD_BREAK_FWD: ::once_cell::sync::Lazy< + ::regex_automata::SparseDFA<&'static [u8], u32>, +> = ::once_cell::sync::Lazy::new(|| { + #[repr(C)] + struct Aligned { + _align: [u8; 0], + bytes: B, + } + + static ALIGNED: &'static Aligned<[u8]> = &Aligned { + _align: [], + bytes: *include_bytes!("word_break_fwd.bigendian.dfa"), + }; + + unsafe { ::regex_automata::SparseDFA::from_bytes(&ALIGNED.bytes) } +}); + +#[cfg(target_endian = "little")] +pub static WORD_BREAK_FWD: ::once_cell::sync::Lazy< + ::regex_automata::SparseDFA<&'static [u8], u32>, +> = ::once_cell::sync::Lazy::new(|| { + #[repr(C)] + struct Aligned { + _align: [u8; 0], + bytes: B, + } + + static ALIGNED: &'static Aligned<[u8]> = &Aligned { + _align: [], + bytes: *include_bytes!("word_break_fwd.littleendian.dfa"), + }; + + unsafe { ::regex_automata::SparseDFA::from_bytes(&ALIGNED.bytes) } +}); -- cgit v1.2.3