Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
146 changes: 143 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion dweb-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,15 @@ hex = "0.4.3"
blsttc = "8.0.2"
serde = "1.0.219"
serde_json = "1.0.139"
actix-web = "4.9.0"
actix-web = { version = "4.9.0", features = ["rustls-0_23"] }
actix-cors = "0.7.1"
actix-multipart = "0.7.2"
utoipa = { version = "5.3.1", features = ["actix_extras", "non_strict_integers"] }
utoipa-actix-web = "0.1.2"
utoipa-swagger-ui = { version = "9.0.1", features = ["vendored", "reqwest", "actix-web"] }
rustls = "0.23"
rustls-pemfile = "2.1"
rcgen = "0.13"

# patched
#utoipa = { path = "../../utoipa-patch/utoipa", features = ["actix_extras", "non_strict_integers"] } # "5.3.1"
Expand Down
3 changes: 3 additions & 0 deletions dweb-cli/src/cli_options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ pub enum Subcommands {
/// This is only needed when not using defaults, so hidden to de-clutter the CLI help
#[clap(hide = true, long, value_name = "PORT", value_parser = parse_port_number)]
port: Option<u16>,
/// Enable HTTPS with automatically generated self-signed certificate
#[clap(long = "https", default_value = "false")]
https: bool,
},

/// Open a browser to view a website on Autonomi (requires 'dweb serve' running)
Expand Down
Loading