Skip to content

Commit 9e16a8e

Browse files
chore(Mountain): Add backup files for Cargo.toml and tauri.conf.json
Create backup copies of the current Cargo.toml and tauri.conf.json configuration files to preserve the existing Mountain binary configuration, including the Tauri identifier, productName, feature flags, and build settings.
1 parent b3aa14a commit 9e16a8e

2 files changed

Lines changed: 341 additions & 0 deletions

File tree

Cargo.toml.Backup

Lines changed: 192 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,192 @@
1+
[[bin]]
2+
name = "Mountain"
3+
path = "Source/Library.rs"
4+
5+
[build-dependencies]
6+
json5 = { workspace = true }
7+
toml_edit = { workspace = true }
8+
serde = { workspace = true, features = ["derive"] }
9+
serde_json = { workspace = true }
10+
tauri-build = { workspace = true, features = [] }
11+
toml = { workspace = true }
12+
tonic-build = { workspace = true, features = ["transport"] }
13+
tonic-prost-build = { workspace = true }
14+
15+
[dev-dependencies]
16+
tokio-test = { workspace = true }
17+
futures = { workspace = true }
18+
19+
[dependencies]
20+
tauri = { workspace = true, features = [
21+
"compression",
22+
"devtools",
23+
"image-png",
24+
"rustls-tls",
25+
"tray-icon",
26+
"wry",
27+
], default-features = false }
28+
29+
tauri-plugin-dialog = { workspace = true }
30+
tauri-plugin-fs = { workspace = true }
31+
tauri-plugin-localhost = { workspace = true }
32+
tauri-plugin-log = { workspace = true }
33+
34+
async-trait = { workspace = true }
35+
anyhow = { workspace = true } # TODO: Added for error handling in CertificateManager
36+
arboard = { workspace = true }
37+
base64 = { workspace = true }
38+
chrono = { workspace = true, features = ["serde"] }
39+
colored = { workspace = true }
40+
Common = { workspace = true }
41+
dirs = { workspace = true }
42+
Echo = { workspace = true }
43+
Air = { workspace = true, optional = true }
44+
Mist = { workspace = true }
45+
env_logger = { workspace = true }
46+
futures-util = { workspace = true, features = ["sink", "std"] }
47+
globset = { workspace = true }
48+
grep-regex = { workspace = true }
49+
grep-searcher = { workspace = true }
50+
http = { workspace = true }
51+
ignore = { workspace = true }
52+
keyring = { workspace = true }
53+
lazy_static = { workspace = true }
54+
log = { workspace = true }
55+
md5 = { workspace = true }
56+
notify = { workspace = true }
57+
num_cpus = { workspace = true }
58+
once_cell = { workspace = true }
59+
open = { workspace = true }
60+
parking_lot = { workspace = true }
61+
portable-pty = { workspace = true }
62+
portpicker = { workspace = true }
63+
prost = { workspace = true }
64+
rand = { workspace = true }
65+
regex = { workspace = true }
66+
serde = { workspace = true }
67+
serde_json = { workspace = true }
68+
sha2 = { workspace = true }
69+
sysinfo = { workspace = true }
70+
hostname = { workspace = true }
71+
thiserror = { workspace = true }
72+
tokio = { workspace = true, features = ["full"] }
73+
tokio-tungstenite = { workspace = true, features = ["rustls-tls-native-roots"] }
74+
tokio-util = { workspace = true, features = ["full"] }
75+
pem = { workspace = true }
76+
rcgen = { workspace = true }
77+
p256 = { workspace = true }
78+
x509-parser = { workspace = true }
79+
rustls-pki-types = { workspace = true }
80+
rustls = { workspace = true } # TODO: Added for TLS configuration in CertificateManager
81+
toml = { workspace = true }
82+
tonic = { workspace = true }
83+
tonic-prost = { workspace = true }
84+
url = { workspace = true, features = ["serde"] }
85+
uuid = { workspace = true, features = ["v4", "serde"] }
86+
flate2 = { workspace = true }
87+
ring = { workspace = true }
88+
bincode = { workspace = true }
89+
brotli = { workspace = true }
90+
hex = { workspace = true }
91+
opentelemetry = { workspace = true, features = ["trace"] }
92+
posthog-rs = { workspace = true }
93+
zip = { workspace = true }
94+
95+
[features]
96+
default = ["ExtensionHostCocoon", "MistNative", "AirIntegration"]
97+
98+
ExtensionHostCocoon = []
99+
100+
MistNative = []
101+
102+
Debug = []
103+
104+
AirIntegration = ["Air"]
105+
106+
# Feature flags for conditional compilation
107+
grove = []
108+
cocoon = []
109+
terminals = []
110+
debug-protocol = []
111+
scm-support = []
112+
child-processes = []
113+
Telemetry = []
114+
Development = []
115+
Test = []
116+
117+
# ===========================================================================
118+
# Tier-gating (Plan A §Rust feature flags). Every name here is mirrored by
119+
# `build.rs::IsDeclaredTierFeature`. Adding a new tier requires editing
120+
# BOTH places so typos in `.env.Land` fail loud.
121+
# ===========================================================================
122+
123+
# Tier:RemoteProcedureCall:SharedMemory 🟣 Experimental
124+
TierRemoteProcedureCallSharedMemory = []
125+
# Tier:HTTPProxy:Hyper 🟣 Experimental
126+
TierHTTPProxyHyper = []
127+
# Tier:Logger:Ring 🟣 Experimental
128+
TierLoggerRing = []
129+
# Tier:FileSystem:Layer4 🟣 Experimental
130+
TierFileSystemLayer4 = []
131+
# Tier:FindFiles:Layer4 🟣 Experimental
132+
TierFindFilesLayer4 = []
133+
# Tier:Glob:Native 🟣 Experimental - globset-compiled patterns
134+
TierGlobNative = []
135+
# Tier:FileWatcher:Layer4 🟣 Experimental - notify-rs FS events (dep is already on the crate)
136+
TierFileWatcherLayer4 = []
137+
# Tier:SchemeAssets:Hybrid 🟣 Experimental
138+
TierSchemeAssetsHybrid = []
139+
# Tier:Configuration:Eager 🟣 Experimental
140+
TierConfigurationEager = []
141+
# Tier:Diagnostics:Delta 🟣 Experimental
142+
TierDiagnosticsDelta = []
143+
# Tier:Clipboard:Layer4 🟣 Experimental - arboard crate is on the crate unconditionally
144+
TierClipboardLayer4 = []
145+
# Tier:OpenExternal:Layer4 🟣 Experimental - `open` crate is on the crate unconditionally
146+
TierOpenExternalLayer4 = []
147+
# Tier:ExtensionScan:Parallel 🟣 Experimental
148+
TierExtensionScanParallel = []
149+
150+
[lib]
151+
name = "Mountain"
152+
path = "Source/Library.rs"
153+
crate-type = ["lib", "staticlib"]
154+
155+
[package]
156+
authors = ["Source 🖋️ Open 👐🏻 <Source/Open@Editor.Land>"]
157+
autobenches = false
158+
autobins = false
159+
autoexamples = false
160+
autotests = false
161+
default-run = "Mountain"
162+
description = "Mountain ⛰️"
163+
edition = "2024"
164+
license-file = "LICENSE"
165+
name = "Mountain"
166+
publish = false
167+
include = [
168+
"build.rs",
169+
"capabilities/**/*",
170+
"Cargo.toml",
171+
"CHANGELOG.md",
172+
"gen/**/*",
173+
"icons/**/*",
174+
"LICENSE",
175+
"Mountain.key.pub",
176+
"Proto/**/*",
177+
"README.md",
178+
"Source/**/*",
179+
"tauri.conf.json",
180+
"Test/**/*",
181+
]
182+
version = "0.0.1"
183+
184+
[package.metadata.docs.rs]
185+
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
186+
all-features = true
187+
default-target = "x86_64-unknown-linux-gnu"
188+
targets = [
189+
"x86_64-unknown-linux-gnu",
190+
"x86_64-apple-darwin",
191+
"aarch64-apple-darwin",
192+
]

