# 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 = "nautilus-orm-codegen"
version = "1.3.1"
authors = ["nautilus-env"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Code generator for Nautilus ORM schema files"
readme = "README.md"
keywords = [
    "orm",
    "database",
    "sql",
    "query-builder",
]
categories = ["database"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nautilus-env/nautilus"

[package.metadata.wix]
upgrade-guid = "B75F8964-1B21-40CD-B02B-A9B4B5BC81A2"
path-guid = "AEF3BD7C-1A8B-47D4-B584-665E3FE00E67"
license = false
eula = false

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.console]
version = "0.16.3"

[dependencies.heck]
version = "0.5"

[dependencies.nautilus-protocol]
version = "1.3.1"
package = "nautilus-orm-protocol"

[dependencies.nautilus-schema]
version = "1.3.1"
package = "nautilus-orm-schema"

[dependencies.reqwest]
version = "0.12"
features = [
    "blocking",
    "rustls-tls",
]
default-features = false

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

[dependencies.tera]
version = "1.19"
default-features = false

[dev-dependencies.insta]
version = "1"
features = ["filters"]

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

[lints.clippy]
all = "warn"
nursery = "allow"
pedantic = "allow"

[lints.rust]
unsafe_code = "forbid"
