hackmd 0.0.2

Rust client library and CLI for HackMD
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"
name = "hackmd"
version = "0.0.2"
build = false
include = [
    "/src/**/*.rs",
    "/README.md",
    "/LICENSE*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client library and CLI for HackMD"
readme = "README.md"
keywords = [
    "hackmd",
    "markdown",
    "cli",
    "tui",
    "api",
]
categories = [
    "api-bindings",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/zemse/hackmd-rs"

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

[features]
cli = []
default = ["cli"]
tui = [
    "cli",
    "dep:ratatui",
    "dep:crossterm",
]

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

[[bin]]
name = "hackmd"
path = "src/main.rs"
required-features = ["cli"]

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.comfy-table]
version = "7"

[dependencies.crossterm]
version = "0.29"
optional = true

[dependencies.dirs]
version = "5"

[dependencies.ratatui]
version = "0.30"
optional = true

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
    "stream",
]
default-features = false

[dependencies.rpassword]
version = "7"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_with]
version = "3"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "fs",
    "io-std",
    "sync",
]

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.dotenvy]
version = "0.15"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.wiremock]
version = "0.6"