hub-codegen 0.2.0

Multi-language code generator for Hub plugins from Synapse IR
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 = "hub-codegen"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multi-language code generator for Hub plugins from Synapse IR"
readme = "README.md"
license = "AGPL-3.0-only"

[features]
all = [
    "typescript",
    "rust",
]
default = ["typescript"]
rust = []
typescript = []

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

[[bin]]
name = "hub-codegen"
path = "src/main.rs"

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4.4"
features = ["derive"]

[dependencies.heck]
version = "0.5"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "1.0"

[dev-dependencies.pretty_assertions]
version = "1.4"

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