-// swift-tools-version:5.1
+// swift-tools-version:5.0
 
 //
 // Licensed under the Apache License, Version 2.0 (the "License");

    .target(name: "OAuth1",
            dependencies: ["CryptoSwift", "TinyHTTPServer"]),
    .target(name: "OAuth2",
            dependencies: ["CryptoSwift", "TinyHTTPServer", "BigInt", "SwiftyBase64"]),
    .target(name: "TinyHTTPServer",
	    dependencies: ["NIO", "NIOHTTP1"]),
    .target(name: "SwiftyBase64"),

    .target(name: "Meetup",      dependencies: ["OAuth2"], path: "Sources/Examples/Meetup"),
    .target(name: "Spotify",     dependencies: ["OAuth2"], path: "Sources/Examples/Spotify"),
    .target(name: "Twitter",     dependencies: ["OAuth1"], path: "Sources/Examples/Twitter"),
  ]
)
