Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
server struct
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouzilong2020 committed Feb 27, 2024
1 parent 5844876 commit af468fd
Show file tree
Hide file tree
Showing 24 changed files with 185 additions and 2,839 deletions.
59 changes: 9 additions & 50 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,58 +15,17 @@
# specific language governing permissions and limitations
# under the License.

[workspace]
resolver = "2"
members = ["crates/rest", "crates/examples", "crates/iceberg", "crates/test_utils"]

[workspace.package]
version = "0.2.0"
[package]
name = "catalog2"
version = "0.1.0"
edition = "2021"

license = "Apache-2.0"
repository = "https://github.com/cmu-db/15721-s24-catalog2"
rust-version = "1.75.0"

[workspace.dependencies]
anyhow = "1.0.72"
apache-avro = "0.16"
arrow-arith = { version = ">=46" }
arrow-array = { version = ">=46" }
arrow-schema = { version = ">=46" }
async-trait = "0.1"
bimap = "0.6"
bitvec = "1.0.1"
chrono = "0.4"
derive_builder = "0.13.0"
either = "1"
env_logger = "0.11.0"
futures = "0.3"
iceberg = { path = "./crates/iceberg" }
iceberg-catalog-rest = { path = "./crates/rest" }
itertools = "0.12"
lazy_static = "1"
log = "^0.4"
mockito = "^1"
murmur3 = "0.5.2"
once_cell = "1"
opendal = "0.45"
ordered-float = "4.0.0"
pretty_assertions = "1.4.0"
port_scanner = "0.1.5"
reqwest = { version = "^0.11", features = ["json"] }
rust_decimal = "1.31.0"
serde = { version = "^1.0", features = ["rc"] }
serde_bytes = "0.11.8"
serde_derive = "^1.0"
serde_json = "^1.0"
serde_repr = "0.1.16"
serde_with = "3.4.0"
tempfile = "3.8"
tokio = { version = "1", features = ["macros"] }
typed-builder = "^0.18"
url = "2"
urlencoding = "2"
uuid = "1.6.1"
volo-thrift = "0.9.2"
hive_metastore = "0.0.2"
tera = "1"


# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rocket = { version = "0.5.0", features = ["json", "http2"] }
dotenv = "0.15.0"
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ RUST_LOG = debug
build:
cargo build

run:
cargo build
target/debug/catalog2

check-fmt:
cargo fmt --all -- --check

Expand Down
48 changes: 0 additions & 48 deletions crates/rest/Cargo.toml

This file was deleted.

Loading

0 comments on commit af468fd

Please sign in to comment.