Skip to content

Commit

Permalink
fix: set "std" as default
Browse files Browse the repository at this point in the history
  • Loading branch information
JyJyJcr committed Dec 26, 2024
1 parent 1a70ea3 commit 8cc6771
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ rust-version.workspace = true
nginx-sys = { path = "nginx-sys", default-features=false, version = "0.5.0"}

[features]
default = ["vendored","alloc"]
default = ["vendored","std"]
# use allocation
alloc = ["nginx-sys/alloc"]
# use std
Expand Down
3 changes: 1 addition & 2 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ rust-version.workspace = true
build = "../build.rs"

[dependencies]
nginx-sys = { path = "../nginx-sys/", default-features = false }
ngx = { path = "../", default-features = false }
ngx = { path = "../", default-features = false, features = ["std"] }

[dev-dependencies]
aws-sign-v4 = "0.3.0"
Expand Down

0 comments on commit 8cc6771

Please sign in to comment.