Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix publish doc build #161

Merged
merged 3 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ members = [

[workspace.package]
name = "hyperdrive-rs"
version = "0.16.5"
version = "0.16.6"
authors = [
"Alex Towle <[email protected]>",
"Dylan Paiton <[email protected]>",
Expand All @@ -29,9 +29,9 @@ repository = "https://github.com/delvtech/hyperdrive-rs"
description = "API for simulating Hyperdrive smart contract transactions."

[workspace.dependencies]
fixedpointmath = { version = "0.16.5", path="crates/fixedpointmath" }
hyperdrive-wrappers = { version = "0.16.5", path="crates/hyperdrive-wrappers" }
hyperdrive-math = { version = "0.16.5", path="crates/hyperdrive-math" }
fixedpointmath = { version = "0.16.6", path="crates/fixedpointmath" }
hyperdrive-wrappers = { version = "0.16.6", path="crates/hyperdrive-wrappers" }
hyperdrive-math = { version = "0.16.6", path="crates/hyperdrive-math" }

[workspace.lints.clippy]
comparison_chain = "allow"
Expand Down
5 changes: 1 addition & 4 deletions bindings/hyperdrivepy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,4 @@ fixedpointmath = { path = "../../crates/fixedpointmath" }
hyperdrive-math = { path = "../../crates/hyperdrive-math" }
hyperdrive-wrappers = { path = "../../crates/hyperdrive-wrappers" }

pyo3 = { version = "0.21.2", features = ["abi3-py37", "multiple-pymethods"] }

[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", "../assets/katex_header.html"]
pyo3 = { version = "0.21.2", features = ["abi3-py37", "multiple-pymethods"] }
2 changes: 1 addition & 1 deletion bindings/hyperdrivepy/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "hyperdrivepy"
version = "0.16.5"
version = "0.16.6"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Rust",
Expand Down
2 changes: 1 addition & 1 deletion bindings/hyperdrivepy/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name="hyperdrivepy",
version="0.16.5",
version="0.16.6",
packages=["hyperdrivepy"],
package_dir={"": "python"},
rust_extensions=[
Expand Down
2 changes: 1 addition & 1 deletion crates/fixedpointmath/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ test-utils = { path = "../test-utils" }
hyperdrive-wrappers = { path = "../hyperdrive-wrappers" }

[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", "../assets/katex_header.html"]
rustdoc-args = ["--html-in-header", "assets/katex_header.html"]
2 changes: 1 addition & 1 deletion crates/hyperdrive-math/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ tracing-test = "0.1"
hyperdrive-test-utils = { path = "../hyperdrive-test-utils" }

[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", "../assets/katex_header.html"]
rustdoc-args = ["--html-in-header", "assets/katex_header.html"]
5 changes: 1 addition & 4 deletions crates/hyperdrive-test-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,4 @@ tracing = "0.1"
# Workspace dependencies.
fixedpointmath = { path = "../fixedpointmath" }
hyperdrive-wrappers = { path = "../hyperdrive-wrappers" }
test-utils = { path = "../test-utils" }

[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", "../assets/katex_header.html"]
test-utils = { path = "../test-utils" }
2 changes: 1 addition & 1 deletion crates/hyperdrive-wrappers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ tokio = { version = "1", features = ["full"] }
walkdir = "2"

[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", "../assets/katex_header.html"]
rustdoc-args = ["--html-in-header", "assets/katex_header.html"]
5 changes: 1 addition & 4 deletions crates/test-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,4 @@ ethers = "2.0.11"
eyre = "0.6.8"
futures-locks = "0.7.1"
lazy_static = "1.4.0"
thiserror = "1.0"

[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", "../assets/katex_header.html"]
thiserror = "1.0"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "hyperdrivepy"
version = "0.16.5"
version = "0.16.6"
authors = [
{ name = "Dylan Paiton", email = "[email protected]" },
{ name = "Matthew Brown", email = "[email protected]" },
Expand Down
5 changes: 5 additions & 0 deletions scripts/publish_crates.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/bash

echo "simlink assets into crates"
ln -s assets crates/fixedpointmath
ln -s assets crates/hyperdrive-wrappers
ln -s assets crates/hyperdrive-math

echo "publish rust crates to crates.io"
cargo publish --token $1 -p fixedpointmath
BUILD_DISABLED=true cargo publish --token $1 -p hyperdrive-wrappers
Expand Down
Loading