diff --git a/Cargo.toml b/Cargo.toml index 0353e418f..71c77fcbc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,9 @@ authors = [ "Olivier Nicole", "Didier Willis" ] +readme = "README.md" homepage = "https://sile-typesetter.org" +repository = "https://github.com/sile-typesetter/sile" license = "MIT" build = "build-aux/build.rs" @@ -18,6 +20,26 @@ build = "build-aux/build.rs" name = "sile" required-features = [ "cli" ] +[features] +default = [ "cli", "bash", "elvish", "fish", "manpage", "powershell", "zsh" ] +lua54 = [ "mlua/lua54" ] +lua53 = [ "mlua/lua53" ] +lua52 = [ "mlua/lua52" ] +lua51 = [ "mlua/lua51" ] +luajit = [ "mlua/luajit" ] +vendored = [ "mlua/vendored" ] +completions = [ "cli", "clap_complete" ] +cli = [ "clap" ] +bash = [ "completions" ] +elvish = [ "completions" ] +fish = [ "completions" ] +manpage = [ "clap_mangen" ] +powershell = [ "completions" ] +zsh = [ "completions" ] + +[profile.release] +lto = true + [dependencies] [dependencies.anyhow] @@ -51,23 +73,3 @@ required-features = [ "cli" ] version = "8.2" default-features = false features = [ "build", "cargo", "git", "gitoxide" ] - -[features] -default = [ "cli", "bash", "elvish", "fish", "manpage", "powershell", "zsh" ] -lua54 = [ "mlua/lua54" ] -lua53 = [ "mlua/lua53" ] -lua52 = [ "mlua/lua52" ] -lua51 = [ "mlua/lua51" ] -luajit = [ "mlua/luajit" ] -vendored = [ "mlua/vendored" ] -completions = [ "cli", "clap_complete" ] -cli = [ "clap" ] -bash = [ "completions" ] -elvish = [ "completions" ] -fish = [ "completions" ] -manpage = [ "clap_mangen" ] -powershell = [ "completions" ] -zsh = [ "completions" ] - -[profile.release] -lto = true