//! This crate defines ABI-stable atomic reference counted pointers.
#![deny(warnings)]
#![allow(unused_features)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![cfg_attr(docsrs, allow(unused_attributes))]
#![warn(clippy::all, clippy::pedantic)]
#![allow(clippy::inline_always)]
#![no_std]

mod consts;
pub use consts::*;

mod internal;
mod layout;

pub mod carc;
pub mod errors;
pub mod weak;

#[cfg(feature = "std")]
#[cfg_attr(docsrs, doc(cfg(feature = "std")))]
pub mod std;

#[cfg(feature = "serde")]
mod serde_impl;
