reallyme-foundationdb-kit 0.2.0

Production FoundationDB connector and tenant primitives for ReallyMe Platform
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// SPDX-FileCopyrightText: 2026 ReallyMe LLC
// SPDX-License-Identifier: MIT OR Apache-2.0

use super::{pack, pack_bytes};

#[test]
fn pack_bytes_matches_pack_output() {
    let value = ("tenant", 1_i64);
    let bytes_encoded = pack_bytes(&value);
    let vec_encoded = pack(&value);
    assert_eq!(bytes_encoded.as_ref(), vec_encoded.as_slice());
}