specta-typescript 0.0.11

Export your Rust types to TypeScript
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 = "specta-typescript"
version = "0.0.11"
authors = ["Oscar Beaumont <oscar@otbeaumont.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Export your Rust types to TypeScript"
documentation = "https://docs.rs/specta-typescript/latest/specta-typescript"
readme = "README.md"
keywords = [
    "async",
    "specta",
    "rspc",
    "typescript",
    "typesafe",
]
categories = [
    "web-programming",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/specta-rs/specta"
resolver = "2"

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

[features]
default = []
serde = ["dep:serde"]

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

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

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

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

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

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

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

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

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

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

[dependencies.serde]
version = "1"
optional = true
default-features = false

[dependencies.specta]
version = "=2.0.0-rc.24"

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

[dev-dependencies.specta]
version = "=2.0.0-rc.24"
features = [
    "derive",
    "collect",
]

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

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

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

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

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

[lints.clippy.too_many_arguments]
level = "allow"
priority = 0

[lints.clippy.type_complexity]
level = "allow"
priority = 0

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

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

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(is_nightly)"]

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