cw_dex/lib.rs
1#![warn(rust_2021_compatibility, future_incompatible, nonstandard_style)]
2#![forbid(unsafe_code)]
3#![deny(bare_trait_objects, unused_doc_comments, unused_import_braces)]
4#![warn(missing_docs)]
5
6//! # cw-dex
7//! CosmWasm abstractions for decentralized exchanges. This crate defines
8//! a set of traits to abstract out the common behavior of various
9//! decentralized exchanges so that the same contract code can be used to
10//! interact with any of them.
11//!
12//! The currently supported decentralized exchanges are:
13//! - [Osmosis]
14//!    - Via crate `cw-dex-osmosis`
15//! - [Astroport]
16//!    - Via crate `cw-dex-astroport`
17
18pub mod error;
19pub mod traits;
20
21pub use error::*;