From b14e64fda7abd9d9996de8c36f62d78d94843aa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iivari=20=C3=84ik=C3=A4s?= Date: Fri, 8 Feb 2013 23:35:55 +0200 Subject: [PATCH] Mark flatland/io as project dependency --- project.clj | 4 ++-- src/flatland/protobuf/codec.clj | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/project.clj b/project.clj index d706079..c27e07c 100644 --- a/project.clj +++ b/project.clj @@ -6,14 +6,14 @@ :dependencies [[org.clojure/clojure "1.4.0"] [org.flatland/useful "0.9.0"] [org.flatland/schematic "0.1.0"] + [org.flatland/io "0.3.0"] [ordered-collections "0.4.0"]] :plugins [[lein-protobuf "0.3.1"]] :javac-options ["-target" "5" "-source" "5"] :aliases {"testall" ["with-profile" "dev,default:dev,1.3,default:dev,1.5,default" "test"]} :profiles {:1.3 {:dependencies [[org.clojure/clojure "1.3.0"]]} :1.5 {:dependencies [[org.clojure/clojure "1.5.0-master-SNAPSHOT"]]} - :dev {:dependencies [[gloss "0.2.1"] - [org.flatland/io "0.3.0"]]}} + :dev {:dependencies [[gloss "0.2.1"]]}} :repositories {"sonatype-snapshots" {:url "http://oss.sonatype.org/content/repositories/snapshots" :snapshots true :releases {:checksum :fail :update :always}}} diff --git a/src/flatland/protobuf/codec.clj b/src/flatland/protobuf/codec.clj index 01baecc..af4f434 100644 --- a/src/flatland/protobuf/codec.clj +++ b/src/flatland/protobuf/codec.clj @@ -5,6 +5,9 @@ [flatland.useful.fn :only [fix]] [flatland.useful.experimental :only [lift-meta]] [clojure.java.io :only [input-stream]]) + + ;; flatland.io extends Seqable so we can concat InputStream from + ;; ByteBuffer sequences. (:require flatland.io.core [flatland.schematic.core :as schema] [gloss.core :as gloss]))