Skip to content

Commit 8e43722

Browse files
authored
update flatbuffers to 25.9.23 (#576)
1 parent c69021f commit 8e43722

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ cssparser = { version = "0.34", optional = true }
4444
selectors = { version = "0.26", optional = true }
4545
precomputed-hash = "0.1"
4646
thiserror = "1.0"
47-
flatbuffers = { version = "25.2.10" }
47+
flatbuffers = { version = "25.9.23" }
4848

4949
[dev-dependencies]
5050
criterion = "=0.5.1"

src/flatbuffers/fb_network_filter_generated.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub mod fb {
2929
#[inline]
3030
unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner {
3131
Self {
32-
_tab: flatbuffers::Table::new(buf, loc),
32+
_tab: unsafe { flatbuffers::Table::new(buf, loc) },
3333
}
3434
}
3535
}
@@ -441,7 +441,7 @@ pub mod fb {
441441
#[inline]
442442
unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner {
443443
Self {
444-
_tab: flatbuffers::Table::new(buf, loc),
444+
_tab: unsafe { flatbuffers::Table::new(buf, loc) },
445445
}
446446
}
447447
}
@@ -672,7 +672,7 @@ pub mod fb {
672672
#[inline]
673673
unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner {
674674
Self {
675-
_tab: flatbuffers::Table::new(buf, loc),
675+
_tab: unsafe { flatbuffers::Table::new(buf, loc) },
676676
}
677677
}
678678
}
@@ -999,7 +999,7 @@ pub mod fb {
999999
#[inline]
10001000
unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner {
10011001
Self {
1002-
_tab: flatbuffers::Table::new(buf, loc),
1002+
_tab: unsafe { flatbuffers::Table::new(buf, loc) },
10031003
}
10041004
}
10051005
}
@@ -1158,7 +1158,7 @@ pub mod fb {
11581158
#[inline]
11591159
unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner {
11601160
Self {
1161-
_tab: flatbuffers::Table::new(buf, loc),
1161+
_tab: unsafe { flatbuffers::Table::new(buf, loc) },
11621162
}
11631163
}
11641164
}
@@ -2065,7 +2065,7 @@ pub mod fb {
20652065
#[inline]
20662066
unsafe fn follow(buf: &'a [u8], loc: usize) -> Self::Inner {
20672067
Self {
2068-
_tab: flatbuffers::Table::new(buf, loc),
2068+
_tab: unsafe { flatbuffers::Table::new(buf, loc) },
20692069
}
20702070
}
20712071
}
@@ -2383,14 +2383,14 @@ pub mod fb {
23832383
/// # Safety
23842384
/// Callers must trust the given bytes do indeed contain a valid `Engine`.
23852385
pub unsafe fn root_as_engine_unchecked(buf: &[u8]) -> Engine {
2386-
flatbuffers::root_unchecked::<Engine>(buf)
2386+
unsafe { flatbuffers::root_unchecked::<Engine>(buf) }
23872387
}
23882388
#[inline]
23892389
/// Assumes, without verification, that a buffer of bytes contains a size prefixed Engine and returns it.
23902390
/// # Safety
23912391
/// Callers must trust the given bytes do indeed contain a valid size prefixed `Engine`.
23922392
pub unsafe fn size_prefixed_root_as_engine_unchecked(buf: &[u8]) -> Engine {
2393-
flatbuffers::size_prefixed_root_unchecked::<Engine>(buf)
2393+
unsafe { flatbuffers::size_prefixed_root_unchecked::<Engine>(buf) }
23942394
}
23952395
#[inline]
23962396
pub fn finish_engine_buffer<'a, 'b, A: flatbuffers::Allocator + 'a>(

0 commit comments

Comments
 (0)