Skip to content

Commit

Permalink
Initial import
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterthanlime committed Jul 29, 2024
0 parents commit 24c80a1
Show file tree
Hide file tree
Showing 8 changed files with 1,904 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Tests

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Run tests
run: cargo run
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
300 changes: 300 additions & 0 deletions Cargo.lock

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

18 changes: 18 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[package]
name = "merde_json"
version = "0.1.0"
edition = "2021"
authors = ["Amos Wenger <[email protected]>"]
description = "Serialize and deserialize JSON with jiter and declarative macros"
license = "Apache-2.0 OR MIT"
readme = "README.md"
repository = "https://github.com/bearcove/merde_json"
keywords = ["json", "serialization", "deserialization", "jiter"]
categories = ["encoding", "parser-implementations"]

[dependencies]
jiter = "0.5.0"

[dev-dependencies]
serde = { version = "1.0.204", features = ["derive"] }
serde_json = "1.0.121"
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# merde_json

Do you want to deal with JSON data? Are you not _that_ worried about the
performance overhead? (ie. you're writing a backend in Rust, but if it was
written in Node.js nobody would bat an eye).

Are you tired of waiting for proc macros to compile, and dealing with super
generic traits?

Do you not care about any formats other than JSON?

Are you ready to give up the comforts of `#[serde(rename_all)]`, `#[serde(flatten)]`, etc.?

Then the bag of compromises known as `merde_json` might just work for you!
Loading

0 comments on commit 24c80a1

Please sign in to comment.