sqlmodel-console 0.2.0

Beautiful terminal output for SQLModel Rust - automatically adapts to agents vs humans
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"
rust-version = "1.85"
name = "sqlmodel-console"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Beautiful terminal output for SQLModel Rust - automatically adapts to agents vs humans"
homepage = "https://github.com/sqlmodel/sqlmodel-rust"
documentation = "https://docs.rs/sqlmodel-console"
readme = "README.md"
keywords = [
    "sql",
    "console",
    "terminal",
    "formatting",
    "sqlmodel",
]
categories = ["value-formatting"]
license = "MIT"
repository = "https://github.com/sqlmodel/sqlmodel-rust"
resolver = "2"

[features]
default = []
full = [
    "rich",
    "syntax",
]
rich = ["dep:rich_rust"]
syntax = [
    "rich",
    "rich_rust/syntax",
]

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

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

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

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

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

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

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

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

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

[[bench]]
name = "console_bench"
path = "benches/console_bench.rs"

[dependencies.rich_rust]
version = "0.1.1"
optional = true

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

[dependencies.serde_json]
version = "1"

[dev-dependencies.sqlmodel-schema]
version = "0.2.0"

[lints.clippy]
bool_to_int_with_if = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
elidable_lifetime_names = "allow"
format_push_string = "allow"
match_same_arms = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
redundant_closure_for_method_calls = "allow"
return_self_not_must_use = "allow"
should_implement_trait = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unused_self = "allow"

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

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

[lints.rust]
unsafe_code = "warn"