Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
# thumbv6m-none-eabi supports atomic, but not atomic CAS.
# riscv32i-unknown-none-elf does not support atomic at all.
target:
- thumbv6m-none-eabi
- thumbv7m-none-eabi
- thumbv6m-none-eabi
- riscv32i-unknown-none-elf
runs-on: ubuntu-latest
steps:
Expand All @@ -45,6 +45,9 @@ jobs:
working-directory: valuable
- run: cargo hack build --target ${{ matrix.target }} --feature-powerset --skip std,default
working-directory: valuable-serde
# TODO: support no-std in valuable-json
# - run: cargo hack build --target ${{ matrix.target }} --feature-powerset --skip std,default
# working-directory: valuable-json

features:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ resolver = "2"
members = [
"valuable",
"valuable-derive",
"valuable-json",
"valuable-serde",
"tests",
]
20 changes: 20 additions & 0 deletions valuable-json/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[package]
name = "valuable-json"
version = "0.1.0"
authors = ["Taiki Endo <te316e89@gmail.com>"]
edition = "2018"
license = "MIT"
description = "JSON support for Valuable."

[features]
default = ["std"]

# NOTE: Disabling `std` feature is not supported yet.
std = ["valuable/std"]

[dependencies]
valuable = { version = "0.1", path = "../valuable", default-features = false }
ryu = "1"

[dev-dependencies]
valuable = { version = "0.1", path = "../valuable", features = ["derive"] }
Loading