Skip to content

Commit

Permalink
fix: Separate relay and cli executables
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoh committed May 9, 2024
1 parent a5649fb commit fd085f3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ readme = "README.md"
repository = "https://github.com/emmyoh/oku-fs/"
documentation = "https://emmyoh.github.io/oku-fs/oku_fs/"
license = "AGPL-3.0-or-later"
default-run = "oku-fs"

[lib]
name = "oku_fs"
Expand All @@ -24,11 +25,12 @@ required-features = ["cli"]
name = "oku-fs-relay"
path = "src/relay.rs"
doc = false
required-features = ["relay"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ahash = "0.8.11"
ahash = { version = "0.8.11", optional = true }
bytes = "1.6.0"
chrono = "0.4.37"
clap = { version = "4.5.4", features = ["derive"], optional = true }
Expand All @@ -37,7 +39,7 @@ futures = "0.3.30"
iroh = "0.13.0"
iroh-mainline-content-discovery = "0.5.0"
iroh-pkarr-node-discovery = "0.2.0"
lazy_static = "1.4.0"
lazy_static = { version = "1.4.0", optional = true }
mainline = "1.4.0"
miette = { version = "7.2.0", features = ["fancy"] }
path-clean = "1.0.1"
Expand All @@ -53,3 +55,4 @@ toml = "0.8.12"
[features]
default = []
cli = ["dep:clap"]
relay = ["dep:ahash", "dep:lazy_static"]

0 comments on commit fd085f3

Please sign in to comment.