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

extract ABI primitives from near-sdk #1

Merged
merged 12 commits into from
Aug 23, 2022
19 changes: 19 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[package]
name = "near-abi"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/near/near-abi-rs"
description = "NEAR smart contract ABI primitives"

[dependencies]
borsh = { version = "0.9", features = ["const-generics"] }
serde = { version = "1", features = ["derive"] }
schemars = "0.8.8"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noting the unfortunate circumstance that if someone didn't want any JSON schemas in their ABI, this dependency still gets pulled in to every project (including near-sdk if the abi feature is enabled). Nothing has to change here, just mentioning


[dev-dependencies]
serde_json = "1"

[features]
versioned-entries = []
Loading