Skip to content

Commit b7cdcb2

Browse files
authored
Merge pull request #2040 from CosmWasm/create-cosmwasm-core
Add stub crate cosmwasm-core
2 parents c038ad0 + a95b319 commit b7cdcb2

File tree

4 files changed

+34
-0
lines changed

4 files changed

+34
-0
lines changed

Cargo.lock

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/Cargo.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[package]
2+
name = "cosmwasm-core"
3+
version = "0.0.1"
4+
edition = "2021"
5+
description = "Components of cosmwasm-std that can be used in no_std environments"
6+
repository = "https://github.com/CosmWasm/cosmwasm/tree/main/packages/core"
7+
license = "Apache-2.0"
8+
readme = "README.md"
9+
10+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
11+
12+
[dependencies]

packages/core/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# cosmwasm-core
2+
3+
[![cosmwasm-core on crates.io](https://img.shields.io/crates/v/cosmwasm-core.svg)](https://crates.io/crates/cosmwasm-core)
4+
5+
This crate contains components of cosmwasm-std that can be used in a
6+
[no_std environment](https://docs.rust-embedded.org/book/intro/no-std.html). All
7+
symbols are re-exported by cosmwasm-std, such that contract developers don't
8+
need to add this dependency directly. It is recommended to only use cosmwasm-std
9+
whenever possible.
10+
11+
## License
12+
13+
This package is part of the cosmwasm repository, licensed under the Apache
14+
License 2.0 (see [NOTICE](https://github.com/CosmWasm/cosmwasm/blob/main/NOTICE)
15+
and [LICENSE](https://github.com/CosmWasm/cosmwasm/blob/main/LICENSE)).

packages/core/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
//! cosmwasm-core contains components of cosmwasm-std that can be used in a no_std environment.
2+
//! All symbols are re-exported by cosmwasm-std, such that contract developers don't need to
3+
//! add this dependency directly. It is recommended to only use cosmwasm-std whenever possible.

0 commit comments

Comments
 (0)