Skip to content

Commit

Permalink
Merge branch 'main' into feat-deserialize-v0.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jbcaron committed Nov 13, 2024
2 parents f0fbe1e + 7ef3023 commit e5f3769
Show file tree
Hide file tree
Showing 27 changed files with 9,264 additions and 314 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @LucasLvy @pefontana
* @pefontana @dan-starkware
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,9 @@ jobs:
- name: "Checkout source code"
uses: "actions/checkout@v3"

- name: "Setup stable toolchain"
uses: "actions-rs/toolchain@v1"
with:
toolchain: "stable"
profile: "minimal"
override: true
- uses: actions/checkout@v3
- name: Install toolchain
run: rustup show

- name: "Install cargo-hack"
run: |
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# just for manual publishing
on: workflow_dispatch

name: Publish

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install toolchain
run: rustup show

- run: cargo publish --token "$CARGO_REGISTRY_TOKEN" -p starknet-types-core
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ authors = [
"Dan Brownstein <@dan-starkware>",
"Federico Carrone <@unbalancedparentheses>",
"Jonathan Lei <@xJonathanLEI>",
"Maciej Kamiński <@maciejka>",
]
edition = "2021"
repository = "https://github.com/starknet-io/types-rs"
35 changes: 17 additions & 18 deletions crates/starknet-types-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starknet-types-core"
version = "0.1.5"
version = "0.1.7"
edition = "2021"
license = "MIT"
homepage = "https://github.com/starknet-io/types-rs"
Expand All @@ -11,19 +11,19 @@ description = "Core types representation for Starknet"
readme = "README.md"

[dependencies]
lambdaworks-math = { version = "0.7.0", default-features = false }
num-traits = { version = "0.2.18", default-features = false }
num-bigint = { version = "0.4.4", default-features = false }
num-integer = { version = "0.1.45", default-features = false }
lambdaworks-math = { version = "0.10.0", default-features = false }
num-traits = { version = "0.2", default-features = false }
num-bigint = { version = "0.4", default-features = false }
num-integer = { version = "0.1", default-features = false }

# Optional
arbitrary = { version = "1.3.2", optional = true }
serde = { version = "1.0.197", optional = true, default-features = false, features = [
arbitrary = { version = "1.3", optional = true }
serde = { version = "1", optional = true, default-features = false, features = [
"alloc",
] }
lambdaworks-crypto = { version = "0.7.0", default-features = false, optional = true }
parity-scale-codec = { version = "3.6.9", default-features = false, optional = true }
lazy_static = { version = "1.4.0", default-features = false, optional = true }
lambdaworks-crypto = { version = "0.10.0", default-features = false, optional = true }
parity-scale-codec = { version = "3.6", default-features = false, optional = true }
lazy_static = { version = "1.5", default-features = false, optional = true }

[features]
default = ["std", "serde", "curve", "num-traits"]
Expand All @@ -46,15 +46,14 @@ num-traits = []
papyrus-serialization = ["std"]

[dev-dependencies]
proptest = "1.4.0"
regex = "1.10.4"
serde_test = "1.0.176"
criterion = "0.5.1"
rand_chacha = "0.3.1"
rand = "0.8.5"
lazy_static = { version = "1.4.0", default-features = false }
proptest = "1.5"
regex = "1.11"
serde_test = "1"
criterion = "0.5"
rand_chacha = "0.3"
rand = "0.8"
lazy_static = { version = "1.5", default-features = false }

[[bench]]
name = "criterion_hashes"
harness = false

Loading

0 comments on commit e5f3769

Please sign in to comment.