osmflow-sync 0.16.1

Imports OpenStreetMap PBF files into PostgreSQL and keeps them current from replication diffs
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.90"
name = "osmflow-sync"
version = "0.16.1"
authors = ["Yuri Astrakhan <YuriAstrakhan@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Imports OpenStreetMap PBF files into PostgreSQL and keeps them current from replication diffs"
readme = "README.md"
keywords = [
    "osm",
    "openstreetmap",
    "postgres",
    "postgis",
    "replication",
]
categories = [
    "science::geo",
    "database",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nyurik/osmflow/tree/main/crates/osmflow-sync/"

[features]
signals = ["dep:ctrlc"]

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

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

[dependencies.crossbeam-channel]
version = "0.5.15"

[dependencies.ctrlc]
version = "3.5"
features = ["termination"]
optional = true

[dependencies.geo-traits]
version = "0.3"

[dependencies.osmflow]
version = "0.15.0"
features = [
    "nodes",
    "osc",
    "pbf",
]

[dependencies.percent-encoding]
version = "2.3.1"

[dependencies.postgres]
version = "0.19.14"

[dependencies.rayon]
version = "1.7"

[dependencies.redb]
version = "5.0"

[dependencies.rustls]
version = "0.23.31"
features = [
    "ring",
    "std",
    "tls12",
]
default-features = false

[dependencies.rustls-native-certs]
version = "0.8"

[dependencies.strum]
version = "0.28"
features = ["derive"]

[dependencies.tempfile]
version = "3.20"

[dependencies.thiserror]
version = "2"

[dependencies.tokio-postgres-rustls]
version = "0.14"

[dependencies.tracing]
version = "0.1.41"
features = ["std"]
default-features = false

[dependencies.twkb]
version = "0.1.0"

[dependencies.wkb]
version = "0.9.3"

[dev-dependencies.postgres]
version = "0.19.14"

[lints.clippy]
absolute_paths = "warn"
as_underscore = "warn"
assertions_on_result_states = "warn"
clone_on_ref_ptr = "warn"
create_dir = "warn"
dbg_macro = "warn"
disallowed_methods = "deny"
empty_drop = "warn"
empty_structs_with_brackets = "warn"
exit = "warn"
filetype_is_file = "warn"
format_push_string = "warn"
if_then_some_else_none = "warn"
lossy_float_literal = "warn"
mem_forget = "warn"
missing_errors_doc = "allow"
mixed_read_write_in_expression = "warn"
module_name_repetitions = "allow"
multiple_unsafe_ops_per_block = "warn"
negative_feature_names = "warn"
panic = "warn"
panic_in_result_fn = "warn"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_feature_names = "warn"
redundant_test_prefix = "warn"
redundant_type_annotations = "warn"
rest_pat_in_fully_bound_structs = "warn"
return_and_then = "warn"
same_name_method = "warn"
str_to_string = "warn"
todo = "warn"
try_err = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unnecessary_safety_doc = "warn"
unnecessary_self_imports = "warn"
unused_trait_names = "warn"
use_self = "warn"
verbose_file_reads = "warn"
wildcard_enum_match_arm = "warn"

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

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

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"
unused_qualifications = "warn"