cyrs-schema 0.1.0

Schema types and SchemaProvider trait for Cypher / GQL (spec 0001 §8).
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.94"
name = "cyrs-schema"
version = "0.1.0"
authors = ["Patrick Hall <phallsignup@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Schema types and SchemaProvider trait for Cypher / GQL (spec 0001 §8)."
homepage = "https://github.com/phall1/cyrs"
readme = "README.md"
keywords = [
    "cypher",
    "gql",
    "graph",
    "parser",
    "lsp",
]
categories = [
    "database",
    "parser-implementations",
    "development-tools::debugging",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/phall1/cyrs"

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

[features]
default = ["file"]
file = [
    "serde",
    "dep:toml",
    "dep:thiserror",
    "smol_str/serde",
]
serde = [
    "dep:serde",
    "indexmap/serde",
    "smol_str/serde",
]

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

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

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

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

[dependencies.indexmap]
version = "2"
features = ["serde"]

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

[dependencies.smol_str]
version = "0.3"

[dependencies.thiserror]
version = "2"
optional = true

[dependencies.toml]
version = "0.8"
optional = true

[dev-dependencies.sha2]
version = "0.10"

[lints.clippy]
dbg_macro = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
print_stderr = "allow"
print_stdout = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
todo = "warn"
too_many_lines = "allow"
unimplemented = "warn"

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

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

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "deny"
unsafe_code = "forbid"
unused_must_use = "deny"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1