papera 0.2.0

A SQL compatibility layer that transpiles Trino and Redshift SQL to DuckDB SQL
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 = "papera"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A SQL compatibility layer that transpiles Trino and Redshift SQL to DuckDB SQL"
readme = "README.md"
keywords = [
    "sql",
    "transpiler",
    "duckdb",
    "trino",
    "redshift",
]
categories = ["database"]
license = "MIT"

[features]
cli = []

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

[[bin]]
name = "papera"
path = "src/main.rs"
required-features = ["cli"]

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

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

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

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

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

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

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

[dependencies.sqlparser]
version = "0.61"
features = ["visitor"]

[dependencies.thiserror]
version = "2"

[dev-dependencies.datafusion]
version = "53"

[dev-dependencies.duckdb]
version = "1"
features = ["bundled"]

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
]