Prechádzať zdrojové kódy

Add description and license to Cargo.toml for each crate

Sasha Hilton 4 rokov pred
rodič
commit
394320c7b7

+ 2 - 0
audio/Cargo.toml

@@ -2,6 +2,8 @@
 name = "librespot-audio"
 version = "0.1.0"
 authors = ["Paul Lietar <paul@lietar.net>"]
+description="The audio fetching and processing logic for librespot"
+license="MIT"
 
 [dependencies.librespot-core]
 path = "../core"

+ 2 - 0
connect/Cargo.toml

@@ -2,6 +2,8 @@
 name = "librespot-connect"
 version = "0.1.0"
 authors = ["Paul Lietar <paul@lietar.net>"]
+description="The discovery and Spotify Connect logic for librespot"
+license="MIT"
 
 [dependencies.librespot-core]
 path = "../core"

+ 3 - 0
core/Cargo.toml

@@ -3,9 +3,12 @@ name = "librespot-core"
 version = "0.1.0"
 authors = ["Paul Lietar <paul@lietar.net>"]
 build = "build.rs"
+description="The core functionality provided by librespot"
+license="MIT"
 
 [dependencies.librespot-protocol]
 path = "../protocol"
+version = "0.1.0"
 
 [dependencies]
 base64 = "0.10"

+ 2 - 0
metadata/Cargo.toml

@@ -2,6 +2,8 @@
 name = "librespot-metadata"
 version = "0.1.0"
 authors = ["Paul Lietar <paul@lietar.net>"]
+description="The metadata logic for librespot"
+license="MIT"
 
 [dependencies]
 byteorder = "1.3"

+ 2 - 0
playback/Cargo.toml

@@ -2,6 +2,8 @@
 name = "librespot-playback"
 version = "0.1.0"
 authors = ["Sasha Hilton <sashahilton00@gmail.com>"]
+description="The audio playback logic for librespot"
+license="MIT"
 
 [dependencies.librespot-audio]
 path = "../audio"

+ 2 - 0
protocol/Cargo.toml

@@ -3,6 +3,8 @@ name = "librespot-protocol"
 version = "0.1.0"
 authors = ["Paul Liétar <paul@lietar.net>"]
 build = "build.rs"
+description="The protobuf logic for communicating with Spotify servers"
+license="MIT"
 
 [dependencies]
 protobuf = "2.8.1"