//! Typed dCBOR Uniform Resources (`feature = "dcbor"`, implies `std`).
//!
//! Transport payloads stay type-agnostic bytes. This module wraps those bytes
//! as [`dcbor::CBOR`] and maps the first registered CBOR tag **name** to the UR
//! type token.
//!
//! ```
//! use bcur::{Ur, ur_type};
//!
//! let ur = Ur::new(ur_type!("test"), vec![1, 2, 3]);
//! assert_eq!(ur.to_string(), "ur:test/lsadaoaxjygonesw");
//! ```
pub use ;
pub use Ur;
use crate;
/// Maps a `dcbor` failure into [`ErrorKind::CborDecode`] or
/// [`ErrorKind::CborType`]; the `dcbor` error is kept as `source()`.