removing some unused creates

This commit is contained in:
kasisnu committed 2023-11-14 12:31:37 +05:30
1 parent dd3c87b712
commit 2eb5635c58
65 files changed
+242 -487

No files matched your search

Generated
+176 -289
View File
File diff suppressed because it is too large. Load diff
+4
View File
@@ -1,4 +1,5 @@
[workspace]
resolver = "2"
members = [
# Types: common strongly-typed tokens, ids, payloads, etc.
@@ -84,4 +85,7 @@ members = [
# Vendored code
"crates/vendor/newrelic-telemetry-sdk-rust",
# Vendored code
"my-workspace-hack",
]
+1
View File
@@ -17,6 +17,7 @@ path = "src/lib.rs"
# Internal
crockford = { path = "../../lib/crockford" }
errors = { path = "../../lib/errors" }
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
# External
# (none yet)
+1 -2
View File
@@ -16,8 +16,6 @@ path = "src/lib.rs"
# Serialization
serde = "1.0.125"
serde_derive = "1.0.125"
serde_json = "1.0.64"
toml = "0.5.8"
# MySql Database
# "offline" supports typesafe builds without a live database
@@ -25,6 +23,7 @@ toml = "0.5.8"
# https://github.com/launchbadge/sqlx/issues/1095#issuecomment-798050828
sqlx = { version = "0.6.2", features = [ "mysql", "sqlite", "runtime-actix-native-tls", "offline", "chrono" ] }
sqlx-core = { version = "0.6.2" }
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
[dev-dependencies]
+1 -3
View File
@@ -18,14 +18,12 @@ path = "src/lib.rs"
# (none)
# External
anyhow = "1.0.75"
chrono = { version = "0.4.19", features = ["serde"] }
# Serialization
serde = "1.0.125"
serde_derive = "1.0.125"
serde_json = "1.0.64"
toml = "0.5.8"
# MySql Database
sqlx = { version = "0.6.2", features = [ "mysql", "runtime-actix-native-tls", "offline", "chrono" ] }
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
+1 -2
View File
@@ -16,8 +16,6 @@ path = "src/lib.rs"
# Serialization
serde = "1.0.125"
serde_derive = "1.0.125"
serde_json = "1.0.64"
toml = "0.5.8"
# Random
rand = "0.8.3"
@@ -28,6 +26,7 @@ rand = "0.8.3"
# https://github.com/launchbadge/sqlx/issues/1095#issuecomment-798050828
sqlx = { version = "0.6.2", features = [ "mysql", "runtime-actix-native-tls", "offline", "chrono" ] }
sqlx-core = { version = "0.6.2" }
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
[dev-dependencies]
+1 -5
View File
@@ -15,21 +15,17 @@ path = "src/main.rs"
[dependencies]
# Internal
config = { path = "../../lib/deprecated/config" }
container_common = { path = "../../lib/deprecated/container_common" }
easyenv = { path = "../../lib/easyenv" }
# External
anyhow = "1.0.75"
chrono = { version = "0.4.19", features = ["serde"] }
clap = "2.34.0" # TODO: This is really out of date, but has conflicts when updated
# TODO/NB: Commenting out clap4 as it prevents windows builds
# NB: clap4 = { package = "clap", version = "4.0" }
dotenv = "0.15.0"
hostname = "0.3.1"
log = "0.4.14"
# Serialization
serde = "1.0.125"
serde_derive = "1.0.125"
serde_json = "1.0.64"
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
+1 -4
View File
@@ -15,20 +15,17 @@ path = "src/main.rs"
[dependencies]
# Internal
config = { path = "../../lib/deprecated/config" }
container_common = { path = "../../lib/deprecated/container_common" }
easyenv = { path = "../../lib/easyenv" }
# External
anyhow = "1.0.75"
chrono = { version = "0.4.19", features = ["serde"] }
# TODO/NB: Commenting out clap4 as it prevents windows builds
# clap4 = { package = "clap", version = "4.0" } # TODO/NB: We're using an older version of clap elsewhere, hence the naming.
dotenv = "0.15.0"
hostname = "0.3.1"
log = "0.4.14"
# Serialization
serde = "1.0.125"
serde_derive = "1.0.125"
serde_json = "1.0.64"
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
+1
View File
@@ -43,6 +43,7 @@ tokio = { version = "1.6.0", features = ["macros"] }
sqlx = { version = "0.6.2", features = [ "mysql", "runtime-actix-native-tls", "offline", "chrono" ] }
elasticsearch = "8.5.0-alpha.1"
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
[dev-dependencies]
# None yet
+1 -1
View File
@@ -21,7 +21,6 @@ easyenv = { path = "../../lib/easyenv" }
enums = { path = "../../_types/enums" }
errors = { path = "../../lib/errors" }
filesys = { path = "../../lib/files/filesys" }
hashing = { path = "../../lib/files/hashing" }
mimetypes = { path = "../../lib/files/mimetypes" }
mysql_queries = { path = "../../lib/mysql_queries" }
tokens = { path = "../../_types/tokens" }
@@ -39,6 +38,7 @@ tokio = { version = "1.6.0", features = ["macros"] }
# "rustls" doesn't appear to work with IP addresses, per:
# https://github.com/launchbadge/sqlx/issues/1095#issuecomment-798050828
sqlx = { version = "0.6.2", features = [ "mysql", "runtime-actix-native-tls", "offline", "chrono" ] }
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
[dev-dependencies]
# None yet
+1 -5
View File
@@ -15,16 +15,11 @@ path = "src/main.rs"
[dependencies]
# Internal
buckets = { path = "../../_types/buckets" }
cloud_storage = { path = "../../lib/api_clients/cloud_storage" }
config = { path = "../../lib/deprecated/config" }
easyenv = { path = "../../lib/easyenv" }
elasticsearch_schema = { path = "../../lib/elasticsearch_schema" }
enums = { path = "../../_types/enums" }
errors = { path = "../../lib/errors" }
filesys = { path = "../../lib/files/filesys" }
hashing = { path = "../../lib/files/hashing" }
idempotency = { path = "../../lib/idempotency" }
mimetypes = { path = "../../lib/files/mimetypes" }
mysql_queries = { path = "../../lib/mysql_queries" }
storyteller_root = { path = "../../lib/storyteller_root" }
tokens = { path = "../../_types/tokens" }
@@ -50,6 +45,7 @@ elasticsearch = "8.5.0-alpha.1"
serde = "1.0.125"
serde_derive = "1.0.125"
serde_json = "1.0.64"
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
[dev-dependencies]
# None yet
+1 -1
View File
@@ -19,11 +19,11 @@ easyenv = { path = "../../lib/easyenv" }
errors = { path = "../../lib/errors" }
# External
itertools = "0.11.0"
log = "0.4.20"
once_cell = "1.18.0"
rand = "0.8.1"
regex = "1.10.0"
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
# Async Runtime
# NB: Not using Tokio here since everything is blocking so far.
-6
View File
@@ -14,18 +14,12 @@ path = "src/main.rs"
[dependencies]
# Internal
easyenv = { path = "../../lib/easyenv" }
errors = { path = "../../lib/errors" }
filesys = { path = "../../lib/files/filesys" }
logging = { path = "../../lib/logging" }
storyteller_root = { path = "../../lib/storyteller_root" }
# External
clap = { version = "4.4.7", features = ["derive"] }
walkdir = "2.4.0"
# Runtime
tokio = { version = "1.34.0", features = ["macros"] }
[dev-dependencies]
# None yet
+1
View File
@@ -21,3 +21,4 @@ web_scrapers = { path = "../../lib/web_scrapers" }
# External
clap = "2.34.0" # TODO: This is really out of date, but has conflicts when updated
tokio = { version = "1.6.0", features = ["macros"] }
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
+1 -4
View File
@@ -18,15 +18,11 @@ path = "src/lib.rs"
errors = { path = "../../lib/errors" }
# Actix
actix-cors = "0.6.0-beta.3"
actix-files= "0.6.0-beta.8"
actix-http = "3.4.0"
actix-multipart = "0.4.0-beta.7"
actix-rt = "2.9.0"
actix-service = "2.0.1"
actix-utils = "3.0.0"
actix-web = "4.0.0-beta.10"
actix-web-actors = "4.0.0-beta.7"
# IPv4 and v6 CIDRs (crate has few dependencies)
cidr-utils = "0.5.11"
@@ -38,6 +34,7 @@ futures-util = "0.3.29"
# Serialization
serde = "1.0.125"
serde_json = "1.0.64"
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
[dev-dependencies]
# None yet
@@ -16,7 +16,6 @@ path = "src/lib.rs"
# Internal
buckets = { path = "../../../_types/buckets" }
container_common = { path = "../../deprecated/container_common" }
# External
anyhow = "1.0.75"
@@ -29,3 +28,4 @@ rust-s3 = { version = "0.33.0" }
# Runtime
# NB: We switched to Tokio from `async-std` for broader ecosystem support.
tokio = { version = "1.6.0", features = ["macros"] }
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
@@ -22,4 +22,5 @@ subprocess_common = { path = "../../subprocess_common" }
anyhow = "1.0.75"
log = "0.4.14"
tempdir = "0.3.7"
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
@@ -31,3 +31,4 @@ twitch_oauth2 = "0.6.0-rc.2"
# Serialization
serde = "1.0.125"
serde_derive = "1.0.125"
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
+1
View File
@@ -23,6 +23,7 @@ server_environment = { path = "../server_environment" }
dotenv = "0.15.0"
hostname = "0.3.1"
log = "0.4.14"
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
[dev-dependencies]
# None yet
+1 -4
View File
@@ -15,14 +15,11 @@ path = "src/lib.rs"
[dependencies]
# Internal
config = { path = "../../deprecated/config" }
container_common = { path = "../../deprecated/container_common" }
errors = { path = "../../errors" }
# External
anyhow = "1.0.75"
chrono = { version = "0.4.19", features = ["serde"] }
log = "0.4.14"
# In-memory caching
lru_time_cache = "0.11.11"
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
@@ -23,6 +23,7 @@ r2d2_redis = "0.14.0"
serde = "1.0.125"
serde_derive = "1.0.125"
serde_json = "1.0.64"
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
[dev-dependencies]
# None yet
+1 -1
View File
@@ -14,7 +14,7 @@ path = "src/lib.rs"
[dependencies]
# Internal
errors = { path = "../../lib/errors" }
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
# External
# (None yet)
+1
View File
@@ -21,6 +21,7 @@ errors = { path = "../errors" }
hmac = "0.10.0" # jwt signing
jwt = "0.13.0"
sha2 = "0.9.5" # hmac signing
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
[dev-dependencies]
# None yet
+1
View File
@@ -16,6 +16,7 @@ path = "src/lib.rs"
[dependencies]
rand = "0.8.3"
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
[dev-dependencies]
# None yet
+1
View File
@@ -15,6 +15,7 @@ path = "src/lib.rs"
[dependencies]
chrono = { version = "0.4.19", features = ["serde"] }
once_cell = "1.18.0"
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
[dev-dependencies]
# (none)
+1
View File
@@ -21,3 +21,4 @@ easyenv = { path = "../../../lib/easyenv" }
# External
anyhow = "1.0.75"
url = "2.4.1"
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
@@ -13,9 +13,6 @@ name = "container_common"
path = "src/lib.rs"
[dependencies]
# Internal
errors = { path = "../../errors" }
hashing = { path = "../../files/hashing" }
# External
anyhow = "1.0.75"
@@ -26,8 +23,8 @@ log = "0.4.14"
# Serialization
serde = { version = "1.0.125", features = ["derive"] }
serde_json = "1.0.64"
toml = "0.5.8"
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
[dev-dependencies]
@@ -15,7 +15,6 @@ path = "src/lib.rs"
[dependencies]
# Internal
container_common = { path = "../container_common" }
errors = { path = "../../errors" }
reusable_types = { path = "../../../_types/reusable_types" }
@@ -23,7 +22,6 @@ reusable_types = { path = "../../../_types/reusable_types" }
anyhow = "1.0.75"
base64 = "0.21.0"
chrono = { version = "0.4.19", features = ["serde"] }
dotenv = "0.15.0"
log = "0.4.14"
once_cell = "1.18.0"
regex = "1.5.4"
@@ -41,7 +39,7 @@ language-tags = "0.3.2" # Parsing single tags richly
serde = "1.0.125"
serde_derive = "1.0.125"
serde_json = "1.0.64"
toml = "0.5.8"
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
[dev-dependencies]
actix-rt = "2.9.0"
+1
View File
@@ -20,6 +20,7 @@ storyteller_root = { path = "../storyteller_root" }
dotenv = "0.15.0"
env_logger = "0.10.0"
log = "0.4.14"
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
[dev-dependencies]
# None yet
@@ -26,6 +26,7 @@ log = "0.4.14"
chrono = { version = "0.4.19", features = ["serde"] }
serde = { version = "1.0.152", features = ["derive"] }
serde_json = "1.0.64"
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
[dev-dependencies]
# None yet
+1
View File
@@ -18,6 +18,7 @@ path = "src/lib.rs"
# Consider the dependencies here wisely.
# Ideally we have almost nothing as a dependency of this crate.
anyhow = "1.0.75"
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
[dev-dependencies]
# None yet
+1
View File
@@ -20,6 +20,7 @@ errors = { path = "../../errors" }
# External
zip = "0.6.6"
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
[dev-dependencies]
# None yet
+1
View File
@@ -16,6 +16,7 @@ path = "src/lib.rs"
[dependencies]
# Internal
errors = { path = "../../errors" }
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
# External
# KEEP THIS TO A MINIMUM OR NIL.
+1
View File
@@ -22,6 +22,7 @@ bcrypt = "0.8" # password hashes
data-encoding = "2.3.2"
md-5 = "0.9.1" # DO NOT USE FOR SERIOUS CRYPTO (we use this for gravatar)
ring = "0.17.0-alpha.10"
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
[dev-dependencies]
# None yet
+1 -1
View File
@@ -21,7 +21,7 @@ errors = { path = "../../errors" }
# External
image = "0.24.1"
log = "0.4.14"
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
[dev-dependencies]
testing = { path = "../../testing" }
+1 -2
View File
@@ -26,8 +26,7 @@ log = "0.4.14"
# Opus is the browser's default (only) recording codec: https://blog.addpipe.com/audio-constraints-getusermedia/
symphonia = { git = "https://github.com/pdeljanov/Symphonia.git", rev = "e1a70095c4409478c1ded499fb8dd4afa540fb90", features = ["aac", "alac", "flac", "isomp4", "mkv", "mp3", "ogg", "opus", "vorbis", "wav"] }
# symphonia doesn't support mkv/webm containers
symphonia-format-mkv = "0.5.2" # Alternatively, matroska-demuxer = "0.4.0"
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
[dev-dependencies]
# None yet
+1 -3
View File
@@ -14,11 +14,9 @@ name = "mimetypes"
path = "src/lib.rs"
[dependencies]
# Internal
errors = { path = "../../errors" }
# External
infer = "0.11" # Mimetype detection
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
[dev-dependencies]
# None yet
+1
View File
@@ -19,6 +19,7 @@ path = "src/lib.rs"
# External
uuid = { version = "0.8.2", features = ["v4"] }
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
[dev-dependencies]
# None yet
+1 -1
View File
@@ -27,4 +27,4 @@ anyhow = "1.0.75"
chrono = { version = "0.4.19", features = ["serde"] }
log = "0.4.14"
r2d2_redis = "0.14.0"
tempdir = "0.3.7"
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
+1 -2
View File
@@ -21,12 +21,10 @@ container_common = { path = "../deprecated/container_common" }
enums = { path = "../../_types/enums" }
errors = { path = "../errors" }
reusable_types = { path = "../../_types/reusable_types" }
sqlx_mysql_helpers = { path = "../sqlx_mysql_helpers" }
tokens = { path = "../../_types/tokens" }
# External
anyhow = "1.0.75"
base64 = "0.21.0"
chrono = { version = "0.4.19", features = ["serde"] }
dotenv = "0.15.0"
log = "0.4.14"
@@ -46,4 +44,5 @@ toml = "0.5.8"
# "rustls" doesn't appear to work with IP addresses, per:
# https://github.com/launchbadge/sqlx/issues/1095#issuecomment-798050828
sqlx = { version = "0.6.2", features = [ "mysql", "runtime-actix-native-tls", "offline", "chrono" ] }
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
+1
View File
@@ -27,3 +27,4 @@ serde_json = "1.0.64"
# TODO: Get rid of in favor of std::time
time = "0.2.26"
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
+1 -6
View File
@@ -14,13 +14,8 @@ name = "server_environment"
path = "src/lib.rs"
[dependencies]
# Internal
easyenv = { path = "../easyenv" }
errors = { path = "../errors" }
# External
dotenv = "0.15.0"
log = "0.4.14"
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
[dev-dependencies]
# None yet
+1
View File
@@ -21,6 +21,7 @@ errors = { path = "../errors" }
# "rustls" doesn't appear to work with IP addresses, per:
# https://github.com/launchbadge/sqlx/issues/1095#issuecomment-798050828
sqlx = { version = "0.6.2", features = [ "mysql", "runtime-actix-native-tls", "offline", "chrono" ] }
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
[dev-dependencies]
# None yet
+1 -6
View File
@@ -13,13 +13,8 @@ name = "storyteller_root"
path = "src/lib.rs"
[dependencies]
# Internal
errors = { path = "../errors" }
# External
dotenv = "0.15.0"
env_logger = "0.10.0"
log = "0.4.14"
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
[dev-dependencies]
serial_test = "2.0.0"
+1 -4
View File
@@ -14,11 +14,8 @@ path = "src/lib.rs"
[dependencies]
# Internal
container_common = { path = "../deprecated/container_common" }
# External
anyhow = "1.0.75"
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
# Serialization
#serde = "1.0.125"
+1
View File
@@ -18,6 +18,7 @@ path = "src/lib.rs"
# Internal
errors = { path = "../errors" }
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
# External
# None yet
+1
View File
@@ -29,3 +29,4 @@ unicode-segmentation = "1.10.1"
# Serialization
serde = "1.0.125"
serde_derive = "1.0.125"
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
+2 -1
View File
@@ -20,4 +20,5 @@ reusable_types = { path = "../../_types/reusable_types" }
# External
actix-web = "4.0.0-beta.10"
anyhow = "1.0.75"
anyhow = "1.0.75"
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
+1 -5
View File
@@ -14,13 +14,9 @@ path = "src/lib.rs"
[dependencies]
# Internal
container_common = { path = "../deprecated/container_common" }
# External
anyhow = "1.0.75"
log = "0.4.14"
once_cell = "1.18.0"
pulldown-cmark = "0.9.3" # Markdown
regex = "1.5.4"
unicode-segmentation = "1.10.1"
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
+1 -1
View File
@@ -28,7 +28,6 @@ strum = { version = "0.24", features = ["derive"] } # Fancy enum iteration, etc.
serde = "1.0.125"
serde_derive = "1.0.125"
serde_json = "1.0.64"
toml = "0.5.8"
# HTTP
reqwest = { version = "0.11", features = ["json"] } # HTTP Client
@@ -36,6 +35,7 @@ reqwest = { version = "0.11", features = ["json"] } # HTTP Client
# Scraping
rss = "2.0.2"
scraper = "0.17.1"
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
[dev-dependencies]
# None yet
+1 -2
View File
@@ -20,7 +20,6 @@ container_common = { path = "../../../lib/deprecated/container_common" }
easyenv = { path = "../../../lib/easyenv" }
enums = { path = "../../../_types/enums" }
errors = { path = "../../../lib/errors" }
jobs_common = { path = "../../../lib/jobs_common" }
mysql_queries = { path = "../../../lib/mysql_queries" }
reusable_types = { path = "../../../_types/reusable_types" }
tokens = { path = "../../../_types/tokens" }
@@ -28,7 +27,6 @@ tokens = { path = "../../../_types/tokens" }
# External
anyhow = "1.0.75"
chrono = { version = "0.4.19", features = ["serde"] }
clap = "2.34.0" # TODO: This is really out of date, but has conflicts when updated
dotenv = "0.15.0"
hostname = "0.3.1"
log = "0.4.14"
@@ -48,3 +46,4 @@ tokio = { version = "1.6.0", features = ["macros"] }
serde = "1.0.125"
serde_derive = "1.0.125"
serde_json = "1.0.64"
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
+1 -6
View File
@@ -32,18 +32,12 @@ mimetypes = { path = "../../../lib/files/mimetypes" }
mysql_queries = { path = "../../../lib/mysql_queries" }
reusable_types = { path = "../../../_types/reusable_types" }
subprocess_common = { path = "../../../lib/subprocess_common" }
tts_common = { path = "../../../lib/tts_common" }
# Vendored code
newrelic-telemetry = { path = "../../../vendor/newrelic-telemetry-sdk-rust" }
# External
anyhow = "1.0.75"
chrono = { version = "0.4.19", features = ["serde"] }
clap = "2.34.0" # TODO: This is really out of date, but has conflicts when updated
dotenv = "0.15.0"
hostname = "0.3.1"
lfu = "0.2.5"
log = "0.4.14"
subprocess = "0.2.9"
tempdir = "0.3.7"
@@ -70,3 +64,4 @@ hyper = { version = "0.14.24" }
serde = "1.0.125"
serde_derive = "1.0.125"
serde_json = "1.0.64"
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
+1 -3
View File
@@ -35,7 +35,6 @@ mimetypes = { path = "../../../lib/files/mimetypes" }
mysql_queries = { path = "../../../lib/mysql_queries" }
redis_common = { path = "../../../lib/redis_common" }
subprocess_common = { path = "../../../lib/subprocess_common" }
testing = { path = "../../../lib/testing" }
tokens = { path = "../../../_types/tokens" }
tts_common = { path = "../../../lib/tts_common" }
@@ -45,10 +44,8 @@ newrelic-telemetry = { path = "../../../vendor/newrelic-telemetry-sdk-rust" }
# External
anyhow = "1.0.75"
chrono = { version = "0.4.19", features = ["serde"] }
clap = "2.34.0" # TODO: This is really out of date, but has conflicts when updated
dotenv = "0.15.0"
hostname = "0.3.1"
lfu = "0.2.5"
log = "0.4.14"
once_cell = "1.18.0"
subprocess = "0.2.9"
@@ -84,3 +81,4 @@ serde_json = "1.0.64"
# The initial round of stabilizations for the async/await language feature in Rust 1.39 did not
# include support for async fn in traits.
async-trait = "0.1.58"
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
@@ -24,18 +24,12 @@ google_drive_common = { path = "../../../lib/api_clients/google_drive_common" }
hashing = { path = "../../../lib/files/hashing" }
jobs_common = { path = "../../../lib/jobs_common" }
mysql_queries = { path = "../../../lib/mysql_queries" }
tts_common = { path = "../../../lib/tts_common" }
# Vendored code
newrelic-telemetry = { path = "../../../vendor/newrelic-telemetry-sdk-rust" }
# External
anyhow = "1.0.75"
chrono = { version = "0.4.19", features = ["serde"] }
clap = "2.34.0" # TODO: This is really out of date, but has conflicts when updated
dotenv = "0.15.0"
hostname = "0.3.1"
lfu = "0.2.5"
log = "0.4.14"
subprocess = "0.2.9"
tempdir = "0.3.7"
@@ -61,3 +55,4 @@ hyper = { version = "0.14.24" }
serde = "1.0.125"
serde_derive = "1.0.125"
serde_json = "1.0.64"
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
@@ -60,3 +60,4 @@ hyper = { version = "0.14.24" }
serde = "1.0.125"
serde_derive = "1.0.125"
serde_json = "1.0.64"
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
@@ -24,18 +24,12 @@ google_drive_common = { path = "../../../lib/api_clients/google_drive_common" }
hashing = { path = "../../../lib/files/hashing" }
jobs_common = { path = "../../../lib/jobs_common" }
mysql_queries = { path = "../../../lib/mysql_queries" }
tts_common = { path = "../../../lib/tts_common" }
# Vendored code
newrelic-telemetry = { path = "../../../vendor/newrelic-telemetry-sdk-rust" }
# External
anyhow = "1.0.75"
chrono = { version = "0.4.19", features = ["serde"] }
clap = "2.34.0" # TODO: This is really out of date, but has conflicts when updated
dotenv = "0.15.0"
hostname = "0.3.1"
lfu = "0.2.5"
log = "0.4.14"
subprocess = "0.2.9"
tempdir = "0.3.7"
@@ -61,3 +55,4 @@ hyper = { version = "0.14.24" }
serde = "1.0.125"
serde_derive = "1.0.125"
serde_json = "1.0.64"
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
@@ -22,18 +22,12 @@ easyenv = { path = "../../../lib/easyenv" }
google_drive_common = { path = "../../../lib/api_clients/google_drive_common" }
jobs_common = { path = "../../../lib/jobs_common" }
mysql_queries = { path = "../../../lib/mysql_queries" }
tts_common = { path = "../../../lib/tts_common" }
# Vendored code
newrelic-telemetry = { path = "../../../vendor/newrelic-telemetry-sdk-rust" }
# External
anyhow = "1.0.75"
chrono = { version = "0.4.19", features = ["serde"] }
clap = "2.34.0" # TODO: This is really out of date, but has conflicts when updated
dotenv = "0.15.0"
hostname = "0.3.1"
lfu = "0.2.5"
log = "0.4.14"
subprocess = "0.2.9"
tempdir = "0.3.7"
@@ -59,3 +53,4 @@ hyper = { version = "0.14.24" }
serde = "1.0.125"
serde_derive = "1.0.125"
serde_json = "1.0.64"
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
@@ -18,7 +18,6 @@ path = "src/main.rs"
config = { path = "../../../lib/deprecated/config" }
container_common = { path = "../../../lib/deprecated/container_common" }
easyenv = { path = "../../../lib/easyenv" }
http_server_common = { path = "../../../lib/deprecated/http_server_common" }
mysql_queries = { path = "../../../lib/mysql_queries" }
redis_common = { path = "../../../lib/redis_common" }
tokens = { path = "../../../_types/tokens" }
@@ -29,13 +28,9 @@ twitch_common = { path = "../../../lib/api_clients/twitch_common" }
anyhow = "1.0.75"
base64 = "0.21.0"
chrono = { version = "0.4.19", features = ["serde"] }
derive_more = "0.99.17"
dotenv = "0.15.0"
futures-timer = "3.0.2"
hex = "0.4.3"
hostname = "0.3.1"
lazy_static = "1.4.0"
lfu = "0.2.5"
log = "0.4.14"
rand = "0.8.3"
regex = "1.5.4"
@@ -51,8 +46,6 @@ futures = { version = "0.3.17", features = ["thread-pool"] } # feature for Threa
futures-util = "0.3.29"
futures_old_for_limiter = { package = "futures", version = "0.1.29" } # Older version of futures for `limiter` crate
# Threading
crossbeam = "0.8.1"
# MySql Database
# "offline" supports typesafe builds without a live database
@@ -61,7 +54,6 @@ crossbeam = "0.8.1"
sqlx = { version = "0.6.2", features = [ "mysql", "runtime-actix-native-tls", "offline", "chrono" ] }
# Redis Database
limitation = "0.1.1" # Redis rate limiter
r2d2_redis = "0.14.0"
# Twitch
@@ -73,21 +65,6 @@ twitch_oauth2 = "0.6.0-rc.2"
reqwest = { version = "0.11.4" }
native-tls = "0.2.8"
# In-memory caching
lru_time_cache = "0.11.11"
# Web
actix = "0.12.0"
actix-cors = "0.5.4"
actix-files= "0.6.0-beta.8"
actix-http = "3.4.0"
actix-rt = "2.9.0"
actix-service = "2.0.1"
actix-utils = "3.0.0"
actix-web = "4.0.0-beta.10"
actix-web-actors = "4.0.0-beta.7"
jwt = "0.13.0"
# Websockets
tokio-tungstenite = { version = "0.15.0", features = ["rustls", "rustls-tls"] }
@@ -96,8 +73,6 @@ tokio-tungstenite = { version = "0.15.0", features = ["rustls", "rustls-tls"] }
hyper = { version = "0.14.24" }
# Crypto
bcrypt = "0.8" # password hashes
hmac = "0.10.0" # cookies
magic-crypt = "3.1.8" # encrypting sort IDs for the frontend so we don't leak info
md-5 = "0.9.1" # gravatar
sha2 = "0.9.5" # file hashes, inference text hashes, etc.
@@ -111,9 +86,6 @@ toml = "0.5.8"
# Text processing
pulldown-cmark = "0.9.3"
# Temporary (just to ask for oauth credentials during dev)
rpassword = "7.2.0"
[build-dependencies]
# NB: Only using diesel for migrations support
diesel = { version = "2.1.3", features = ["mysql"] }
+2 -1
View File
@@ -42,7 +42,7 @@ serde_json = "1.0.64"
toml = "0.5.8"
# Money
async-stripe = { version = "0.25.2", features = ["runtime-tokio-hyper"] }
async-stripe = { version = "0.25.2", default-features = false, features = ["runtime-tokio-hyper", "connect", "billing", "checkout", "webhook-events"] }
# Async traits
# NB: note: `async` trait functions are not currently supported
@@ -55,6 +55,7 @@ async-trait = "0.1.58"
# "rustls" doesn't appear to work with IP addresses, per:
# https://github.com/launchbadge/sqlx/issues/1095#issuecomment-798050828
sqlx = { version = "0.6.2", features = [ "mysql", "runtime-actix-native-tls", "offline", "chrono" ] }
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
[dev-dependencies]
mockall = "0.11.3"
@@ -14,25 +14,5 @@ path = "src/lib.rs"
[dependencies]
# Internal
container_common = { path = "../../../lib/deprecated/container_common" }
# External
anyhow = "1.0.75"
base64 = "0.21.0"
chrono = { version = "0.4.19", features = ["serde"] }
dotenv = "0.15.0"
log = "0.4.14"
once_cell = "1.18.0"
regex = "1.5.4"
# Web
actix-cors = "0.6.0-beta.3"
actix-http = "3.4.0"
actix-web = "4.0.0-beta.10"
# Serialization
serde = "1.0.125"
serde_derive = "1.0.125"
serde_json = "1.0.64"
toml = "0.5.8"
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
+1 -2
View File
@@ -28,7 +28,6 @@ redis_caching = { path = "../../../lib/caching/redis_caching" }
redis_common = { path = "../../../lib/redis_common" }
reusable_types = { path = "../../../_types/reusable_types" }
server_environment = { path = "../../../lib/server_environment" }
sqlx_mysql_helpers = { path = "../../../lib/sqlx_mysql_helpers" }
tokens = { path = "../../../_types/tokens" }
user_input_common = { path = "../../../lib/user_input_common" }
@@ -69,5 +68,5 @@ sqlx = { version = "0.6.2", features = [ "mysql", "runtime-actix-native-tls", "o
# Redis Database
r2d2_redis = "0.14.0"
byteorder = "1.5.0"
strum = "0.25.0"
strum_macros = "0.25.3"
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
@@ -18,7 +18,6 @@ path = "src/main.rs"
actix_helpers = { path = "../../../lib/actix_helpers" }
easyenv = { path = "../../../lib/easyenv" }
errors = { path = "../../../lib/errors" }
http_server_common = { path = "../../../lib/deprecated/http_server_common" }
reusable_types = { path = "../../../_types/reusable_types" }
# External
@@ -33,24 +32,16 @@ hostname = "0.3.1"
tokio = { version = "1.6.0", features = ["macros"] }
# Futures
futures = { version = "0.3.17", features = ["thread-pool"] } # feature for ThreadPool
futures-util = "0.3.29"
futures_old_for_limiter = { package = "futures", version = "0.1.29" } # Older version of futures for `limiter` crate
# Web
actix-cors = "0.6.0-beta.3"
actix-files= "0.6.0-beta.8"
actix-http = "3.4.0"
actix-multipart = "0.4.0-beta.7"
actix-rt = "2.9.0"
actix-service = "2.0.1"
actix-utils = "3.0.0"
actix-web = "4.0.0-beta.10"
actix-web-actors = "4.0.0-beta.7"
jwt = "0.13.0"
# Serialization
serde = "1.0.125"
serde_derive = "1.0.125"
serde_json = "1.0.64"
toml = "0.5.8"
+1 -11
View File
@@ -32,7 +32,6 @@ errors = { path = "../../../lib/errors" }
google_drive_common = { path = "../../../lib/api_clients/google_drive_common" }
hashing = { path = "../../../lib/files/hashing" }
http_server_common = { path = "../../../lib/deprecated/http_server_common" }
jobs_common = { path = "../../../lib/jobs_common" }
media = { path = "../../../lib/files/media" }
memory_caching = { path = "../../../lib/caching/memory_caching" }
mimetypes = { path = "../../../lib/files/mimetypes" }
@@ -51,8 +50,6 @@ user_input_common = { path = "../../../lib/user_input_common" }
billing_component = { path = "../../plugins/billing" }
users_component = { path = "../../plugins/users" }
# Vendored code
newrelic-telemetry = { path = "../../../vendor/newrelic-telemetry-sdk-rust" }
# External
anyhow = "1.0.75"
@@ -64,7 +61,6 @@ hex = "0.4.3"
hostname = "0.3.1"
lazy_static = "1.4.0"
lexical-sort = "0.3.1"
lfu = "0.2.5"
log = "0.4.14"
once_cell = "1.18.0"
rand = "0.8.3"
@@ -79,7 +75,6 @@ uuid = { version = "0.8.2", features = ["v4"] }
# TODO/TEMPORARY:
# Twitch
# NB: "unsupported" pubsub features may disappear from the Twitch API at any time. It's an unofficial API.
twitch_api2 = { version = "0.6.0-rc.2", features = ["helix", "reqwest_client", "pubsub", "chrono", "unsupported"] }
twitch_oauth2 = "0.6.0-rc.2"
# Language tag parsing
@@ -127,18 +122,13 @@ infer = "0.5.0"
# https://github.com/durch/rust-s3/pull/254
rust-s3 = { version = "0.33.0" }
subprocess = "0.2.9"
tempdir = "0.3.7"
actix-cors = "0.6.0-beta.3"
actix-files= "0.6.0-beta.8"
actix-http = "3.4.0"
actix-multipart = "0.4.0-beta.7"
actix-rt = "2.9.0"
actix-service = "2.0.1"
actix-utils = "3.0.0"
actix-web = "4.0.0-beta.10"
actix-web-actors = "4.0.0-beta.7"
jwt = "0.13.0"
# NB: Hyper is just for HTTP client use in jobs. I'd use Actix client, but I need tokio runtime
@@ -146,7 +136,7 @@ jwt = "0.13.0"
hyper = { version = "0.14.24" }
# Money
async-stripe = { version = "0.25.2", features = ["runtime-tokio-hyper"] }
async-stripe = { version = "0.25.2", default-features = false, features = ["runtime-tokio-hyper", "connect", "billing", "checkout", "webhook-events"] }
# Crypto
bcrypt = "0.8" # password hashes
@@ -30,11 +30,8 @@ base64 = "0.21.0"
chrono = { version = "0.4.19", features = ["serde"] }
derive_more = "0.99.17"
dotenv = "0.15.0"
futures-timer = "3.0.2"
hex = "0.4.3"
hostname = "0.3.1"
lazy_static = "1.4.0"
lfu = "0.2.5"
log = "0.4.14"
rand = "0.8.3"
regex = "1.5.4"
@@ -50,9 +47,6 @@ futures = { version = "0.3.17", features = ["thread-pool"] } # feature for Threa
futures-util = "0.3.29"
futures_old_for_limiter = { package = "futures", version = "0.1.29" } # Older version of futures for `limiter` crate
# Threading
crossbeam = "0.8.1"
# MySql Database
# "offline" supports typesafe builds without a live database
# "rustls" doesn't appear to work with IP addresses, per:
@@ -73,9 +67,6 @@ twitch_oauth2 = "0.6.0-rc.2"
reqwest = { version = "0.11.4" }
native-tls = "0.2.8"
# In-memory caching
lru_time_cache = "0.11.11"
# Web
actix = "0.12.0"
actix-cors = "0.5.4"
@@ -86,18 +77,12 @@ actix-service = "2.0.1"
actix-utils = "3.0.0"
actix-web = "4.0.0-beta.10"
actix-web-actors = "4.0.0-beta.7"
jwt = "0.13.0"
# Websockets
tokio-tungstenite = { version = "0.15.0", features = ["rustls", "rustls-tls"] }
# NB: Hyper is just for HTTP client use in jobs. I'd use Actix client, but I need tokio runtime
# NB: Furthermore, the Tokio runtime is old, so I have to use an older Hyper.
hyper = { version = "0.14.24" }
# Crypto
bcrypt = "0.8" # password hashes
hmac = "0.10.0" # cookies
magic-crypt = "3.1.8" # encrypting sort IDs for the frontend so we don't leak info
md-5 = "0.9.1" # gravatar
sha2 = "0.9.5" # file hashes, inference text hashes, etc.
@@ -108,11 +93,8 @@ serde_derive = "1.0.125"
serde_json = "1.0.64"
toml = "0.5.8"
# Text processing
pulldown-cmark = "0.9.3"
# Temporary (just to ask for oauth credentials during dev)
rpassword = "7.2.0"
my-workspace-hack = { version = "0.1", path = "../../../../my-workspace-hack" }
[build-dependencies]
# NB: Only using diesel for migrations support
+1
View File
@@ -21,6 +21,7 @@ flate2 = { version = "1.0.16", optional = true }
futures = { version = "0.3.1", optional = true }
tokio = { version = "1.1.0", features = ["macros"], optional = true }
uuid = { version = "0.8.1", features = ["v4"] }
my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" }
[dev-dependencies]
rand = "0.7.3"