Skip to content

Commit d2c8ab6

Browse files
author
Devdutt Shenoi
committed
refactor: restructure as a library
1 parent bfca663 commit d2c8ab6

File tree

124 files changed

+181
-641
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+181
-641
lines changed

Cargo.toml

Lines changed: 129 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,129 @@
1-
[workspace]
2-
members = ["server"]
3-
resolver = "2"
1+
[package]
2+
name = "parseable"
3+
version = "1.6.2"
4+
authors = ["Parseable Team <[email protected]>"]
5+
edition = "2021"
6+
rust-version = "1.77.1"
7+
categories = ["logging", "observability", "log analytics"]
8+
build = "build.rs"
9+
10+
[dependencies]
11+
### apache arrow/datafusion dependencies
12+
# arrow = "51.0.0"
13+
arrow-schema = { version = "53.0.0", features = ["serde"] }
14+
arrow-array = { version = "53.0.0" }
15+
arrow-json = "53.0.0"
16+
arrow-ipc = { version = "53.0.0", features = ["zstd"] }
17+
arrow-select = "53.0.0"
18+
datafusion = "42.0.0"
19+
object_store = { version = "0.11.1", features = ["cloud", "aws", "azure"] }
20+
parquet = "53.0.0"
21+
arrow-flight = { version = "53.0.0", features = [ "tls" ] }
22+
tonic = {version = "0.12.3", features = ["tls", "transport", "gzip", "zstd"] }
23+
tonic-web = "0.12.3"
24+
tower-http = { version = "0.6.1", features = ["cors"] }
25+
26+
### actix dependencies
27+
actix-web-httpauth = "0.8"
28+
actix-web = { version = "4.9.0", features = ["rustls-0_22"] }
29+
actix-cors = "0.7.0"
30+
actix-web-prometheus = { version = "0.1" }
31+
actix-web-static-files = "4.0"
32+
mime = "0.3.17"
33+
34+
### other dependencies
35+
anyhow = { version = "1.0", features = ["backtrace"] }
36+
argon2 = "0.5.0"
37+
async-trait = "0.1.82"
38+
base64 = "0.22.0"
39+
lazy_static = "1.4"
40+
bytes = "1.4"
41+
byteorder = "1.4.3"
42+
bzip2 = { version = "*", features = ["static"] }
43+
cookie = "0.18.1"
44+
chrono = "0.4"
45+
chrono-humanize = "0.2"
46+
clap = { version = "4.1", default-features = false, features = [
47+
"std",
48+
"color",
49+
"help",
50+
"derive",
51+
"env",
52+
"cargo",
53+
"error-context",
54+
] }
55+
clokwerk = "0.4"
56+
crossterm = "0.28.1"
57+
derive_more = "0.99.18"
58+
env_logger = "0.11.3"
59+
fs_extra = "1.3"
60+
futures = "0.3"
61+
futures-util = "0.3.28"
62+
hex = "0.4"
63+
hostname = "0.4.0"
64+
http = "0.2.7"
65+
humantime-serde = "1.1"
66+
itertools = "0.13.0"
67+
log = "0.4"
68+
num_cpus = "1.15"
69+
once_cell = "1.17.1"
70+
prometheus = { version = "0.13", features = ["process"] }
71+
rand = "0.8.5"
72+
regex = "1.7.3"
73+
relative-path = { version = "1.7", features = ["serde"] }
74+
reqwest = { version = "0.11.27", default-features = false, features = [
75+
"rustls-tls",
76+
"json",
77+
] } # cannot update cause rustls is not latest `see rustls`
78+
rustls = "0.22.4" # cannot update to 0.23 actix has not caught up yet
79+
rustls-pemfile = "2.1.2"
80+
semver = "1.0"
81+
serde = { version = "1.0", features = ["rc", "derive"] }
82+
serde_json = "1.0"
83+
static-files = "0.2"
84+
sysinfo = "0.31.4"
85+
thiserror = "1.0.64"
86+
thread-priority = "1.0.0"
87+
tokio = { version = "1.28", default-features = false, features = [
88+
"sync",
89+
"macros",
90+
"fs",
91+
] }
92+
tokio-stream = { version = "0.1", features = ["fs"] }
93+
ulid = { version = "1.0", features = ["serde"] }
94+
uptime_lib = "0.3.0"
95+
xxhash-rust = { version = "0.8", features = ["xxh3"] }
96+
xz2 = { version = "*", features = ["static"] }
97+
nom = "7.1.3"
98+
humantime = "2.1.0"
99+
human-size = "0.4"
100+
openid = { version = "0.15.0", default-features = false, features = ["rustls"] }
101+
url = "2.4.0"
102+
http-auth-basic = "0.3.3"
103+
serde_repr = "0.1.17"
104+
hashlru = { version = "0.11.0", features = ["serde"] }
105+
path-clean = "1.0.1"
106+
prost = "0.13.3"
107+
prometheus-parse = "0.2.5"
108+
sha2 = "0.10.8"
109+
110+
[build-dependencies]
111+
cargo_toml = "0.20.1"
112+
sha1_smol = { version = "1.0", features = ["std"] }
113+
static-files = "0.2"
114+
ureq = "2.6"
115+
vergen = { version = "8.1", features = ["build", "git", "cargo", "gitcl"] }
116+
zip = { version = "2.2.0", default-features = false, features = ["deflate"] }
117+
url = "2.4.0"
118+
prost-build = "0.13.3"
119+
120+
[dev-dependencies]
121+
maplit = "1.0"
122+
rstest = "0.23.0"
123+
124+
[package.metadata.parseable_ui]
125+
assets-url = "https://github.com/parseablehq/console/releases/download/v0.9.11/build.zip"
126+
assets-sha1 = "3f0c0f0e9fe23c6a01f0eb45115da4bfe29f9c3f"
127+
128+
[features]
129+
debug = []
File renamed without changes.

server/Cargo.toml

Lines changed: 0 additions & 129 deletions
This file was deleted.

0 commit comments

Comments
 (0)