From 3a43adba005ce0ccce950dad9e3521e80517cbd7 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Mon, 1 Jul 2024 17:18:58 -0400 Subject: [PATCH] Publish `html_to_markdown` (#13718) This PR updates the `html_to_markdown` crate with the necessary changes to publish it to crates.io. Publishing it makes it available for use within extensions when implementing functionality for the Assistant. Release Notes: - N/A --- crates/html_to_markdown/Cargo.toml | 7 +++++-- crates/html_to_markdown/LICENSE-APACHE | 1 + crates/html_to_markdown/LICENSE-GPL | 1 - crates/html_to_markdown/src/html_to_markdown.rs | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) create mode 120000 crates/html_to_markdown/LICENSE-APACHE delete mode 120000 crates/html_to_markdown/LICENSE-GPL diff --git a/crates/html_to_markdown/Cargo.toml b/crates/html_to_markdown/Cargo.toml index bac60ef9a6..e3964bbd2b 100644 --- a/crates/html_to_markdown/Cargo.toml +++ b/crates/html_to_markdown/Cargo.toml @@ -1,9 +1,12 @@ [package] name = "html_to_markdown" version = "0.1.0" +description = "Convert HTML to Markdown" +repository = "https://github.com/zed-industries/zed" +documentation = "https://docs.rs/html_to_markdown" +keywords = ["html", "markdown", "html-to-markdown"] edition = "2021" -publish = false -license = "GPL-3.0-or-later" +license = "Apache-2.0" [lints] workspace = true diff --git a/crates/html_to_markdown/LICENSE-APACHE b/crates/html_to_markdown/LICENSE-APACHE new file mode 120000 index 0000000000..1cd601d0a3 --- /dev/null +++ b/crates/html_to_markdown/LICENSE-APACHE @@ -0,0 +1 @@ +../../LICENSE-APACHE \ No newline at end of file diff --git a/crates/html_to_markdown/LICENSE-GPL b/crates/html_to_markdown/LICENSE-GPL deleted file mode 120000 index 89e542f750..0000000000 --- a/crates/html_to_markdown/LICENSE-GPL +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE-GPL \ No newline at end of file diff --git a/crates/html_to_markdown/src/html_to_markdown.rs b/crates/html_to_markdown/src/html_to_markdown.rs index 2183054efa..0fad410808 100644 --- a/crates/html_to_markdown/src/html_to_markdown.rs +++ b/crates/html_to_markdown/src/html_to_markdown.rs @@ -1,4 +1,4 @@ -//! Provides conversion from rustdoc's HTML output to Markdown. +//! Convert HTML to Markdown. mod html_element; pub mod markdown;