Skip to content

Commit

Permalink
Merge pull request #126 from bswinnerton/add-rustls-feature-flag
Browse files Browse the repository at this point in the history
Add support for rustls
  • Loading branch information
digizeph authored Sep 15, 2023
2 parents 0554fff + ab8429f commit 99af99b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ bitflags = {version="2.3.3", features = ["serde"], optional = true}
bytes = {version = "1.4.0", optional = true}
hex= {version = "0.4.3", optional = true} # bmp/openbmp parsing
log= {version = "0.4", optional = true }
oneio = {version= "0.11.0", features=["lib"], optional = true }
oneio = {version= "0.13.1", default-features = false, optional = true }
regex = {version = "1", optional = true} # used in parser filter
chrono = {version="0.4.24", optional = true} # parser filter
serde_json = {version = "1.0", optional = true } # RIS Live parsing
Expand All @@ -47,7 +47,7 @@ env_logger = {version="0.10", optional=true}
clap = {version= "4.0", features=["derive"], optional=true}

[features]
default = ["parser"]
default = ["parser", "native-tls"]
models = [
"num_enum",
"num_enum/complex-expressions",
Expand All @@ -61,7 +61,6 @@ parser = [
"env_logger",
"log",
"models",
"oneio",
"regex",
]
cli = [
Expand All @@ -81,6 +80,12 @@ serde = [
"dep:serde",
"ipnet/serde",
]
native-tls = [
"oneio/lib-native-tls",
]
rustls = [
"oneio/lib-rustls",
]

[[bench]]
name = "internals"
Expand Down

0 comments on commit 99af99b

Please sign in to comment.