cot 0.2.2

The Rust web framework for lazy developers.
Documentation
//! Re-exports of some of the Cot dependencies that are used in the macros
//! and the CLI.
//!
//! This is to avoid the need to add them as dependencies to the crate that uses
//! the macros.
//!
//! This is not a public API and should not be used directly.

pub use async_trait::async_trait;
pub use bytes::Bytes;
/// Rinja's macros don't work when Rinja is re-exported, so there's no point in
/// re-exporting it publicly. However, we need to re-export it here so that our
/// macros can implement traits from Rinja.
pub use rinja;
pub use tokio;

// used in the CLI
#[cfg(feature = "db")]
pub use crate::utils::graph::apply_permutation;

/// The version of the crate.
///
/// This is used in the CLI to specify the version of the crate to use in the
/// `Cargo.toml` file when creating a new Cot project.
pub const COT_VERSION: &str = env!("CARGO_PKG_VERSION");