diff --git a/Cargo.toml b/Cargo.toml index 40855196..60b91747 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,10 +6,11 @@ members = [".", "./sys", "./lottie2gif"] [package] name = "rlottie" version = "0.1.0" -publish = false - license = "MIT" +include = ["src/**/*.rs", "/LICENSE"] + description = "A platform independent standalone library that plays Lottie Animation" +repository = "https://github.com/msrd0/rlottie-rs" edition = "2021" rust-version = "1.56" diff --git a/lottie2gif/Cargo.toml b/lottie2gif/Cargo.toml index 7f46ed0b..40aade7b 100644 --- a/lottie2gif/Cargo.toml +++ b/lottie2gif/Cargo.toml @@ -4,15 +4,21 @@ workspace = ".." name = "lottie2gif" version = "0.1.0" -publish = false - license = "MIT" +include = ["src/**/*.rs", "/LICENSE"] + description = "Convert lottie files to GIF" +repository = "https://github.com/msrd0/rlottie-rs" edition = "2021" rust-version = "1.56" +autobins = false + +[[bin]] +name = "lottie2gif" +required-features = ["clap"] [dependencies] -clap = "=3.0.0-beta.5" +clap = { version = "=3.0.0-beta.5", optional = true } gif = "0.11.3" -rlottie = { path = ".." } +rlottie = { path = "..", version = "0.1" } diff --git a/lottie2gif/LICENSE b/lottie2gif/LICENSE new file mode 120000 index 00000000..ea5b6064 --- /dev/null +++ b/lottie2gif/LICENSE @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/sys/Cargo.toml b/sys/Cargo.toml index f10026aa..dc9f868f 100644 --- a/sys/Cargo.toml +++ b/sys/Cargo.toml @@ -4,10 +4,11 @@ workspace = ".." name = "rlottie-sys" version = "0.1.0" -publish = false - license = "MIT" +include = ["src/**/*.rs", "/build.rs", "/wrapper.h", "/LICENSE"] + description = "A platform independent standalone library that plays Lottie Animation" +repository = "https://github.com/msrd0/rlottie-rs" edition = "2021" rust-version = "1.56" diff --git a/sys/LICENSE b/sys/LICENSE new file mode 120000 index 00000000..ea5b6064 --- /dev/null +++ b/sys/LICENSE @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file