Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Added complete scripts for generating third party license files

Mikayla Makid060114f00c1
diff --git a/assets/licenses.md b/assets/licenses.md
index b4c705632be..5d70eab88b9 100644
--- a/assets/licenses.md
+++ b/assets/licenses.md
@@ -1 +1 @@
-TWSTS
\ No newline at end of file
+Place holder
\ No newline at end of file
diff --git a/crates/activity_indicator/Cargo.toml b/crates/activity_indicator/Cargo.toml
index 63998fa47b3..78a4e752b25 100644
--- a/crates/activity_indicator/Cargo.toml
+++ b/crates/activity_indicator/Cargo.toml
@@ -2,6 +2,7 @@
name = "activity_indicator"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/activity_indicator.rs"
diff --git a/crates/assets/Cargo.toml b/crates/assets/Cargo.toml
index 71db57f320e..ca96c92602f 100644
--- a/crates/assets/Cargo.toml
+++ b/crates/assets/Cargo.toml
@@ -2,6 +2,7 @@
name = "assets"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/assets.rs"
diff --git a/crates/auto_update/Cargo.toml b/crates/auto_update/Cargo.toml
index b1ca061614b..5f672e759f6 100644
--- a/crates/auto_update/Cargo.toml
+++ b/crates/auto_update/Cargo.toml
@@ -2,6 +2,7 @@
name = "auto_update"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/auto_update.rs"
diff --git a/crates/breadcrumbs/Cargo.toml b/crates/breadcrumbs/Cargo.toml
index e5cae74e8f6..99476fdc0ac 100644
--- a/crates/breadcrumbs/Cargo.toml
+++ b/crates/breadcrumbs/Cargo.toml
@@ -2,6 +2,7 @@
name = "breadcrumbs"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/breadcrumbs.rs"
diff --git a/crates/call/Cargo.toml b/crates/call/Cargo.toml
index e6aa357bef8..156925fb72e 100644
--- a/crates/call/Cargo.toml
+++ b/crates/call/Cargo.toml
@@ -2,6 +2,7 @@
name = "call"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/call.rs"
diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml
index fafcc5ab682..f2bab22ea71 100644
--- a/crates/cli/Cargo.toml
+++ b/crates/cli/Cargo.toml
@@ -2,6 +2,7 @@
name = "cli"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/cli.rs"
diff --git a/crates/client/Cargo.toml b/crates/client/Cargo.toml
index 74533fbc3b0..347424d34e4 100644
--- a/crates/client/Cargo.toml
+++ b/crates/client/Cargo.toml
@@ -2,6 +2,7 @@
name = "client"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/client.rs"
diff --git a/crates/clock/Cargo.toml b/crates/clock/Cargo.toml
index 8e17e15e5ea..1705fdc6d5a 100644
--- a/crates/clock/Cargo.toml
+++ b/crates/clock/Cargo.toml
@@ -2,6 +2,7 @@
name = "clock"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/clock.rs"
diff --git a/crates/collab/Cargo.toml b/crates/collab/Cargo.toml
index 8c21af72737..456bcf6531a 100644
--- a/crates/collab/Cargo.toml
+++ b/crates/collab/Cargo.toml
@@ -4,6 +4,7 @@ default-run = "collab"
edition = "2021"
name = "collab"
version = "0.5.3"
+publish = false
[[bin]]
name = "collab"
diff --git a/crates/collab_ui/Cargo.toml b/crates/collab_ui/Cargo.toml
index 20db066ce72..ac13e361fd9 100644
--- a/crates/collab_ui/Cargo.toml
+++ b/crates/collab_ui/Cargo.toml
@@ -2,6 +2,7 @@
name = "collab_ui"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/collab_ui.rs"
diff --git a/crates/collections/Cargo.toml b/crates/collections/Cargo.toml
index 8e18cbd11db..dcbc642c4c4 100644
--- a/crates/collections/Cargo.toml
+++ b/crates/collections/Cargo.toml
@@ -2,6 +2,7 @@
name = "collections"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/collections.rs"
diff --git a/crates/command_palette/Cargo.toml b/crates/command_palette/Cargo.toml
index 85f5b36ed6c..555deff1ce6 100644
--- a/crates/command_palette/Cargo.toml
+++ b/crates/command_palette/Cargo.toml
@@ -2,6 +2,7 @@
name = "command_palette"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/command_palette.rs"
diff --git a/crates/context_menu/Cargo.toml b/crates/context_menu/Cargo.toml
index 817893f43eb..d764d4ddb8f 100644
--- a/crates/context_menu/Cargo.toml
+++ b/crates/context_menu/Cargo.toml
@@ -2,6 +2,7 @@
name = "context_menu"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/context_menu.rs"
diff --git a/crates/db/Cargo.toml b/crates/db/Cargo.toml
index 8e12b06027a..496e61b8114 100644
--- a/crates/db/Cargo.toml
+++ b/crates/db/Cargo.toml
@@ -2,6 +2,7 @@
name = "db"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/db.rs"
diff --git a/crates/diagnostics/Cargo.toml b/crates/diagnostics/Cargo.toml
index 616f69117f1..ebb57e0636a 100644
--- a/crates/diagnostics/Cargo.toml
+++ b/crates/diagnostics/Cargo.toml
@@ -2,6 +2,7 @@
name = "diagnostics"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/diagnostics.rs"
diff --git a/crates/drag_and_drop/Cargo.toml b/crates/drag_and_drop/Cargo.toml
index 4ab54ad8e65..e378a5bc310 100644
--- a/crates/drag_and_drop/Cargo.toml
+++ b/crates/drag_and_drop/Cargo.toml
@@ -2,6 +2,7 @@
name = "drag_and_drop"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/drag_and_drop.rs"
diff --git a/crates/editor/Cargo.toml b/crates/editor/Cargo.toml
index f992ed5116d..26dd3710415 100644
--- a/crates/editor/Cargo.toml
+++ b/crates/editor/Cargo.toml
@@ -2,6 +2,7 @@
name = "editor"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/editor.rs"
diff --git a/crates/file_finder/Cargo.toml b/crates/file_finder/Cargo.toml
index 6fd792940d9..1d1a4dfb1bc 100644
--- a/crates/file_finder/Cargo.toml
+++ b/crates/file_finder/Cargo.toml
@@ -2,6 +2,7 @@
name = "file_finder"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/file_finder.rs"
diff --git a/crates/fs/Cargo.toml b/crates/fs/Cargo.toml
index 5b9082d1147..cd6c8f969c8 100644
--- a/crates/fs/Cargo.toml
+++ b/crates/fs/Cargo.toml
@@ -2,6 +2,7 @@
name = "fs"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/fs.rs"
diff --git a/crates/fsevent/Cargo.toml b/crates/fsevent/Cargo.toml
index 3bf7ae885b5..e71e247bf26 100644
--- a/crates/fsevent/Cargo.toml
+++ b/crates/fsevent/Cargo.toml
@@ -3,6 +3,7 @@ name = "fsevent"
version = "2.0.2"
license = "MIT"
edition = "2021"
+publish = false
[lib]
path = "src/fsevent.rs"
diff --git a/crates/fuzzy/Cargo.toml b/crates/fuzzy/Cargo.toml
index e36c22055a3..553c0497a58 100644
--- a/crates/fuzzy/Cargo.toml
+++ b/crates/fuzzy/Cargo.toml
@@ -2,6 +2,7 @@
name = "fuzzy"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/fuzzy.rs"
diff --git a/crates/git/Cargo.toml b/crates/git/Cargo.toml
index 66202a489aa..3e88d723139 100644
--- a/crates/git/Cargo.toml
+++ b/crates/git/Cargo.toml
@@ -2,6 +2,7 @@
name = "git"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/git.rs"
diff --git a/crates/go_to_line/Cargo.toml b/crates/go_to_line/Cargo.toml
index 93ae96f93e2..def6361dc2a 100644
--- a/crates/go_to_line/Cargo.toml
+++ b/crates/go_to_line/Cargo.toml
@@ -2,6 +2,7 @@
name = "go_to_line"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/go_to_line.rs"
diff --git a/crates/gpui/Cargo.toml b/crates/gpui/Cargo.toml
index 5153c1f7c16..e1b6e11b468 100644
--- a/crates/gpui/Cargo.toml
+++ b/crates/gpui/Cargo.toml
@@ -4,6 +4,7 @@ edition = "2021"
name = "gpui"
version = "0.1.0"
description = "A GPU-accelerated UI framework"
+publish = false
[lib]
path = "src/gpui.rs"
diff --git a/crates/gpui_macros/Cargo.toml b/crates/gpui_macros/Cargo.toml
index e35e0b1d2b5..76daeae2a84 100644
--- a/crates/gpui_macros/Cargo.toml
+++ b/crates/gpui_macros/Cargo.toml
@@ -2,6 +2,7 @@
name = "gpui_macros"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/gpui_macros.rs"
diff --git a/crates/journal/Cargo.toml b/crates/journal/Cargo.toml
index 9622049a9cf..b532397dd1d 100644
--- a/crates/journal/Cargo.toml
+++ b/crates/journal/Cargo.toml
@@ -2,6 +2,7 @@
name = "journal"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/journal.rs"
diff --git a/crates/language/Cargo.toml b/crates/language/Cargo.toml
index 6c074a2d75e..ab6c687b7a8 100644
--- a/crates/language/Cargo.toml
+++ b/crates/language/Cargo.toml
@@ -2,6 +2,7 @@
name = "language"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/language.rs"
diff --git a/crates/live_kit_client/Cargo.toml b/crates/live_kit_client/Cargo.toml
index d0f54782b96..01457375084 100644
--- a/crates/live_kit_client/Cargo.toml
+++ b/crates/live_kit_client/Cargo.toml
@@ -3,6 +3,7 @@ name = "live_kit_client"
version = "0.1.0"
edition = "2021"
description = "Bindings to LiveKit Swift client SDK"
+publish = false
[lib]
path = "src/live_kit_client.rs"
diff --git a/crates/live_kit_server/Cargo.toml b/crates/live_kit_server/Cargo.toml
index 64267f62d17..17ee3cd62e2 100644
--- a/crates/live_kit_server/Cargo.toml
+++ b/crates/live_kit_server/Cargo.toml
@@ -3,6 +3,7 @@ name = "live_kit_server"
version = "0.1.0"
edition = "2021"
description = "SDK for the LiveKit server API"
+publish = false
[lib]
path = "src/live_kit_server.rs"
diff --git a/crates/lsp/Cargo.toml b/crates/lsp/Cargo.toml
index 94780a9472c..eb6e02aac91 100644
--- a/crates/lsp/Cargo.toml
+++ b/crates/lsp/Cargo.toml
@@ -2,6 +2,7 @@
name = "lsp"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/lsp.rs"
diff --git a/crates/media/Cargo.toml b/crates/media/Cargo.toml
index aad2b74c021..4c230819e2a 100644
--- a/crates/media/Cargo.toml
+++ b/crates/media/Cargo.toml
@@ -2,6 +2,7 @@
name = "media"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/media.rs"
diff --git a/crates/menu/Cargo.toml b/crates/menu/Cargo.toml
index cdcacd44163..c473df7ef01 100644
--- a/crates/menu/Cargo.toml
+++ b/crates/menu/Cargo.toml
@@ -2,6 +2,7 @@
name = "menu"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/menu.rs"
diff --git a/crates/outline/Cargo.toml b/crates/outline/Cargo.toml
index 5b4751e6204..661c84c8cdc 100644
--- a/crates/outline/Cargo.toml
+++ b/crates/outline/Cargo.toml
@@ -2,6 +2,7 @@
name = "outline"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/outline.rs"
diff --git a/crates/picker/Cargo.toml b/crates/picker/Cargo.toml
index 64386979103..e7a8079caa9 100644
--- a/crates/picker/Cargo.toml
+++ b/crates/picker/Cargo.toml
@@ -2,6 +2,7 @@
name = "picker"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/picker.rs"
diff --git a/crates/plugin/Cargo.toml b/crates/plugin/Cargo.toml
index 6f37c458d9c..7bf55104659 100644
--- a/crates/plugin/Cargo.toml
+++ b/crates/plugin/Cargo.toml
@@ -2,6 +2,7 @@
name = "plugin"
version = "0.1.0"
edition = "2021"
+publish = false
[dependencies]
serde = "1.0"
diff --git a/crates/plugin_macros/Cargo.toml b/crates/plugin_macros/Cargo.toml
index b0a2c4e09bb..32bfc6a01af 100644
--- a/crates/plugin_macros/Cargo.toml
+++ b/crates/plugin_macros/Cargo.toml
@@ -2,6 +2,7 @@
name = "plugin_macros"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
proc-macro = true
diff --git a/crates/plugin_runtime/Cargo.toml b/crates/plugin_runtime/Cargo.toml
index a8c0a063a87..b5cfb9514f3 100644
--- a/crates/plugin_runtime/Cargo.toml
+++ b/crates/plugin_runtime/Cargo.toml
@@ -2,6 +2,7 @@
name = "plugin_runtime"
version = "0.1.0"
edition = "2021"
+publish = false
[dependencies]
wasmtime = "0.38"
diff --git a/crates/project/Cargo.toml b/crates/project/Cargo.toml
index 6d6560ea384..949dbdf9164 100644
--- a/crates/project/Cargo.toml
+++ b/crates/project/Cargo.toml
@@ -2,6 +2,7 @@
name = "project"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/project.rs"
diff --git a/crates/project_panel/Cargo.toml b/crates/project_panel/Cargo.toml
index 8704f57c8c0..cc27f40954f 100644
--- a/crates/project_panel/Cargo.toml
+++ b/crates/project_panel/Cargo.toml
@@ -2,6 +2,7 @@
name = "project_panel"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/project_panel.rs"
diff --git a/crates/project_symbols/Cargo.toml b/crates/project_symbols/Cargo.toml
index a426e2e0d49..e9283b14c9b 100644
--- a/crates/project_symbols/Cargo.toml
+++ b/crates/project_symbols/Cargo.toml
@@ -2,6 +2,7 @@
name = "project_symbols"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/project_symbols.rs"
diff --git a/crates/recent_projects/Cargo.toml b/crates/recent_projects/Cargo.toml
index d633381365b..037c6fd4fb7 100644
--- a/crates/recent_projects/Cargo.toml
+++ b/crates/recent_projects/Cargo.toml
@@ -2,6 +2,7 @@
name = "recent_projects"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/recent_projects.rs"
diff --git a/crates/rope/Cargo.toml b/crates/rope/Cargo.toml
index e9ddcc8195a..8257ef4a6e7 100644
--- a/crates/rope/Cargo.toml
+++ b/crates/rope/Cargo.toml
@@ -2,6 +2,7 @@
name = "rope"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/rope.rs"
diff --git a/crates/rpc/Cargo.toml b/crates/rpc/Cargo.toml
index cd959e75a17..25c2ce1ca73 100644
--- a/crates/rpc/Cargo.toml
+++ b/crates/rpc/Cargo.toml
@@ -3,6 +3,7 @@ description = "Shared logic for communication between the Zed app and the zed.de
edition = "2021"
name = "rpc"
version = "0.1.0"
+publish = false
[lib]
path = "src/rpc.rs"
diff --git a/crates/search/Cargo.toml b/crates/search/Cargo.toml
index 3a5d9468fc0..f36865a89b4 100644
--- a/crates/search/Cargo.toml
+++ b/crates/search/Cargo.toml
@@ -2,6 +2,7 @@
name = "search"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/search.rs"
diff --git a/crates/settings/Cargo.toml b/crates/settings/Cargo.toml
index a292358e750..c1ec2a6210c 100644
--- a/crates/settings/Cargo.toml
+++ b/crates/settings/Cargo.toml
@@ -2,6 +2,7 @@
name = "settings"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/settings.rs"
diff --git a/crates/snippet/Cargo.toml b/crates/snippet/Cargo.toml
index 03a0f8314a1..429f5d416e0 100644
--- a/crates/snippet/Cargo.toml
+++ b/crates/snippet/Cargo.toml
@@ -2,6 +2,7 @@
name = "snippet"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/snippet.rs"
diff --git a/crates/sqlez/Cargo.toml b/crates/sqlez/Cargo.toml
index 78bf83dc303..8409a1dff5a 100644
--- a/crates/sqlez/Cargo.toml
+++ b/crates/sqlez/Cargo.toml
@@ -2,6 +2,7 @@
name = "sqlez"
version = "0.1.0"
edition = "2021"
+publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
diff --git a/crates/sqlez_macros/Cargo.toml b/crates/sqlez_macros/Cargo.toml
index 423b4945005..8d650074c39 100644
--- a/crates/sqlez_macros/Cargo.toml
+++ b/crates/sqlez_macros/Cargo.toml
@@ -2,6 +2,7 @@
name = "sqlez_macros"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/sqlez_macros.rs"
diff --git a/crates/sum_tree/Cargo.toml b/crates/sum_tree/Cargo.toml
index 02cad4fb9d9..3aab16cc3e7 100644
--- a/crates/sum_tree/Cargo.toml
+++ b/crates/sum_tree/Cargo.toml
@@ -2,6 +2,7 @@
name = "sum_tree"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/sum_tree.rs"
diff --git a/crates/terminal/Cargo.toml b/crates/terminal/Cargo.toml
index 0dea7bfbcfa..c6f33a0fc76 100644
--- a/crates/terminal/Cargo.toml
+++ b/crates/terminal/Cargo.toml
@@ -2,6 +2,7 @@
name = "terminal"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/terminal.rs"
diff --git a/crates/terminal_view/Cargo.toml b/crates/terminal_view/Cargo.toml
index 05fda2c75f6..f12e4be03bd 100644
--- a/crates/terminal_view/Cargo.toml
+++ b/crates/terminal_view/Cargo.toml
@@ -2,6 +2,7 @@
name = "terminal_view"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/terminal_view.rs"
diff --git a/crates/text/Cargo.toml b/crates/text/Cargo.toml
index ad960ec93ed..5fda4b613c0 100644
--- a/crates/text/Cargo.toml
+++ b/crates/text/Cargo.toml
@@ -2,6 +2,7 @@
name = "text"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/text.rs"
diff --git a/crates/theme/Cargo.toml b/crates/theme/Cargo.toml
index 36de158afe7..1e9883860fa 100644
--- a/crates/theme/Cargo.toml
+++ b/crates/theme/Cargo.toml
@@ -2,6 +2,7 @@
name = "theme"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/theme.rs"
diff --git a/crates/theme_selector/Cargo.toml b/crates/theme_selector/Cargo.toml
index 59cb5fbc2c9..8f6fc746001 100644
--- a/crates/theme_selector/Cargo.toml
+++ b/crates/theme_selector/Cargo.toml
@@ -2,6 +2,7 @@
name = "theme_selector"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/theme_selector.rs"
diff --git a/crates/theme_testbench/Cargo.toml b/crates/theme_testbench/Cargo.toml
index 5fb263501f0..763727fc68d 100644
--- a/crates/theme_testbench/Cargo.toml
+++ b/crates/theme_testbench/Cargo.toml
@@ -2,6 +2,7 @@
name = "theme_testbench"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/theme_testbench.rs"
diff --git a/crates/util/Cargo.toml b/crates/util/Cargo.toml
index 0a0bacf53c0..4cbaa382e84 100644
--- a/crates/util/Cargo.toml
+++ b/crates/util/Cargo.toml
@@ -2,6 +2,7 @@
name = "util"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
doctest = false
diff --git a/crates/vim/Cargo.toml b/crates/vim/Cargo.toml
index daefebdbdda..bd94e48b9e7 100644
--- a/crates/vim/Cargo.toml
+++ b/crates/vim/Cargo.toml
@@ -2,6 +2,7 @@
name = "vim"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/vim.rs"
diff --git a/crates/workspace/Cargo.toml b/crates/workspace/Cargo.toml
index 5894a2a44e6..60680f82a22 100644
--- a/crates/workspace/Cargo.toml
+++ b/crates/workspace/Cargo.toml
@@ -2,6 +2,7 @@
name = "workspace"
version = "0.1.0"
edition = "2021"
+publish = false
[lib]
path = "src/workspace.rs"
diff --git a/crates/zed/Cargo.toml b/crates/zed/Cargo.toml
index 63719b70031..f2e82bd63fe 100644
--- a/crates/zed/Cargo.toml
+++ b/crates/zed/Cargo.toml
@@ -4,6 +4,7 @@ description = "The fast, collaborative code editor."
edition = "2021"
name = "zed"
version = "0.71.0"
+publish = false
[lib]
name = "zed"
diff --git a/script/collect-licenses.rs b/script/collect-licenses.rs
deleted file mode 100755
index 2814feaa089..00000000000
--- a/script/collect-licenses.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-//usr/bin/env rustc $0 -o a.out && ./a.out ; rm -f ./a.out ; exit
-
-fn main() {
- println!("Hello world");
-
-
-}
-
-// Next steps:
-// 1a. Add wiring in Zed to check for a licenses markdown file
-// 1b. Add wiring in Zed.dev for builds to publish licenses alongside releases as well as licenses for Zed.dev itself
-// (e.g. https://github.com/zed-industries/zed.dev/tree/main/content/licenses)
-// 2. Figure out how to run those commands and get the license text for each MIT and Apache licensed software
-// 3. Add in the configuration file:
-// a. and refactor this script to have types of licenses
-// b. add callback handlers for each type,
-// c. check if the handler succeeds
diff --git a/script/generate-licenses b/script/generate-licenses
new file mode 100755
index 00000000000..31febf263f3
--- /dev/null
+++ b/script/generate-licenses
@@ -0,0 +1,10 @@
+#!/bin/bash
+cargo about generate --workspace -o assets/licenses.md -c script/licenses/zed-licenses.toml script/licenses/template.hbs.md
+
+# cargo about automatically html-escapes all output, so we need to undo it here:
+sed -i '' 's/"/"/g' assets/licenses.md
+sed -i '' 's/'/'\''/g' assets/licenses.md # `'\''` ends the string, appends a single quote, and re-opens the string
+sed -i '' 's/=/=/g' assets/licenses.md
+sed -i '' 's/`/`/g' assets/licenses.md
+sed -i '' 's/&lt;/</g' assets/licenses.md
+sed -i '' 's/&gt;/>/g' assets/licenses.md
diff --git a/script/licenses/template.hbs.md b/script/licenses/template.hbs.md
new file mode 100644
index 00000000000..a51b714dae7
--- /dev/null
+++ b/script/licenses/template.hbs.md
@@ -0,0 +1,27 @@
+# Third Party Licenses
+
+This page lists the licenses of the projects used in Zed.
+
+## Overview of licenses:
+
+{{#each overview}}
+* {{name}} ({{count}})
+{{/each}}
+
+## All license texts:
+
+{{#each licenses}}
+
+### {{name}}
+
+#### Used by:
+
+{{#each used_by}}
+* [{{crate.name}} {{crate.version}}]({{#if crate.repository}} {{crate.repository}} {{else}} https://crates.io/crates/{{crate.name}} {{/if}})
+{{/each}}
+
+{{text}}
+
+--------------------------------------------------------------------------------
+
+{{/each}}
\ No newline at end of file
diff --git a/script/licenses/zed-licenses.toml b/script/licenses/zed-licenses.toml
new file mode 100644
index 00000000000..2e294878d79
--- /dev/null
+++ b/script/licenses/zed-licenses.toml
@@ -0,0 +1,37 @@
+no-clearly-defined = true
+private = { ignore = true }
+accepted = [
+ "Apache-2.0",
+ "MIT",
+ "Apache-2.0 WITH LLVM-exception",
+ "MPL-2.0",
+ "BSD-3-Clause",
+ "BSD-2-Clause",
+ "ISC",
+ "CC0-1.0",
+ "Unicode-DFS-2016",
+ "OpenSSL",
+ "Zlib",
+]
+workarounds = [
+ "ring",
+ "wasmtime",
+]
+
+[procinfo.clarify]
+license = "MIT"
+[[procinfo.clarify.git]]
+path = 'LICENSE.md'
+checksum = '37db33bbbd7348969eda397b89a16f252d56c1ca7481b6ccaf56ccdcbab5dcca'
+
+[webpki.clarify]
+license = "ISC" # It actually says 'ISC-style' but I don't know the SPDX expression for that.
+[[webpki.clarify.files]]
+path = 'LICENSE'
+checksum = '5b698ca13897be3afdb7174256fa1574f8c6892b8bea1a66dd6469d3fe27885a'
+
+[fuchsia-cprng.clarify]
+license = "BSD-3-Clause"
+[[fuchsia-cprng.clarify.files]]
+path = 'LICENSE'
+checksum = '03b114f53e6587a398931762ee11e2395bfdba252a329940e2c8c9e81813845b'
\ No newline at end of file
diff --git a/styles/src/themes/one-light.ts b/styles/src/themes/one-light.ts
index d8c8e5272c4..a5ac1f71589 100644
--- a/styles/src/themes/one-light.ts
+++ b/styles/src/themes/one-light.ts
@@ -11,15 +11,15 @@ const license = {
export const light = createColorScheme(`${name}`, true, {
neutral: chroma.scale([
- "#090a0b",
- "#202227",
- "#383a42",
- "#696c77",
- "#a0a1a7",
- "#e5e5e6",
- "#f0f0f1",
- "#fafafa",
- ])
+ "#090a0b",
+ "#202227",
+ "#383a42",
+ "#696c77",
+ "#a0a1a7",
+ "#e5e5e6",
+ "#f0f0f1",
+ "#fafafa",
+ ])
.domain([0.05, 0.22, 0.25, 0.45, 0.62, 0.8, 0.9, 1]),
red: colorRamp(chroma("#ca1243")),