tauri.conf.json.Backup

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/CodeEditorLand/Tauri/Current/crates/tauri-cli/config.schema.json",
3+
"app": {
4+
"enableGTKAppId": true,
5+
"macOSPrivateApi": false,
6+
"security": {
7+
"assetProtocol": {
8+
"enable": false,
9+
"scope": []
10+
},
11+
"capabilities": [],
12+
"csp": {
13+
"block-all-mixed-content": "",
14+
"connect-src": "'self' blob: ipc: land: vscode-file: http://localhost:* https://tauri.localhost wss://tauri.localhost https: https://update.editor.land",
15+
"default-src": "'self' land:",
16+
"font-src": "'self' land: vscode-file: vscode-file://vscode-app vscode-remote-resource: vscode-managed-remote-resource: http://localhost:* https://tauri.localhost",
17+
"frame-src": "'self' vscode-webview: http://localhost:* https://tauri.localhost https://*.vscode-cdn.net",
18+
"img-src": "'self' land: data: blob: vscode-file: vscode-file://vscode-app vscode-remote-resource: vscode-managed-remote-resource: http://localhost:* https://tauri.localhost https:",
19+
"manifest-src": "'self' http://localhost:* https://tauri.localhost",
20+
"media-src": "'self' http://localhost:* https://tauri.localhost",
21+
"script-src": "'self' 'unsafe-inline' 'unsafe-eval' blob: http://localhost:* https://tauri.localhost vscode-file://vscode-app https://eu-assets.i.posthog.com",
22+
"style-src": "'self' 'unsafe-inline'",
23+
"trusted-types": "WorkerApplication amdLoader cellRendererEditorText defaultWorkerFactory diffEditorWidget diffReview domLineBreaksComputer dompurify editorGhostText editorViewLayer notebookRenderer stickyScrollViewLayer tokenizeToString notebookChatEditController richScreenReaderContent collapsedCellPreview chatDebugTokenizer"
24+
},
25+
"dangerousDisableAssetCspModification": true,
26+
"devCsp": {
27+
"block-all-mixed-content": "",
28+
"connect-src": "'self' blob: ipc: land: vscode-file: http://localhost:* https://tauri.localhost wss://tauri.localhost https: https://update.editor.land",
29+
"default-src": "'self' land:",
30+
"font-src": "'self' land: vscode-file: vscode-file://vscode-app vscode-remote-resource: vscode-managed-remote-resource: http://localhost:* https://tauri.localhost",
31+
"frame-src": "'self' vscode-webview: http://localhost:* https://tauri.localhost https://*.vscode-cdn.net",
32+
"img-src": "'self' land: data: blob: vscode-file: vscode-file://vscode-app vscode-remote-resource: vscode-managed-remote-resource: http://localhost:* https://tauri.localhost https:",
33+
"manifest-src": "'self' http://localhost:* https://tauri.localhost",
34+
"media-src": "'self' http://localhost:* https://tauri.localhost",
35+
"script-src": "'self' 'unsafe-inline' 'unsafe-eval' blob: http://localhost:* https://tauri.localhost vscode-file://vscode-app https://eu-assets.i.posthog.com",
36+
"style-src": "'self' 'unsafe-inline'",
37+
"trusted-types": "WorkerApplication amdLoader cellRendererEditorText defaultWorkerFactory diffEditorWidget diffReview domLineBreaksComputer dompurify editorGhostText editorViewLayer notebookRenderer stickyScrollViewLayer tokenizeToString notebookChatEditController richScreenReaderContent collapsedCellPreview chatDebugTokenizer"
38+
},
39+
"freezePrototype": false,
40+
"pattern": {
41+
"use": "brownfield"
42+
}
43+
},
44+
"trayIcon": {
45+
"iconAsTemplate": false,
46+
"iconPath": "icons/icon.png",
47+
"id": "Tray",
48+
"showMenuOnLeftClick": true,
49+
"title": "FIDDEE",
50+
"tooltip": "Open"
51+
},
52+
"windows": [],
53+
"withGlobalTauri": true
54+
},
55+
"build": {
56+
"beforeBuildCommand": "pnpm run prepublishOnly --filter=@codeeditorland/sky --force",
57+
"beforeBundleCommand": "",
58+
"beforeDevCommand": "pnpm run Run --filter=@codeeditorland/sky --force",
59+
"devUrl": null,
60+
"features": [],
61+
"frontendDist": "../Sky/Target",
62+
"runner": "cargo"
63+
},
64+
"bundle": {
65+
"active": true,
66+
"android": {
67+
"minSdkVersion": 24
68+
},
69+
"category": "DeveloperTool",
70+
"copyright": "PlayForm",
71+
"createUpdaterArtifacts": false,
72+
"externalBin": [
73+
"Binary/node"
74+
],
75+
"fileAssociations": [],
76+
"homepage": "https://Editor.Land",
77+
"iOS": {
78+
"developmentTeam": "Land",
79+
"frameworks": [],
80+
"minimumSystemVersion": "13.0",
81+
"template": ""
82+
},
83+
"icon": [
84+
"icons/32x32.png",
85+
"icons/128x128.png",
86+
"icons/128x128@2x.png",
87+
"icons/icon.icns",
88+
"icons/icon.ico"
89+
],
90+
"license": "CC0",
91+
"licenseFile": "LICENSE",
92+
"linux": {
93+
"appimage": {
94+
"bundleMediaFramework": false,
95+
"files": {}
96+
},
97+
"deb": {
98+
"files": {}
99+
},
100+
"rpm": {
101+
"epoch": 0,
102+
"files": {},
103+
"release": "1"
104+
}
105+
},
106+
"longDescription": "",
107+
"macOS": {
108+
"dmg": {
109+
"appPosition": {
110+
"x": 0,
111+
"y": 0
112+
},
113+
"applicationFolderPosition": {
114+
"x": 0,
115+
"y": 0
116+
},
117+
"windowSize": {
118+
"height": 600,
119+
"width": 800
120+
}
121+
},
122+
"entitlements": "./Entitlements.plist",
123+
"files": {},
124+
"hardenedRuntime": true,
125+
"minimumSystemVersion": "10.15"
126+
},
127+
"publisher": "PlayForm",
128+
"resources": null,
129+
"shortDescription": "",
130+
"targets": [
131+
"app"
132+
],
133+
"windows": {
134+
"allowDowngrades": true,
135+
"certificateThumbprint": null,
136+
"digestAlgorithm": null,
137+
"signCommand": null,
138+
"timestampUrl": null,
139+
"tsp": false,
140+
"webviewInstallMode": {
141+
"silent": false,
142+
"type": "embedBootstrapper"
143+
}
144+
}
145+
},
146+
"identifier": "land.editor.binary",
147+
"productName": "Mountain",
148+
"version": "0.0.1"
149+
}

0 commit comments

Comments
 (0)