# 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"
name = "taganak-core"
version = "0.1.0-dev6"
authors = ["Dominik George <nik@naturalnet.de"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RDF types and interfaces from Taganak (Transactional, Aggregating Graph Architecture for Networking and Access to Knowledge)"
homepage = "https://taganak.net"
readme = false
keywords = [
    "rdf",
    "linked-data",
    "semantic-web",
    "graphs",
]
categories = [
    "data-structures",
    "database",
]
license = "MPL-2.0"
repository = "https://codeberg.org/Taganak/taganak-sdk"

[features]
_parsers = ["dep:winnow"]
all = ["default"]
base64 = ["dep:base64"]
chrono = ["dep:chrono"]
debug = ["winnow/debug"]
decimal = ["dep:rust_decimal"]
default = [
    "source_n_triples",
    "source_turtle",
    "base64",
]
source_n_triples = ["_parsers"]
source_turtle = [
    "source_n_triples",
    "_parsers",
]

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

[[test]]
name = "rdf_test_suites"
path = "tests/rdf_test_suites/main.rs"
harness = false

[dependencies.async-stream]
version = "0.3.6"

[dependencies.async-utf8-decoder]
version = "1.0.0"

[dependencies.base64]
version = "0.22.1"
optional = true

[dependencies.bimap]
version = "0.6.3"

[dependencies.chrono]
version = "0.4.39"
optional = true

[dependencies.const_format]
version = "0.2.32"

[dependencies.curie]
version = "0.1.3"

[dependencies.dyn-clone]
version = "1.0.19"

[dependencies.futures]
version = "0.3.31"

[dependencies.iref]
version = "3.2.2"
features = ["macros"]

[dependencies.iriencoding]
version = "1.0.1"

[dependencies.language-tags]
version = "0.3.2"

[dependencies.rust_decimal]
version = "1.36.0"
optional = true

[dependencies.thiserror]
version = "1.0.63"

[dependencies.tokio]
version = "1.39.2"
features = ["io-util"]

[dependencies.tokio-util]
version = "0.7.13"
features = ["compat"]

[dependencies.tracing]
version = "0.1.41"

[dependencies.unicode-normalization]
version = "0.1.23"

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

[dependencies.winnow]
version = "0.7.2"
optional = true

[dev-dependencies.env_logger]
version = "0.11.6"

[dev-dependencies.libtest-mimic]
version = "0.8.1"

[dev-dependencies.tokio-test]
version = "0.4.4"

[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
version = "1.10.0"
features = [
    "v4",
    "js",
]
