nex-protocol 0.1.1

An implementation of the Nex protocol (nex://): async client, directory-serving server, listing parser, and a CLI. The minimal smolweb protocol — plaintext TCP, no TLS, no status 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 = "2024"
name = "nex-protocol"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An implementation of the Nex protocol (nex://): async client, directory-serving server, listing parser, and a CLI. The minimal smolweb protocol — plaintext TCP, no TLS, no status codes."
readme = "README.md"
keywords = [
    "nex",
    "smolweb",
    "gopher",
    "gemini",
    "protocol",
]
categories = ["network-programming"]
license = "MIT"
repository = "https://github.com/mark-ik/serval"
resolver = "2"

[features]
cli = [
    "tokio/rt",
    "tokio/macros",
    "tokio/signal",
]
default = []

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

[[bin]]
name = "nex"
path = "src/bin/nex.rs"
required-features = ["cli"]

[dependencies.log]
version = "0.4"

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

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "net",
    "io-util",
    "rt",
    "time",
    "fs",
]
default-features = false

[dependencies.url]
version = "2.5"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "net",
    "io-util",
    "sync",
    "time",
]
default-features = false