diff --git a/Cargo.toml b/Cargo.toml index cb71a57c8..2dfa33a71 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,6 @@ [workspace] resolver = "2" -members = [ - "printf" -] +members = ["printf"] [workspace.package] rust-version = "1.70" @@ -18,19 +16,30 @@ version = "0.1.0" edition.workspace = true rust-version.workspace = true default-run = "fish" +# see doc_src/license.rst for details +license = "GPL-2.0-only AND LGPL-2.0-or-later AND MIT AND PSF-2.0" +repository = "https://github.com/fish-shell/fish-shell" +homepage = "https://fishshell.com" +readme = "README.rst" [dependencies] -pcre2 = { git = "https://github.com/fish-shell/rust-pcre2", branch = "master", default-features = false, features = ["utf32"] } +pcre2 = { git = "https://github.com/fish-shell/rust-pcre2", branch = "master", default-features = false, features = [ + "utf32", +] } bitflags = "2.5.0" -errno = "0.3.9" +errno = "0.3.0" lazy_static = "1.4.0" libc = "0.2.155" # lru pulls in hashbrown by default, which uses a faster (though less DoS resistant) hashing algo. # disabling default features uses the stdlib instead, but it doubles the time to rewrite the history # files as of 22 April 2024. lru = "0.12.3" -nix = { version = "0.29.0", default-features = false, features = ["inotify", "resource", "fs"] } +nix = { version = "0.29.0", default-features = false, features = [ + "inotify", + "resource", + "fs", +] } num-traits = "0.2.19" once_cell = "1.19.0" fish-printf = { path = "./printf" }