Crates.io | cypheraddr |
lib.rs | cypheraddr |
version | 0.4.0 |
source | src |
created_at | 2023-01-16 11:55:25.485987 |
updated_at | 2024-05-06 18:23:08.834838 |
description | Network address types supporting proxying, mixnets, P2P with minimalistic dependencies (part of cyphernet suite) |
homepage | https://cyphernet.org |
repository | https://github.com/Cyphernet-DAO/rust-cyphernet |
max_upload_size | |
id | 760112 |
size | 39,866 |
Rust library providing a set of address data types with minimal dependencies which allow simple use of.
The crate may be used in a way that prevents using DNS names (outside mixnet scope).
The library is a part of rust cyphernet suite.
Name: cypheraddr
Type: Library
Kind: Free software
License: Apache-2.0
Language: Rust
Compiler: 1.65
Author: Maxim Orlovsky
Maintained: Cyphernet DAO, Switzerland
Maintainers:
Maxim Orlovsky:
GitHub: @dr-orlovsky
GPG: EAE730CEC0C663763F028A5860094BAF18A26EC9
SSH: BoSGFzbyOKC7Jm28MJElFboGepihCpHop60nS8OoG/A
EMail: dr@orlovsky.ch
Alexis Sellier:
GitHub: @cloudhead
SSH: iTDjRHSIaoL8dpHbQ0mv+y0IQqPufGl2hQwk4TbXFlw
Network addresses provided by the library include the following types:
InetHost
- IP addr or DNS nameHostName
- IP, DNS, Tor, I2P, Nym host name (no port or proxy information)NetAddr
- any type of host name + port informationPartialAddr
- any type of host name + optional port, which defaults to
generic const if not providedPeerAddr
- any of the above addresses + node public key for authenticationProxiedHost
- host name + proxy (there are IP/DNS w/o proxy and with proxy)ProxiedAddr
- any of the above addresses + proxy (thus IP/DNS is always
proxied)The library tries to minimize number of dependencies. Most of its functionality is available via non-default features, like:
mixnets
: supports for mixnet network addresses, including tor
, nym
,
i2p
(may require additional crypto libraries for parsing public keys);
serde
: encoding for addresses types;
dns
: enable use of DNS names alongside IP addresses and mixnet names.
API reference documentation for the library can be accessed at https://docs.rs/cypheraddr/.
The libraries are distributed on the terms of Apache 2.0 opensource license. See LICENCE file for the license details.