shardline-server 1.0.0

HTTP server boundary, runtime, and operator workflows for Shardline.
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 = "shardline-server"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP server boundary, runtime, and operator workflows for Shardline."
homepage = "https://github.com/STEXS-Technologies/shardline"
documentation = "https://docs.rs/shardline-server"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/STEXS-Technologies/shardline"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

[[bench]]
name = "local_backend"
path = "benches/local_backend.rs"
harness = false

[[bench]]
name = "oci_finalize_fixed"
path = "benches/oci_finalize_fixed.rs"
harness = false

[[bench]]
name = "oci_tags"
path = "benches/oci_tags.rs"
harness = false

[[bench]]
name = "oci_tags_fixed"
path = "benches/oci_tags_fixed.rs"
harness = false

[dependencies.axum]
version = "0.8.8"

[dependencies.base64]
version = "0.22"

[dependencies.blake3]
version = "1.8.3"

[dependencies.bytes]
version = "1.10.1"

[dependencies.futures-util]
version = "0.3"

[dependencies.getrandom]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.jsonwebtoken]
version = "9"

[dependencies.libc]
version = "0.2.177"

[dependencies.prometheus]
version = "0.14"
default-features = false

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"
features = ["compress"]

[dependencies.shardline-cache]
version = "1.0.0"

[dependencies.shardline-cas]
version = "1.0.0"

[dependencies.shardline-fsck]
version = "1.0.0"

[dependencies.shardline-gc]
version = "1.0.0"

[dependencies.shardline-hub-api]
version = "1.0.0"

[dependencies.shardline-index]
version = "1.0.0"

[dependencies.shardline-metrics]
version = "1.0.0"

[dependencies.shardline-oci-adapter]
version = "1.0.0"

[dependencies.shardline-protocol]
version = "1.0.0"

[dependencies.shardline-protocol-adapters]
version = "1.0.0"

[dependencies.shardline-provider-events]
version = "1.0.0"

[dependencies.shardline-rebuild]
version = "1.0.0"

[dependencies.shardline-server-core]
version = "1.0.0"

[dependencies.shardline-storage]
version = "1.0.0"

[dependencies.shardline-vcs]
version = "1.0.0"

[dependencies.shardline-xet-adapter]
version = "1.0.0"

[dependencies.shardline-xet-core]
version = "1.0.0"

[dependencies.sqlx]
version = "0.8.6"
features = [
    "runtime-tokio",
    "tls-rustls",
    "postgres",
]
default-features = false

[dependencies.subtle]
version = "2.6"
default-features = false

[dependencies.thiserror]
version = "2.0.18"
default-features = false

[dependencies.tokio]
version = "1.48.0"
features = [
    "fs",
    "io-util",
    "macros",
    "net",
    "rt-multi-thread",
    "sync",
    "time",
    "test-util",
]

[dependencies.tower]
version = "0.5"

[dependencies.tower-http]
version = "0.6"
features = ["util"]
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5"

[dependencies.zeroize]
version = "1.8"

[dev-dependencies.async-trait]
version = "0.1"

[dev-dependencies.criterion]
version = "0.5.1"
features = [
    "html_reports",
    "async_tokio",
    "cargo_bench_support",
]
default-features = false

[dev-dependencies.hmac]
version = "0.12"

[dev-dependencies.redis]
version = "1.0.2"
features = ["tokio-comp"]

[dev-dependencies.reqwest]
version = "0.12.28"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dev-dependencies.rusqlite]
version = "0.32"
features = ["bundled"]

[dev-dependencies.shardline-test-support]
version = "1.0.0"

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

[dev-dependencies.xet-client]
version = "1.5.1"

[dev-dependencies.xet-data]
version = "1.5.1"

[dev-dependencies.xet-runtime]
version = "1.5.1"

[lints.clippy]
arithmetic_side_effects = "deny"
assertions_on_constants = "deny"
await_holding_lock = "deny"
await_holding_refcell_ref = "deny"
bool_assert_comparison = "deny"
borrowed_box = "deny"
box_collection = "deny"
cmp_owned = "deny"
dbg_macro = "deny"
disallowed_macros = "deny"
enum_glob_use = "deny"
expect_used = "deny"
filter_map_next = "deny"
flat_map_option = "deny"
float_arithmetic = "deny"
float_cmp = "deny"
format_push_string = "deny"
if_same_then_else = "deny"
ignored_unit_patterns = "deny"
implicit_clone = "deny"
indexing_slicing = "deny"
inefficient_to_string = "deny"
iter_not_returning_iterator = "deny"
large_enum_variant = "deny"
let_underscore_must_use = "deny"
lossy_float_literal = "deny"
manual_string_new = "deny"
map_err_ignore = "deny"
map_flatten = "deny"
match_bool = "deny"
match_ref_pats = "deny"
match_wild_err_arm = "deny"
missing_const_for_fn = "deny"
missing_errors_doc = "deny"
missing_panics_doc = "deny"
must_use_candidate = "deny"
mutable_key_type = "deny"
mutex_atomic = "deny"
needless_borrow = "deny"
needless_collect = "deny"
needless_lifetimes = "deny"
needless_pass_by_value = "deny"
ok_expect = "deny"
option_if_let_else = "deny"
or_fun_call = "deny"
panic = "deny"
panic_in_result_fn = "deny"
ptr_arg = "deny"
redundant_clone = "deny"
result_large_err = "deny"
shadow_unrelated = "deny"
single_char_lifetime_names = "deny"
str_to_string = "deny"
string_add = "deny"
todo = "deny"
trait_duplication_in_bounds = "deny"
trivially_copy_pass_by_ref = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unnecessary_box_returns = "deny"
unnecessary_wraps = "deny"
unreachable = "deny"
unwrap_in_result = "deny"
unwrap_used = "deny"
useless_asref = "deny"
vec_box = "deny"
wildcard_dependencies = "deny"
wildcard_enum_match_arm = "deny"
wrong_self_convention = "deny"

[lints.rust]
deprecated_safe_2024 = "warn"
rust_2024_guarded_string_incompatible_syntax = "warn"
rust_2024_incompatible_pat = "warn"
rust_2024_prelude_collisions = "warn"