diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-10-27 19:04:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-27 18:04:55 +0000 |
| commit | be7cfc85d08c545abfac08098b7b33b4bd71f37e (patch) | |
| tree | f4137fa2aaa57babae1f7603a9b2ed7e688f43d8 /docs | |
| parent | b8034a343831e8609aec2ec81eb7eeda57aa5d81 (diff) | |
Split out four new crates (#5302)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/Cargo.toml | 7 | ||||
| -rw-r--r-- | docs/src/model.rs | 1 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/Cargo.toml b/docs/Cargo.toml index dbae0b77..a24ee254 100644 --- a/docs/Cargo.toml +++ b/docs/Cargo.toml @@ -19,20 +19,19 @@ cli = ["clap", "typst-render", "serde_json"] typst = { workspace = true } typst-assets = { workspace = true, features = ["fonts"] } typst-dev-assets = { workspace = true } -comemo = { workspace = true } +clap = { workspace = true, optional = true } ecow = { workspace = true } heck = { workspace = true } once_cell = { workspace = true } pulldown-cmark = { workspace = true } serde = { workspace = true } +serde_json = { workspace = true, optional = true } serde_yaml = { workspace = true } syntect = { workspace = true, features = ["html"] } typed-arena = { workspace = true } +typst-render = { workspace = true, optional = true } unscanny = { workspace = true } yaml-front-matter = { workspace = true } -clap = { workspace = true, optional = true } -typst-render = { workspace = true, optional = true } -serde_json = { workspace = true, optional = true } [lints] workspace = true diff --git a/docs/src/model.rs b/docs/src/model.rs index a4416c3d..b222322a 100644 --- a/docs/src/model.rs +++ b/docs/src/model.rs @@ -49,6 +49,7 @@ impl OutlineItem { #[derive(Debug, Serialize)] #[serde(rename_all = "camelCase")] #[serde(tag = "kind", content = "content")] +#[allow(clippy::large_enum_variant)] pub enum BodyModel { Html(Html), Category(CategoryModel), |
