Skip to content

Commit

Permalink
build: disable cargo doc on crates that don't have docs (#4183)
Browse files Browse the repository at this point in the history
Co-authored-by: Maximilian Roos <[email protected]>
  • Loading branch information
aljazerzen and max-sixty authored Feb 7, 2024
1 parent 72b408a commit 4a257b8
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions lutra/bindings/python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ version.workspace = true
[lib]
crate-type = ["cdylib"]
name = "lutra"
doc = false

[target.'cfg(not(target_family="wasm"))'.dependencies]
# we rename lutra to lutralib here, so we can define a function named lutra
Expand Down
1 change: 1 addition & 0 deletions prqlc/bindings/elixir/native/prql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ doctest = false
name = "prql"
path = "src/lib.rs"
test = false
doc = false

# See Readme for details on Mac
[target.'cfg(not(any(target_family="wasm", target_os = "macos")))'.dependencies]
Expand Down
1 change: 1 addition & 0 deletions prqlc/bindings/java/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ version.workspace = true
crate_type = ["cdylib"]
doctest = false
test = false
doc = false

[dependencies]
jni = "0.21.1"
Expand Down
1 change: 1 addition & 0 deletions prqlc/bindings/js/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ version.workspace = true
crate-type = ["cdylib", "rlib"]
doctest = false
test = false
doc = false

[features]
default = ["console_error_panic_hook"]
Expand Down
1 change: 1 addition & 0 deletions prqlc/bindings/prqlc-c/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ default = []
crate_type = ["staticlib", "cdylib"]
doctest = false
test = false
doc = false

[dependencies]
libc = "0.2.153"
Expand Down
2 changes: 2 additions & 0 deletions prqlc/bindings/python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ version.workspace = true
[lib]
crate-type = ["cdylib"]
name = "prql_python"
doctest = false
doc = false

[target.'cfg(not(target_family="wasm"))'.dependencies]
pyo3 = {version = "0.20.2", features = ["abi3-py37"]}
Expand Down
1 change: 1 addition & 0 deletions prqlc/prqlc/examples/compile-files/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ version.workspace = true
[[bin]]
name = "compile-files"
test = false
doc = false

[build-dependencies]
prqlc = {path = '../../../prqlc', default-features = false}
1 change: 1 addition & 0 deletions web/book/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ version.workspace = true

[lib]
doctest = false
doc = false

[[bin]]
name = "mdbook-prql"
Expand Down

0 comments on commit 4a257b8

Please sign in to comment.