build: add description and license to Cargo.toml

This commit is contained in:
Foorack
2021-08-07 23:38:34 +02:00
parent 3b9230f4cf
commit 4eb56da5fc
2 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,9 @@
name = "vrchatapi" name = "vrchatapi"
version = "1.0.0" version = "1.0.0"
authors = ["OpenAPI Generator team and contributors"] authors = ["OpenAPI Generator team and contributors"]
license = "MIT"
edition = "2018" edition = "2018"
description="VRChat API Library for Rust"
[dependencies] [dependencies]
serde = "^1.0" serde = "^1.0"

View File

@ -14,8 +14,8 @@ openapi-generator-cli generate \
rm docs -rf rm docs -rf
#description = "VRChat API Library for Rust" sed -i '/^edition = "2018"/i license = "MIT"' Cargo.toml
#license = "MIT" sed -i '/^edition = "2018"/a description="VRChat API Library for Rust"' Cargo.toml
# Remove unwanted lines from README # Remove unwanted lines from README
#sed -i '/Uncomment the following line to set a prefix/d' ./README.md #sed -i '/Uncomment the following line to set a prefix/d' ./README.md