Skip to content

Commit 669a5d7

Browse files
committed
Rename cio-markdown package to cargo-registry-markdown
This is consistent with `cargo-registry` and `cargo-registry-s3`.
1 parent 287a36d commit 669a5d7

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

Cargo.lock

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ rustdoc-args = [
3232
[dependencies]
3333
anyhow = "1.0"
3434
base64 = "0.13"
35+
cargo-registry-markdown = { path = "cargo-registry-markdown" }
3536
cargo-registry-s3 = { path = "cargo-registry-s3" }
3637
chrono = { version = "0.4.0", features = ["serde"] }
37-
cio-markdown = { path = "cio-markdown" }
3838
clap = "=3.0.0-beta.4"
3939

4040
conduit = "0.9.0-alpha.5"

cio-markdown/Cargo.toml renamed to cargo-registry-markdown/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "cio-markdown"
2+
name = "cargo-registry-markdown"
33
version = "0.0.0"
44
license = "MIT OR Apache-2.0"
55
repository = "https://github.com/rust-lang/crates.io"

cio-markdown/lib.rs renamed to cargo-registry-markdown/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ static MARKDOWN_EXTENSIONS: [&str; 7] =
242242
/// # Examples
243243
///
244244
/// ```
245-
/// use cio_markdown::text_to_html;
245+
/// use cargo_registry_markdown::text_to_html;
246246
///
247247
/// let text = "[Rust](https://rust-lang.org/) is an awesome *systems programming* language!";
248248
/// let rendered = text_to_html(text, "README.md", None);

src/admin/render_readmes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ use crate::{
66
};
77
use std::{io::Read, path::Path, sync::Arc, thread};
88

9+
use cargo_registry_markdown::text_to_html;
910
use chrono::{TimeZone, Utc};
10-
use cio_markdown::text_to_html;
1111
use clap::Clap;
1212
use diesel::{dsl::any, prelude::*};
1313
use flate2::read::GzDecoder;

src/render.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Render README files to HTML.
22
3-
use cio_markdown::text_to_html;
3+
use cargo_registry_markdown::text_to_html;
44
use swirl::PerformError;
55

66
use crate::background_jobs::Environment;

0 commit comments

Comments
 (0)