typebox 0.1.0

JSON Schema type construction with validation, code generation, and binary layout
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"
name = "typebox"
version = "0.1.0"
authors = ["alkimiadev"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JSON Schema type construction with validation, code generation, and binary layout"
documentation = "https://docs.rs/typebox"
readme = "README.md"
keywords = [
    "json-schema",
    "validation",
    "codegen",
    "typescript",
    "ffi",
]
categories = [
    "data-structures",
    "development-tools::ffi",
    "encoding",
]
license = "MIT"
repository = "https://github.com/alkimiadev/typebox-rs"

[features]
codegen = ["handlebars"]
default = []
fake = [
    "dep:fake",
    "dep:rand",
    "dep:uuid",
]
ffi = []
pattern = ["regex"]
safetensor = ["memmap2"]

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

[[example]]
name = "ladybug_types"
path = "examples/ladybug_types.rs"
required-features = ["codegen"]

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

[dependencies.base64]
version = "0.22"

[dependencies.fake]
version = "4"
optional = true

[dependencies.handlebars]
version = "5"
optional = true

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

[dependencies.memmap2]
version = "0.9"
optional = true

[dependencies.rand]
version = "0.9"
optional = true

[dependencies.regex]
version = "1"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

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

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