Skip to main content

zr/
lib.rs

1// Copyright 2026 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#![no_std]
6
7mod defer;
8mod lossy_utf8;
9mod opaque;
10mod opaque_bytes;
11mod pin_init;
12mod ptr;
13mod static_assert;
14mod string;
15
16pub use defer::{Deferred, defer};
17pub use lossy_utf8::from_utf8_lossy;
18pub use opaque::{Opaque, OpaqueFacade};
19pub use opaque_bytes::OpaqueBytes;
20pub use ptr::{AtomicConstPtr, ToMutPtr, slice_from_raw_parts, slice_from_raw_parts_mut};
21pub use string::{parse_usize, to_array};