scion-stack 0.4.0

SCION endhost network stack
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 = "scion-stack"
version = "0.4.0"
authors = ["Anapaya & contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SCION endhost network stack"
readme = "README.md"
keywords = [
    "SCION",
    "networking",
]
categories = ["network-programming"]
license = "Apache-2.0"
repository = "https://github.com/anapaya/scion-sdk"
resolver = "2"

[package.metadata.cargo-shear]
ignored = ["prost"]

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.arc-swap]
version = "1.7"

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

[dependencies.bytes]
version = "1.10"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.endhost-api-client]
version = "0.4.0"

[dependencies.foldhash]
version = "0.2"

[dependencies.futures]
version = "0.3"

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.prost]
version = "0.14"

[dependencies.quinn]
version = "0.11.9-ana.0"
package = "anapaya-quinn"

[dependencies.scc]
version = "3.4"

[dependencies.scion-proto]
version = "0.4.0"

[dependencies.scion-sdk-reqwest-connect-rpc]
version = "0.4.0"

[dependencies.scion-sdk-utils]
version = "0.4.0"

[dependencies.snap-control]
version = "0.4.0"

[dependencies.snap-tun]
version = "0.4.0"

[dependencies.socket2]
version = "0.6.1"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.45"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5"
features = ["serde"]

[dependencies.x25519-dalek]
version = "2.0.1"
features = [
    "static_secrets",
    "getrandom",
]

[dev-dependencies.derive_more]
version = "2.0"
features = [
    "display",
    "deref",
]

[dev-dependencies.mockall]
version = "0.13"

[dev-dependencies.ntest]
version = "0.9"

[dev-dependencies.pocketscion]
version = "0.4.0"

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
    "brotli",
]
default-features = false

[dev-dependencies.scion-sdk-token-validator]
version = "0.4.0"

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

[dev-dependencies.snap-tokens]
version = "0.4.0"

[dev-dependencies.test-log]
version = "0.2"
features = ["trace"]

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.2"

[lints.clippy]
mem_forget = "deny"

[lints.rust]
missing_docs = "warn"