Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Rename repo to simd-lite
closes #114
  • Loading branch information
Licenser committed Mar 25, 2020
1 parent 4d88459 commit ec7d0aa
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 18 deletions.
6 changes: 2 additions & 4 deletions Cargo.toml
@@ -1,12 +1,12 @@
[package]
name = "simd-json"
version = "0.3.3"
version = "0.3.4"
authors = ["Heinz N. Gies <heinz@licenser.net>", "Sunny Gleason"]
edition = "2018"
exclude = [ "data/*" ]
license = "Apache-2.0/MIT"
description = "High performance JSON parser based on a port of simdjson"
repository = "https://github.com/simd-lite/simdjson-rs"
repository = "https://github.com/simd-lite/simd-json"
readme = "./README.md"
documentation = "https://docs.rs/simd-json"

Expand All @@ -24,8 +24,6 @@ value-trait = "0.1"
serde = { version = "1", features = ["derive"], optional = true}
serde_json = { version = "1", optional = true}

# Thisn should be a dev dependecy but we can't make it optional then
# simdjson-rust = { git = "https://github.com/SunDoge/simdjson-rust", optional = true }
jemallocator = { version = "0.3", optional = true }
perfcnt = { version = "0.5", optional = true }
getopts = { version = "0.2", optional = true }
Expand Down
14 changes: 7 additions & 7 deletions README.md
@@ -1,14 +1,14 @@
# SIMD Json for Rust &emsp; [![Build Status]][simd-json.rs] [![Build Status ARM]][drone.io] [![Quality]][simd-json.rs] [![Latest Version]][crates.io] [![Code Coverage]][codecov.io]

[Build Status ARM]: https://cloud.drone.io/api/badges/simd-lite/simdjson-rs/status.svg
[drone.io]: https://cloud.drone.io/simd-lite/simdjson-rs
[Build Status]: https://github.com/simd-lite/simdjson-rs/workflows/Tests/badge.svg
[Quality]: https://github.com/simd-lite/simdjson-rs/workflows/Quality/badge.svg
[Build Status ARM]: https://cloud.drone.io/api/badges/simd-lite/simd-json/status.svg
[drone.io]: https://cloud.drone.io/simd-lite/simd-json
[Build Status]: https://github.com/simd-lite/simd-json/workflows/Tests/badge.svg
[Quality]: https://github.com/simd-lite/simd-json/workflows/Quality/badge.svg
[simd-json.rs]: https://simd-json.rs
[Latest Version]: https://img.shields.io/crates/v/simd-json.svg
[crates.io]: https://crates.io/crates/simd-json
[Code Coverage]: https://codecov.io/gh/simd-lite/simdjson-rs/badge.svg
[codecov.io]: https://codecov.io/gh/simd-lite/simdjson-rs
[Code Coverage]: https://codecov.io/gh/simd-lite/simd-json/badge.svg
[codecov.io]: https://codecov.io/gh/simd-lite/simd-json

**Rust port of extremely fast [simdjson](https://github.com/lemire/simdjson) JSON parser with [serde][1] compatibility.**

Expand Down Expand Up @@ -79,7 +79,7 @@ There are also bindings for upstream `simdjson` available [here](https://github.

## License

simdjson-rs itself is licensed under either of
simd-json itself is licensed under either of

* Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
Expand Down
8 changes: 4 additions & 4 deletions src/lib.rs
Expand Up @@ -27,15 +27,15 @@
#![allow(clippy::module_name_repetitions, clippy::inline_always)]
#![deny(missing_docs)]

//! simdjson-rs is a rust port of the simdjson c++ library. It follows
//! simd-json is a rust port of the simdjson c++ library. It follows
//! most of the design closely with a few exceptions to make it better
//! fit into the rust ecosystem.
//!
//! Note: by default rustc will compile for compatibility, not
//! performance, to take advantage of the simd part of simd json. You
//! have to use a native cpu target on a avx2 capable host system. An
//! example how to do this can be found in the `.cargo` directory on
//! [github](https://github.com/Licenser/simdjson-rs).
//! [github](https://github.com/simd-lite/simd-json).
//!
//! ## Goals
//!
Expand Down Expand Up @@ -98,12 +98,12 @@
//!
//! ## Usage
//!
//! simdjson-rs offers two main entry points for usage:
//! simd-json offers two main entry points for usage:
//!
//! ### Values API
//!
//! The values API is a set of optimized DOM objects that allow parsed
//! json to JSON data that has no known variable structure. simdjson-rs
//! json to JSON data that has no known variable structure. simd-lite
//! has two versions of this:
//!
//! **Borrowed Values**
Expand Down
4 changes: 2 additions & 2 deletions src/serde.rs
@@ -1,4 +1,4 @@
/// simdjson-rs integrates with serde, this module holds this integration.
/// simd-json integrates with serde, this module holds this integration.
/// note that when parsing to a dom you should use the functions in
/// `to_owned_value` or `to_borrowed_value` as they provide much
/// better performance.
Expand Down Expand Up @@ -39,7 +39,7 @@ impl std::fmt::Display for SerdeConversionError {
NumberOutOfBounds => write!(f, "Serde can not represent 128 bit values"),
Oops => write!(
f,
"Unreachable code is reachable, oops - please open a bug with simdjson-rs"
"Unreachable code is reachable, oops - please open a bug with simd-json"
),
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/serde/value/owned/se.rs
Expand Up @@ -674,7 +674,7 @@ mod test {
use serde::{Deserialize, Serialize};
use serde_json;
/*
skipped due to https://github.com/simd-lite/simdjson-rs/issues/65
skipped due to https://github.com/simd-lite/simd-json/issues/65
#[derive(Deserialize, Serialize, PartialEq, Debug)]
enum Enum {
Opt1,
Expand Down

0 comments on commit ec7d0aa

Please sign in to comment.