mdstore 1.1.0

A file-based storage engine that stores structured data as Markdown files with YAML frontmatter
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 = "2021"
rust-version = "1.85"
name = "mdstore"
version = "1.1.0"
authors = ["Centy Team"]
build = false
exclude = [".github/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A file-based storage engine that stores structured data as Markdown files with YAML frontmatter"
homepage = "https://github.com/centy-io/mdstore"
documentation = "https://docs.rs/mdstore"
readme = "README.md"
keywords = [
    "markdown",
    "frontmatter",
    "storage",
    "yaml",
    "file-based",
]
categories = [
    "database",
    "filesystem",
]
license-file = "LICENSE.md"
repository = "https://github.com/centy-io/mdstore"

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

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

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

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

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

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

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

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

[dependencies.async-trait]
version = "0.1"

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

[dependencies.gray_matter]
version = "0.3"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.slug]
version = "0.1.6"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = ["v4"]

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

[lints.clippy]
arithmetic_side_effects = "deny"
assigning_clones = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
const_is_empty = "allow"
default_trait_access = "allow"
doc_markdown = "allow"
enum_variant_names = "allow"
exit = "deny"
expect_used = "deny"
format_push_string = "allow"
indexing_slicing = "deny"
items_after_statements = "allow"
manual_let_else = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
panic = "deny"
panic_in_result_fn = "deny"
return_self_not_must_use = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
too_many_arguments = "allow"
too_many_lines = "deny"
trivially_copy_pass_by_ref = "allow"
unused_async = "allow"
unused_self = "allow"
unwrap_in_result = "deny"
unwrap_used = "deny"
wildcard_imports = "allow"
wrong_self_convention = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"