1mod check_map_key_order;
21mod cid;
22mod decode_dag_cbor;
23mod decode_deterministic_cbor;
24mod deterministic;
25mod encode_dag_cbor;
26mod encode_deterministic_cbor;
27mod error;
28mod value;
29
30#[cfg(kani)]
31mod nested_map_proof_tests;
32
33pub mod general;
35
36mod limits;
37pub use limits::{
38 MAX_DAG_CBOR_CONTAINER_ENTRIES, MAX_DAG_CBOR_INPUT_LEN, MAX_DAG_CBOR_NODES, MAX_NESTING_DEPTH,
39};
40
41pub use cid::{
42 compute_cid_dag_cbor, dag_cbor_multihash, is_valid_cid_string, sha2_256_content_hash,
43 try_parse_cid, verify_dag_cbor_cid, CidVerificationStatus, ContentHash, DagCborCidVerification,
44 DagCborMultihash, ParsedCid, DAG_CBOR_CODEC, MAX_CID_STRING_LEN,
45};
46pub use decode_dag_cbor::decode_dag_cbor;
47pub use decode_deterministic_cbor::decode_deterministic_cbor;
48pub use deterministic::{
49 DeterministicCborError, DeterministicCborInteger, DeterministicCborMapEntry,
50 DeterministicCborMapKey, DeterministicCborNegativeInteger, DeterministicCborProfileError,
51 DeterministicCborValue, DETERMINISTIC_CBOR_NEGATIVE_MAX, DETERMINISTIC_CBOR_NEGATIVE_MIN,
52 MAX_DETERMINISTIC_CBOR_AGGREGATE_BYTE_STRING_BYTES,
53 MAX_DETERMINISTIC_CBOR_AGGREGATE_TEXT_BYTES, MAX_DETERMINISTIC_CBOR_CONTAINER_ENTRIES,
54 MAX_DETERMINISTIC_CBOR_INPUT_LEN, MAX_DETERMINISTIC_CBOR_NESTING_DEPTH,
55 MAX_DETERMINISTIC_CBOR_NODES, MAX_DETERMINISTIC_CBOR_OUTPUT_LEN,
56};
57pub use encode_dag_cbor::encode_dag_cbor;
58pub use encode_deterministic_cbor::encode_deterministic_cbor;
59pub use error::CborError;
60pub use value::CborValue;