package domain-name
RFC 1035 Internet domain names
Install
Dune Dependency
Authors
Maintainers
Sources
domain-name-0.4.1.tbz
sha256=1dba32f35a7cd5cc8187d21e2cc21a0b667a645447a0eefe57afe3ca25bc4566
sha512=6846998704d11a63756035ad6226cc4708c7c29b2327ca7ca279a174b8c1c403962801019cc5a0ce27474bb3c382ce878c19fd85f694fab4360f4969341f0656
doc/CHANGES.html
v0.4.1 (2025-02-17)
- handle root specially for encoding and decoding (#12 @reynir)
v0.4.0 (2022-01-07)
- compare: conform to canonical DNS name order (RFC 4034, Section 6.1)
v0.3.1 (2021-10-27)
- remove fmt and astring dependency
v0.3.0 (2019-07-08)
- all optional ?back arguments are now ?rev
- compare_sub is now compare_label
- new function: equal_label : ?case_sensitive:bool -> string -> string -> bool
- new function: find_label : ?rev:bool -> 'a t -> (string -> bool) -> int option which searches for the predicate (3rd argument) in t (2nd arguments)
v0.2.1 (2019-06-30)
- getter functions for labels: get_label : 'a t -> int -> (string, [> `Msg of string ]) result get_label_exn : 'a t -> int -> string
- count_labels : 'a t -> int
v0.2.0 (2019-06-25)
- type t is now a phantom type 'a t, where 'a carries whether it is a hostname, a service name or a raw domain name. this lead to removal of various ?hostname:bool arguments
- val host : 'a t -> ([
host] t, [>
Msg of string ]) result - analog host_exn, service, service_exn, raw
- removed is_service, is_hostname
- new submodules Host_set, Host_map, Service_set, Service_map
- new function: append : 'a t -> 'b t -> ([
raw] t, [>
Msg of string ]) result - renamed: drop_labels{,_exn} is now drop_label{,_exn}
- renamed: prepend{,_exn} is now prepend_label{,_exn}
0.1.2 (2019-02-16)
is_service
accepts numeric service names, used for ports in TLSA records (#1 by @cfcs)- port to dune
0.1.1 (2018-07-07)
to_string
andto_strings
now have an optional labeledtrailing
argument of type bool- support for FQDN with trailing dot:
of_string "example.com."
now returnsOk
, and is equal toof_string "example.com"
- fix and add tests for
drop_labels
anddrop_labels_exn
, where the semantics of the labeledback
argument was inversed.
0.1.0 (2018-06-26)
- Initial release
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page