1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/// Canonical project manifest filename discovered by `euv` commands.
pub const EUV_TOML_NAME: &str = "euv.toml";
/// Cargo lockfile name inspected for locked dependency versions such as `wasm-bindgen`.
pub const CARGO_LOCK_NAME: &str = "Cargo.lock";
/// Default fallback crate name when discovering the `wasm-bindgen` runtime version in `Cargo.lock`.
pub const CRATE_WASM_BINDGEN: &str = "wasm-bindgen";
pub const FALLBACK_CLI_VERSION: &str = env!;
pub const SECTION_APP: &str = "app";
pub const SECTION_BUILD: &str = "build";
pub const SECTION_OTA: &str = "ota";
pub const SECTION_DOCS: &str = "docs";
pub const SECTION_WORKSPACE: &str = "workspace";
pub const SECTION_WORKSPACE_PACKAGE: &str = "workspace.package";
pub const SECTION_PACKAGE: &str = "package";
pub const SECTION_LIB: &str = "lib";
pub const SECTION_BIN_ARRAY: &str = "[bin]";
pub const TOML_PACKAGE_TABLE_HEADER: &str = "[[package]]";
pub const TOML_WORKSPACE_HEADER: &str = "[workspace]";
pub const KEY_NAME: &str = "name";
pub const KEY_VERSION: &str = "version";
pub const KEY_VERSION_WORKSPACE: &str = "version.workspace";
pub const KEY_BUNDLE_ID: &str = "bundle_id";
pub const KEY_PACKAGE: &str = "package";
pub const KEY_ICON: &str = "icon";
pub const KEY_DEFAULT_TARGETS: &str = "default_targets";
pub const KEY_RENDER: &str = "render";
pub const KEY_OUT_DIR: &str = "out_dir";
pub const KEY_BASE: &str = "base";
pub const KEY_RAW_WASM: &str = "raw_wasm";
pub const KEY_SKIP_WASM_OPT: &str = "skip_wasm_opt";
pub const KEY_INCLUDE_CLI: &str = "include_cli";
pub const KEY_PARALLEL: &str = "parallel";
pub const KEY_ANDROID_API_LEVEL: &str = "android_api_level";
pub const KEY_ANDROID_BUILD_TOOLS: &str = "android_build_tools";
pub const KEY_IOS_TEAM_ID: &str = "ios_team_id";
pub const KEY_PROJECT: &str = "project";
pub const KEY_CHANNEL: &str = "channel";
pub const KEY_STORE: &str = "store";
pub const KEY_SERVER_URL: &str = "server_url";
pub const KEY_PROXY_BASE: &str = "proxy_base";
pub const KEY_SRC: &str = "src";
pub const KEY_OUT: &str = "out";
pub const KEY_TITLE: &str = "title";
pub const KEY_WASM: &str = "wasm";
pub const KEY_MEMBERS: &str = "members";
pub const KEY_CRATE_TYPE: &str = "crate-type";
pub const TOKEN_CDYLIB: &str = "cdylib";
pub const TOKEN_TRUE: &str = "true";
pub const TOKEN_FALSE: &str = "false";
pub const EXAMPLE_PKG_HINT: &str = "euv-example";
pub const ERR_INVALID_EUV_TOML: &str = "invalid euv.toml syntax";
pub const ERR_CARGO_MANIFEST_NOT_FOUND: &str =
"could not locate Cargo.toml in current or ancestor directories";