Skip to main content

nym_network_defaults/
lib.rs

1// Copyright 2020 - Nym Technologies SA <contact@nymtech.net>
2// SPDX-License-Identifier: Apache-2.0
3
4pub mod constants;
5pub mod ecash;
6
7// if you haven't read the Cargo.toml file, the reason for all the feature-locking is that
8// this crate is imported into the ecash contract
9//
10// so if you're thinking of adding a new thing, consider feature-locking it and then just adding it to default feature
11
12#[cfg(all(feature = "env", feature = "network"))]
13pub mod env_setup;
14pub mod mainnet;
15#[cfg(feature = "network")]
16pub mod network;
17
18#[cfg(feature = "env")]
19pub mod var_names;
20
21pub use ecash::*;
22
23// re-export everything to not break existing imports
24pub use constants::*;
25#[cfg(all(feature = "env", feature = "network"))]
26pub use env_setup::*;
27#[cfg(feature = "network")]
28pub use network::*;