Skip to content

Commit

Permalink
Update all references to the GitHub organization: amzn -> amazon-ion (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
popematt authored Jan 25, 2023
1 parent 93da7e4 commit 0434d20
Show file tree
Hide file tree
Showing 38 changed files with 79 additions and 79 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ${{ matrix.os }}
# We want to run on external PRs, but not on internal ones as push automatically builds
# H/T: https://github.com/Dart-Code/Dart-Code/commit/612732d5879730608baa9622bf7f5e5b7b51ae65
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'amzn/ion-rust'
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'amazon-ion/ion-rust'
strategy:
matrix:
os: [ubuntu-latest]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:
runs-on: ${{ matrix.os }}
# We want to run on external PRs, but not on internal ones as push automatically builds
# H/T: https://github.com/Dart-Code/Dart-Code/commit/612732d5879730608baa9622bf7f5e5b7b51ae65
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'amzn/ion-rust'
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'amazon-ion/ion-rust'
strategy:
matrix:
# In 2022-01-11, GitHub Actions changed the `windows-latest` virtual environment alias so
# that it stopped pointing to `windows-2019` and began pointing to `windows-2022` instead.
# The pipeline needs to be updated to support the new edition of Windows Server. In the
# meantime, the build only tests Windows Server 2019.
# See https://github.com/amzn/ion-rust/issues/353
# See https://github.com/amazon-ion/ion-rust/issues/353
os: [ubuntu-latest, windows-2019, macos-latest]

steps:
Expand Down
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[submodule "ion-tests"]
path = ion-tests
url = https://github.com/amzn/ion-tests.git
url = https://github.com/amazon-ion/ion-tests.git
[submodule "ion-hash-test"]
path = ion-hash/ion-hash-test
url = https://github.com/amzn/ion-hash-test.git
url = https://github.com/amazon-ion/ion-hash-test.git
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ information to effectively respond to your bug report or contribution.

We welcome you to use the GitHub issue tracker to report bugs or suggest features.

When filing an issue, please check [existing open](https://github.com/amzn/ion-rust/issues), or [recently closed](https://github.com/amzn/ion-rust/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), issues to make sure somebody else hasn't already
When filing an issue, please check [existing open](https://github.com/amazon-ion/ion-rust/issues), or [recently closed](https://github.com/amazon-ion/ion-rust/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), issues to make sure somebody else hasn't already
reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:

* A reproducible test case or series of steps
Expand Down Expand Up @@ -41,7 +41,7 @@ GitHub provides additional document on [forking a repository](https://help.githu


## Finding contributions to work on
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any ['help wanted'](https://github.com/amzn/ion-rust/labels/help%20wanted) issues is a great place to start.
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any ['help wanted'](https://github.com/amazon-ion/ion-rust/labels/help%20wanted) issues is a great place to start.


## Code of Conduct
Expand All @@ -56,6 +56,6 @@ If you discover a potential security issue in this project we ask that you notif

## Licensing

See the [LICENSE](https://github.com/amzn/ion-rust/blob/main/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
See the [LICENSE](https://github.com/amazon-ion/ion-rust/blob/main/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.

We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "ion-rs"
authors = ["Amazon Ion Team <[email protected]>"]
description = "Implementation of Amazon Ion"
homepage = "https://github.com/amzn/ion-rust"
repository = "https://github.com/amzn/ion-rust"
homepage = "https://github.com/amazon-ion/ion-rust"
repository = "https://github.com/amazon-ion/ion-rust"
license = "Apache-2.0"
readme = "README.md"
keywords = ["ion", "parser", "json", "format", "serde"]
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

[![Crate](https://img.shields.io/crates/v/ion-rs.svg)](https://crates.io/crates/ion-rs)
[![Docs](https://docs.rs/ion-rs/badge.svg)](https://docs.rs/ion-rs)
[![License](https://img.shields.io/hexpm/l/plug.svg)](https://github.com/amzn/ion-rust/blob/main/LICENSE)
[![CI Build](https://github.com/amzn/ion-rust/workflows/CI%20Build/badge.svg)](https://github.com/amzn/ion-rust/actions?query=workflow%3A%22CI+Build%22)
[![codecov](https://codecov.io/gh/amzn/ion-rust/branch/main/graph/badge.svg?token=GB20BDE48S)](https://codecov.io/gh/amzn/ion-rust)
[![License](https://img.shields.io/hexpm/l/plug.svg)](https://github.com/amazon-ion/ion-rust/blob/main/LICENSE)
[![CI Build](https://github.com/amazon-ion/ion-rust/workflows/CI%20Build/badge.svg)](https://github.com/amazon-ion/ion-rust/actions?query=workflow%3A%22CI+Build%22)
[![codecov](https://codecov.io/gh/amazon-ion/ion-rust/branch/main/graph/badge.svg?token=GB20BDE48S)](https://codecov.io/gh/amazon-ion/ion-rust)

A Rust implementation of the [Amazon Ion][spec] data format.

Expand All @@ -16,7 +16,7 @@ This project uses a submodule to pull in [Ion Tests][ion-tests]. The easiest wa
everything in is to clone the repository recursively:

```bash
$ git clone --recursive https://github.com/amzn/ion-rust
$ git clone --recursive https://github.com/amazon-ion/ion-rust
```

You can also initialize the submodules as follows:
Expand All @@ -37,6 +37,6 @@ Running all tests for `ion-rust`:
$ cargo test --workspace
```

[spec]: https://amzn.github.io/ion-docs/docs/spec.html
[ion-tests]: https://github.com/amzn/ion-tests
[spec]: https://amazon-ion.github.io/ion-docs/docs/spec.html
[ion-tests]: https://github.com/amazon-ion/ion-tests
[bindgen-req]: https://rust-lang.github.io/rust-bindgen/requirements.html
4 changes: 2 additions & 2 deletions ion-hash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "ion-hash"
authors = ["Amazon Ion Team <[email protected]>"]
description = "Ion Hash"
homepage = "https://github.com/amzn/ion-rust"
repository = "https://github.com/amzn/ion-rust"
homepage = "https://github.com/amazon-ion/ion-rust"
repository = "https://github.com/amazon-ion/ion-rust"
license = "Apache-2.0"
readme = "README.md"
keywords = ["ion", "parser", "json", "format", "hash"]
Expand Down
6 changes: 3 additions & 3 deletions ion-hash/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Crate](https://img.shields.io/crates/v/ion-hash.svg)](https://crates.io/crates/ion-hash)
[![Docs](https://docs.rs/ion-hash/badge.svg)](https://docs.rs/ion-hash)
[![License](https://img.shields.io/crates/l/ion-hash)](https://crates.io/crates/ion-hash)
[![CI Build](https://github.com/amzn/ion-rust/workflows/CI%20Build/badge.svg)](https://github.com/amzn/ion-rust/actions?query=workflow%3A%22CI+Build%22)
[![CI Build](https://github.com/amazon-ion/ion-rust/workflows/CI%20Build/badge.svg)](https://github.com/amazon-ion/ion-rust/actions?query=workflow%3A%22CI+Build%22)

A Rust implementation of [Ion Hash][spec].

Expand All @@ -14,6 +14,6 @@ A Rust implementation of [Ion Hash][spec].
See [Ion Rust][ion-rust] for details. This crate is currently developed in concert with Ion Rust
as a [Cargo workspace][cargo-workspace].

[ion-rust]: https://github.com/amzn/ion-rust
[spec]: https://amzn.github.io/ion-hash/docs/spec.html
[ion-rust]: https://github.com/amazon-ion/ion-rust
[spec]: https://amazon-ion.github.io/ion-hash/docs/spec.html
[cargo-workspace]: https://doc.rust-lang.org/cargo/reference/workspaces.html
2 changes: 1 addition & 1 deletion ion-hash/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright Amazon.com, Inc. or its affiliates.

//! Implements the [Ion Hash specification](https://amzn.github.io/ion-hash/docs/spec.html)
//! Implements the [Ion Hash specification](https://amazon-ion.github.io/ion-hash/docs/spec.html)
//!
//! ## Examples
//! ```rust
Expand Down
4 changes: 2 additions & 2 deletions ion-hash/src/type_qualifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ use std::slice;

///! Implements "type qualifiers" (TQ) as per the [spec][spec].
///!
///! [spec]: https://amzn.github.io/ion-hash/docs/spec.html.
///! [spec]: https://amazon-ion.github.io/ion-hash/docs/spec.html.
use ion_rs::types::integer::Integer;
///! Implements "type qualifiers" (TQ) as per the [spec][spec].
///!
///! [spec]: https://amzn.github.io/ion-hash/docs/spec.html.
///! [spec]: https://amazon-ion.github.io/ion-hash/docs/spec.html.
use ion_rs::{
binary::IonTypeCode,
types::{decimal::Decimal, timestamp::Timestamp},
Expand Down
2 changes: 1 addition & 1 deletion src/binary/decimal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const DECIMAL_POSITIVE_ZERO: Decimal = Decimal {

/// Provides support to write [`Decimal`] into [Ion binary].
///
/// [Ion binary]: https://amzn.github.io/ion-docs/docs/binary.html#5-decimal
/// [Ion binary]: https://amazon-ion.github.io/ion-docs/docs/binary.html#5-decimal
pub trait DecimalBinaryEncoder {
/// Encodes the content of a [`Decimal`] as per the Ion binary encoding.
/// Returns the length of the encoded bytes.
Expand Down
4 changes: 2 additions & 2 deletions src/binary/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use crate::{
/// Contains all of the information that can be extracted from the one-octet type descriptor
/// found at the beginning of each value in a binary Ion stream.
/// For more information, consult the
/// [Typed Value Formats](http://amzn.github.io/ion-docs/docs/binary.html#typed-value-formats)
/// [Typed Value Formats](https://amazon-ion.github.io/ion-docs/docs/binary.html#typed-value-formats)
/// section of the binary Ion spec.
#[derive(Copy, Clone, Debug)]
pub(crate) struct Header {
Expand Down Expand Up @@ -49,7 +49,7 @@ impl Header {
/// All values stored in the table are either an `Err(IonError::DecodingError)` or an
/// `Ok(Some(IonValueHeader))`.
// TODO: Define the jump table as a static constant at compile time to avoid recalculating it.
// https://github.com/amzn/ion-rust/issues/4
// https://github.com/amazon-ion/ion-rust/issues/4
pub(crate) fn create_header_byte_jump_table() -> Vec<IonResult<Option<Header>>> {
let mut header_jump_table = Vec::with_capacity(256);
for byte_value in 0..=255 {
Expand Down
2 changes: 1 addition & 1 deletion src/binary/int.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const INT_STACK_BUFFER_SIZE: usize = 16;
const MAX_INT_SIZE_IN_BYTES: usize = 2048;

/// Represents a fixed-length signed integer. See the
/// [UInt and Int Fields](http://amzn.github.io/ion-docs/docs/binary.html#uint-and-int-fields)
/// [UInt and Int Fields](https://amazon-ion.github.io/ion-docs/docs/binary.html#uint-and-int-fields)
/// section of the binary Ion spec for more details.
#[derive(Debug)]
pub struct DecodedInt {
Expand Down
12 changes: 6 additions & 6 deletions src/binary/non_blocking/binary_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ impl<A: AsRef<[u8]>> BinaryBuffer<A> {
/// returns an `Ok(_)` containing a `(major, minor)` version tuple and consumes the
/// source bytes.
///
/// See: https://amzn.github.io/ion-docs/docs/binary.html#value-streams
/// See: https://amazon-ion.github.io/ion-docs/docs/binary.html#value-streams
pub fn read_ivm(&mut self) -> IonResult<(u8, u8)> {
let bytes = self
.peek_n_bytes(IVM.len())
Expand All @@ -150,7 +150,7 @@ impl<A: AsRef<[u8]>> BinaryBuffer<A> {
/// Reads a `VarUInt` encoding primitive from the beginning of the buffer. If it is successful,
/// returns an `Ok(_)` containing its [VarUInt] representation and consumes the source bytes.
///
/// See: https://amzn.github.io/ion-docs/docs/binary.html#varuint-and-varint-fields
/// See: https://amazon-ion.github.io/ion-docs/docs/binary.html#varuint-and-varint-fields
pub fn read_var_uint(&mut self) -> IonResult<VarUInt> {
const BITS_PER_ENCODED_BYTE: usize = 7;
const STORAGE_SIZE_IN_BITS: usize = mem::size_of::<usize>() * 8;
Expand Down Expand Up @@ -188,7 +188,7 @@ impl<A: AsRef<[u8]>> BinaryBuffer<A> {
/// Reads a `VarInt` encoding primitive from the beginning of the buffer. If it is successful,
/// returns an `Ok(_)` containing its [VarInt] representation and consumes the source bytes.
///
/// See: https://amzn.github.io/ion-docs/docs/binary.html#varuint-and-varint-fields
/// See: https://amazon-ion.github.io/ion-docs/docs/binary.html#varuint-and-varint-fields
pub fn read_var_int(&mut self) -> IonResult<VarInt> {
const BITS_PER_ENCODED_BYTE: usize = 7;
const STORAGE_SIZE_IN_BITS: usize = mem::size_of::<i64>() * 8;
Expand Down Expand Up @@ -260,7 +260,7 @@ impl<A: AsRef<[u8]>> BinaryBuffer<A> {
/// successful, returns an `Ok(_)` containing its [DecodedUInt] representation and consumes the
/// source bytes.
///
/// See: https://amzn.github.io/ion-docs/docs/binary.html#uint-and-int-fields
/// See: https://amazon-ion.github.io/ion-docs/docs/binary.html#uint-and-int-fields
pub fn read_uint(&mut self, length: usize) -> IonResult<DecodedUInt> {
if length <= mem::size_of::<u64>() {
return self.read_small_uint(length);
Expand Down Expand Up @@ -317,7 +317,7 @@ impl<A: AsRef<[u8]>> BinaryBuffer<A> {
/// successful, returns an `Ok(_)` containing its [DecodedInt] representation and consumes the
/// source bytes.
///
/// See: https://amzn.github.io/ion-docs/docs/binary.html#uint-and-int-fields
/// See: https://amazon-ion.github.io/ion-docs/docs/binary.html#uint-and-int-fields
pub fn read_int(&mut self, length: usize) -> IonResult<DecodedInt> {
if length == 0 {
return Ok(DecodedInt::new(Integer::I64(0), false, 0));
Expand Down Expand Up @@ -373,7 +373,7 @@ impl<A: AsRef<[u8]>> BinaryBuffer<A> {
/// Reads a `NOP` encoding primitive from the buffer. If it is successful, returns an `Ok(_)`
/// containing the number of bytes that were consumed.
///
/// See: https://amzn.github.io/ion-docs/docs/binary.html#nop-pad
/// See: https://amazon-ion.github.io/ion-docs/docs/binary.html#nop-pad
#[inline(never)]
// NOP padding is not widely used in Ion 1.0, in part because many writer implementations do not
// expose the ability to write them. As such, this method has been marked `inline(never)` to
Expand Down
2 changes: 1 addition & 1 deletion src/binary/non_blocking/raw_binary_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ impl EncodedValue {
/// Returns the number of bytes used to encode the series of VarUInt annotation symbol IDs, if
/// any.
///
/// See: https://amzn.github.io/ion-docs/docs/binary.html#annotations
/// See: https://amazon-ion.github.io/ion-docs/docs/binary.html#annotations
fn annotations_sequence_length(&self) -> Option<usize> {
if self.annotations_header_length == 0 {
return None;
Expand Down
2 changes: 1 addition & 1 deletion src/binary/non_blocking/type_descriptor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::{
/// Contains all of the information that can be extracted from the one-octet type descriptor
/// found at the beginning of each value, annotations wrapper, IVM, or NOP in a binary Ion stream.
/// For more information, consult the
/// [Typed Value Formats](http://amzn.github.io/ion-docs/docs/binary.html#typed-value-formats)
/// [Typed Value Formats](https://amazon-ion.github.io/ion-docs/docs/binary.html#typed-value-formats)
/// section of the binary Ion spec.
#[derive(Copy, Clone, Debug, PartialEq)]
pub(crate) struct TypeDescriptor {
Expand Down
2 changes: 1 addition & 1 deletion src/binary/raw_binary_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ where

/* CursorState is broken out from the BinaryIonCursor struct to allow it to be cloned
* or replaced as part of a seek operation.
* See: https://github.com/amzn/ion-rust/issues/21
* See: https://github.com/amazon-ion/ion-rust/issues/21
*/
#[derive(Clone, Debug)]
pub struct CursorState {
Expand Down
2 changes: 1 addition & 1 deletion src/binary/timestamp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const MAX_TIMESTAMP_LENGTH: usize = 32;

/// Provides support to write [`Timestamp`] into [Ion binary].
///
/// [Ion binary]: https://amzn.github.io/ion-docs/docs/binary.html#6-timestamp
/// [Ion binary]: https://amazon-ion.github.io/ion-docs/docs/binary.html#6-timestamp
pub trait TimestampBinaryEncoder {
/// Encodes the content of a [`Timestamp`] as per the Ion binary encoding.
/// Returns the length of the encoded bytes.
Expand Down
2 changes: 1 addition & 1 deletion src/binary/type_code.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use crate::types::IonType;
/// * Whether the next type code is reserved.
///
/// See the
/// [Typed Value Formats](http://amzn.github.io/ion-docs/docs/binary.html#typed-value-formats)
/// [Typed Value Formats](https://amazon-ion.github.io/ion-docs/docs/binary.html#typed-value-formats)
/// section of the spec for more information.
#[derive(Debug, PartialEq, Eq, Copy, Clone)]
pub enum IonTypeCode {
Expand Down
4 changes: 2 additions & 2 deletions src/binary/uint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const UINT_STACK_BUFFER_SIZE: usize = 16;
const MAX_UINT_SIZE_IN_BYTES: usize = 2048;

/// Represents a fixed-length unsigned integer. See the
/// [UInt and Int Fields](http://amzn.github.io/ion-docs/docs/binary.html#uint-and-int-fields)
/// [UInt and Int Fields](https://amazon-ion.github.io/ion-docs/docs/binary.html#uint-and-int-fields)
/// section of the binary Ion spec for more details.
#[derive(Debug)]
pub struct DecodedUInt {
Expand Down Expand Up @@ -142,7 +142,7 @@ pub enum UIntBeBytes {
/// octets are not part of the representation. See the [spec] for more
/// information.
///
/// [spec]: https://amzn.github.io/ion-docs/docs/binary.html#uint-and-int-fields
/// [spec]: https://amazon-ion.github.io/ion-docs/docs/binary.html#uint-and-int-fields
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct EncodedUInt {
be_bytes: UIntBeBytes,
Expand Down
4 changes: 2 additions & 2 deletions src/binary/var_int.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use std::mem;
// ion_rust does not currently support reading variable length integers of truly arbitrary size.
// These type aliases will simplify the process of changing the data types used to represent each
// VarInt's magnitude and byte length in the future.
// See: https://github.com/amzn/ion-rust/issues/7
// See: https://github.com/amazon-ion/ion-rust/issues/7
type VarIntStorage = i64;
type VarIntSizeStorage = usize;

Expand Down Expand Up @@ -35,7 +35,7 @@ pub struct VarInt {
const MAGNITUDE_BITS_IN_FINAL_BYTE: usize = 6;

/// Represents a variable-length signed integer. See the
/// [VarUInt and VarInt Fields](amzn.github.io/ion-docs/docs/binary.html#varuint-and-varint-fields)
/// [VarUInt and VarInt Fields](https://amazon-ion.github.io/ion-docs/docs/binary.html#varuint-and-varint-fields)
/// section of the binary Ion spec for more details.
impl VarInt {
pub(crate) fn new(value: i64, is_negative: bool, size_in_bytes: usize) -> Self {
Expand Down
4 changes: 2 additions & 2 deletions src/binary/var_uint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use std::mem;
// ion_rust does not currently support reading variable length integers of truly arbitrary size.
// These type aliases will simplify the process of changing the data types used to represent each
// VarUInt's magnitude and byte length in the future.
// See: https://github.com/amzn/ion-rust/issues/7
// See: https://github.com/amazon-ion/ion-rust/issues/7

const BITS_PER_ENCODED_BYTE: usize = 7;
const STORAGE_SIZE_IN_BITS: usize = mem::size_of::<usize>() * 8;
Expand All @@ -16,7 +16,7 @@ const LOWER_7_BITMASK: u8 = 0b0111_1111;
const HIGHEST_BIT_VALUE: u8 = 0b1000_0000;

/// Represents a variable-length unsigned integer. See the
/// [VarUInt and VarInt Fields](amzn.github.io/ion-docs/docs/binary.html#varuint-and-varint-fields)
/// [VarUInt and VarInt Fields](https://amazon-ion.github.io/ion-docs/docs/binary.html#varuint-and-varint-fields)
/// section of the binary Ion spec for more details.
#[derive(Debug)]
pub struct VarUInt {
Expand Down
2 changes: 1 addition & 1 deletion src/catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::collections::{BTreeMap, HashMap};

/// A Catalog is a collection of Shared Symbol Tables.
/// For more information about the concept of a catalog,
/// see [the `symbols` section of the specification](https://amzn.github.io/ion-docs/docs/symbols.html#the-catalog).
/// see [the `symbols` section of the specification](https://amazon-ion.github.io/ion-docs/docs/symbols.html#the-catalog).
pub trait Catalog {
/// Returns the Shared Symbol Table with given table name
/// If a table with the given name doesn't exists or if the table name is an empty string
Expand Down
Loading

0 comments on commit 0434d20

Please sign in to comment.