country-code-enum 1.0.0

Copyable Serde and Sqlx compatible country codes
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 = "country-code-enum"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Copyable Serde and Sqlx compatible country codes"
readme = "README.md"
license = "MIT"
repository = "https://github.com/imbolc/country-code-enum"

[features]
serde = ["dep:serde"]
sqlx-postgres = ["dep:sqlx"]

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

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

[dependencies.sqlx]
version = "0.9"
features = ["postgres"]
optional = true

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

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

[dev-dependencies.sqlx]
version = "0.9"
features = [
    "runtime-tokio",
    "postgres",
    "tls-rustls",
]

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

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

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

[lints.rust]
future_incompatible = "forbid"
keyword_idents = "forbid"
let_underscore = "forbid"
missing_docs = "forbid"
nonstandard_style = "forbid"
refining_impl_trait = "forbid"
rust_2018_compatibility = "forbid"
rust_2018_idioms = "forbid"
rust_2021_compatibility = "forbid"
rust_2024_compatibility = "forbid"
unsafe_code = "forbid"

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

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