sway_utils/
constants.rs

1pub const MANIFEST_FILE_NAME: &str = "Forc.toml";
2pub const LOCK_FILE_NAME: &str = "Forc.lock";
3pub const TEST_MANIFEST_FILE_NAME: &str = "Cargo.toml";
4pub const TEST_DIRECTORY: &str = "tests";
5pub const SWAY_EXTENSION: &str = "sw";
6pub const USER_FORC_DIRECTORY: &str = ".forc";
7pub const SRC_DIR: &str = "src";
8pub const DEFAULT_NODE_URL: &str = "http://127.0.0.1:4000";
9pub const LANGUAGE_NAME: &str = "Sway";
10pub const STORAGE_DOMAIN: [u8; 1] = [0u8];
11pub const STORAGE_TOP_LEVEL_NAMESPACE: &str = "storage";
12pub const STORAGE_NAMESPACE_SEPARATOR: &str = "::";
13pub const STORAGE_FIELD_SEPARATOR: &str = ".";
14pub const STRUCT_FIELD_SEPARATOR: &str = ".";
15pub const LIB_ENTRY: &str = "lib.sw";
16pub const MAIN_ENTRY: &str = "main.sw";
17pub const FORC_INIT_MANIFEST_AUTHOR: &str = "FORC_INIT_MANIFEST_AUTHOR";
18// TODO: Once Fuel has its own IPFS node, default should be that node for performance reasons.
19pub const DEFAULT_IPFS_GATEWAY_URL: &str = "https://ipfs.io";