cosy 0.1.1

A parser for Cosense/Scrapbox markup syntax that produces a typed AST
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "cosy"
version = "0.1.1"
authors = ["Yusei Ito <me@yuseiito.com>"]
build = false
exclude = [
    "CLAUDE.md",
    "AGENTS.md",
    ".claude/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A parser for Cosense/Scrapbox markup syntax that produces a typed AST"
homepage = "https://github.com/YuseiIto/cosy"
documentation = "https://docs.rs/cosy"
readme = "README.md"
keywords = [
    "parser",
    "scrapbox",
    "cosense",
    "markup",
    "ast",
]
categories = [
    "parser-implementations",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/YuseiIto/cosy"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
serde = [
    "dep:serde",
    "url/serde",
]

[lib]
name = "cosy"
path = "src/lib.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "cli"
path = "examples/cli.rs"

[[example]]
name = "speech_bubble_extension"
path = "examples/speech_bubble_extension.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[dependencies.mime]
version = "0.3.17"

[dependencies.mime_guess]
version = "2.0.5"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.url]
version = "2.5.8"

[dependencies.winnow]
version = "1"

[dev-dependencies.anyhow]
version = "1.0.100"

[dev-dependencies.clap]
version = "4.4.57"
features = ["derive"]

[dev-dependencies.reqwest]
version = "0.13.1"
features = ["blocking"]

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0.149"

[dev-dependencies.urlencoding]
version = "2.1.3"