diff --git a/Cargo.toml b/Cargo.toml index 62c43f8..317719a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,9 @@ name = "vrchatapi" version = "1.0.0" authors = ["OpenAPI Generator team and contributors"] +license = "MIT" edition = "2018" +description="VRChat API Library for Rust" [dependencies] serde = "^1.0" diff --git a/generate.sh b/generate.sh index decf49a..3cf6dbd 100755 --- a/generate.sh +++ b/generate.sh @@ -14,8 +14,8 @@ openapi-generator-cli generate \ rm docs -rf -#description = "VRChat API Library for Rust" -#license = "MIT" +sed -i '/^edition = "2018"/i license = "MIT"' Cargo.toml +sed -i '/^edition = "2018"/a description="VRChat API Library for Rust"' Cargo.toml # Remove unwanted lines from README #sed -i '/Uncomment the following line to set a prefix/d' ./README.md