• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2 // Copyright by contributors to this project.
3 // SPDX-License-Identifier: (Apache-2.0 OR MIT)
4 
5 mod bundle;
6 mod filtering_common;
7 
8 #[cfg(feature = "by_ref_proposal")]
9 mod filtering;
10 #[cfg(not(feature = "by_ref_proposal"))]
11 pub mod filtering_lite;
12 #[cfg(all(feature = "custom_proposal", not(feature = "by_ref_proposal")))]
13 use filtering_lite as filtering;
14 
15 pub use bundle::{ProposalBundle, ProposalInfo, ProposalSource};
16 
17 #[cfg(feature = "by_ref_proposal")]
18 pub(crate) use filtering::FilterStrategy;
19 
20 pub(crate) use filtering_common::ProposalApplier;
21 
22 #[cfg(all(feature = "by_ref_proposal", test))]
23 pub(crate) use filtering::proposer_can_propose;
24