Skip to content

Commit

Permalink
chore(tooling): Unscramble manifest ordering, remove unimplemented ba…
Browse files Browse the repository at this point in the history
…con config
  • Loading branch information
alerque committed Nov 19, 2024
1 parent 7613a17 commit 1d2cc49
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 88 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

168 changes: 86 additions & 82 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,102 +1,56 @@
[workspace]
resolver = "2"
members = [ ".", "rusile" ]

[workspace.package]
version = "0.15.5"
edition = "2021"
rust-version = "1.71.0"
authors = [
"Simon Cozens",
"Caleb Maclennan <[email protected]>",
"Olivier Nicole",
"Didier Willis"
]
homepage = "https://sile-typesetter.org"
repository = "https://github.com/sile-typesetter/sile"
license = "MIT"

[workspace.dependencies.mlua]
version = "0.10"
features = [ "anyhow" ]

[package]
name = "sile"
description = "Simon’s Improved Layout Engine"
readme = "README.md"
build = "build-aux/build.rs"
version = "0.15.6"

[package.edition]
workspace = true

[package.rust-version]
workspace = true

[package.authors]
workspace = true
[workspace.package]
version = "0.15.6"
edition = "2021"
rust-version = "1.71.0"
authors = [
"Simon Cozens",
"Caleb Maclennan <[email protected]>",
"Olivier Nicole",
"Didier Willis"
]
homepage = "https://sile-typesetter.org"
repository = "https://github.com/sile-typesetter/sile"
license = "MIT"

[package.homepage]
workspace = true
[workspace]
resolver = "2"
members = [
".",
"rusile"
]

[package.repository]
workspace = true
[package.edition]
workspace = true

[package.license]
workspace = true
[package.rust-version]
workspace = true

[package.metadata.bacon.jobs]
cmd = [ "cargo", "build", "--color", "always" ]
[package.authors]
workspace = true

[package.metadata.typos.default]
locale = "en-us"
extend-ignore-re = [
"(?s)(#|//|--|%)\\s*typos: ignore start.*?\\n\\s*(#|//|--|%)\\s*typos: ignore end"
]
extend-ignore-identifiers-re = [
"[a-f0-9]{7}",
"^.{2,3}$",
"^twords?",
"[Pp]arms",
"wdth",
"0fpt",
"^ot",
"^hb_ot",
"^HB_",
"^Tyre$",
"PoDoFo",
"_Flate",
"pointint",
"DEPENDEES",
"EPdf",
"FileAttachement"
]
[package.homepage]
workspace = true

[package.metadata.typos.default.extend-words]
beveled = "bevelled"
bevelled = "bevelled"
craters = "creators"
neet = "need"
[package.repository]
workspace = true

[package.metadata.typos.files]
ignore-hidden = false
extend-exclude = [
"/.git",
"CHANGELOG.md",
"build-aux/ax*",
"languages/*/hyphens*",
"lua-libraries/*",
"lua_modules/*",
"node_modules/*",
"tests/*.expected",
"cmake/*.diff",
"libtexpdf"
]
[package.license]
workspace = true

[[bin]]
name = "sile"
required-features = [ "cli" ]

[profile.release]
lto = true

[features]
default = [
"cli",
Expand Down Expand Up @@ -124,8 +78,13 @@ manpage = [ "clap_mangen" ]
powershell = [ "completions" ]
zsh = [ "completions" ]

[profile.release]
lto = true
[workspace.dependencies.mlua]
version = "0.10"
features = [ "anyhow" ]

[workspace.dependencies.sile]
path = "."
version = "0.15.6"

[dependencies.anyhow]
version = "1.0"
Expand Down Expand Up @@ -171,3 +130,48 @@ features = [ "build", "cargo", "git", "gitoxide" ]

[package.metadata.docs.rs]
features = [ "luajit", "vendored" ]

[package.metadata.typos.default]
locale = "en-us"
extend-ignore-re = [
"(?s)(#|//|--|%)\\s*typos: ignore start.*?\\n\\s*(#|//|--|%)\\s*typos: ignore end"
]
extend-ignore-identifiers-re = [
"[a-f0-9]{7}",
"^.{2,3}$",
"^twords?",
"[Pp]arms",
"wdth",
"0fpt",
"^ot",
"^hb_ot",
"^HB_",
"^Tyre$",
"PoDoFo",
"_Flate",
"pointint",
"DEPENDEES",
"EPdf",
"FileAttachement"
]

[package.metadata.typos.default.extend-words]
beveled = "bevelled"
bevelled = "bevelled"
craters = "creators"
neet = "need"

[package.metadata.typos.files]
ignore-hidden = false
extend-exclude = [
"/.git",
"CHANGELOG.md",
"build-aux/ax*",
"languages/*/hyphens*",
"lua-libraries/*",
"lua_modules/*",
"node_modules/*",
"tests/*.expected",
"cmake/*.diff",
"libtexpdf"
]
10 changes: 5 additions & 5 deletions rusile/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "rusile"
description = "Rusty components for the SILE typesetter"
readme = "README.md"
readme = "../README.md"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
Expand All @@ -11,10 +11,7 @@ repository.workspace = true
license.workspace = true

[lib]
crate-type = ["rlib", "cdylib", "staticlib"]

[dependencies.sile]
path = ".."
crate-type = [ "rlib", "cdylib", "staticlib" ]

[features]
default = []
Expand All @@ -25,6 +22,9 @@ lua51 = [ "mlua/lua51" ]
luajit = [ "mlua/luajit" ]
vendored = [ "mlua/vendored" ]

[dependencies.sile]
workspace = true

[dependencies.mlua]
workspace = true
features = [ "macros", "module" ]

0 comments on commit 1d2cc49

Please sign in to comment.