;;;; package.lisp

(defpackage #:phos
  (:use #:cl))

(defpackage #:phos/gemtext
  (:documentation "Gemtext (text/gemini) parsing")
  (:nicknames :gemtext)
  (:use #:cl #:trivia)
  (:export :element :title :link :item :blockquote :paragraph :verbatim
           :element-p :title-p :link-p :item-p :blockquote-p :paragraph-p :verbatim-p
           :text :url :alt :level
           :parse :parse-string :unparse :line-eq))

(defpackage #:phos/gemini
  (:documentation "Gemini (the protocol) implementation")
  (:nicknames :gemini)
  (:use #:cl #:trivia)
  (:export :*default-port* :*code-to-keyword*
           :request :with-gemini-request))
