Skip to content

Commit fad6b4b

Browse files
author
Devdutt Shenoi
authored
refactor: restructure as a library (#1000)
1 parent be9fb1e commit fad6b4b

File tree

127 files changed

+821
-1101
lines changed

Some content is hidden

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

127 files changed

+821
-1101
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
target
22
data*
3-
staging*
3+
staging/
44
limitcache
55
examples
66
cert.pem
@@ -14,4 +14,3 @@ parseable
1414
parseable_*
1515
parseable-env-secret
1616
cache
17-

Cargo.lock

Lines changed: 30 additions & 101 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

0 commit comments

Comments
 (0)