1#![allow(dead_code)]
16
17mod attrs;
18mod blake2;
19mod chain_extension;
20mod config;
21mod contract;
22mod event;
23mod idents_lint;
24mod ink_test;
25mod item;
26mod item_impl;
27mod item_mod;
28mod selector;
29mod sha3;
30mod storage_item;
31mod trait_def;
32pub mod utils;
33
34const CFG_IDENT: &str = "cfg";
35
36pub mod marker {
38 pub use super::selector::{
39 SelectorBytes,
40 SelectorId,
41 };
42}
43
44#[cfg(test)]
45use self::attrs::Attribute;
46
47use self::attrs::{
48 contains_ink_attributes,
49 first_ink_attribute,
50 partition_attributes,
51 sanitize_attributes,
52 sanitize_optional_attributes,
53 AttributeArg,
54 AttributeArgKind,
55 AttributeFrag,
56 InkAttribute,
57};
58pub use self::{
59 attrs::{
60 IsDocAttribute,
61 Namespace,
62 },
63 blake2::{
64 blake2b_256,
65 Blake2x256Macro,
66 },
67 chain_extension::{
68 ChainExtension,
69 ChainExtensionMethod,
70 ExtensionId,
71 },
72 config::{
73 Abi,
74 Config,
75 },
76 contract::Contract,
77 event::{
78 Event,
79 SignatureTopicArg,
80 },
81 ink_test::InkTest,
82 item::{
83 InkItem,
84 Item,
85 Storage,
86 },
87 item_impl::{
88 Callable,
89 CallableKind,
90 CallableWithSelector,
91 Constructor,
92 ImplItem,
93 InputsIter,
94 ItemImpl,
95 IterConstructors,
96 IterMessages,
97 Message,
98 Receiver,
99 Visibility,
100 },
101 item_mod::{
102 ItemMod,
103 IterEvents,
104 IterItemImpls,
105 },
106 selector::{
107 Selector,
108 SelectorMacro,
109 TraitPrefix,
110 },
111 storage_item::StorageItem,
112 trait_def::{
113 InkItemTrait,
114 InkTraitDefinition,
115 InkTraitItem,
116 InkTraitMessage,
117 IterInkTraitItems,
118 },
119};