mirror of
https://github.com/sagiegurari/duckscript
synced 2024-10-06 16:09:39 +00:00
commit
d351d62bcd
|
@ -1,5 +1,10 @@
|
||||||
## CHANGELOG
|
## CHANGELOG
|
||||||
|
|
||||||
|
### v0.8.10 (2021-12-10)
|
||||||
|
|
||||||
|
* New SDK and cli tls feature to enable usage without tls support (by default enabled)
|
||||||
|
* Update dependencies
|
||||||
|
|
||||||
### v0.8.9 (2021-11-01)
|
### v0.8.9 (2021-11-01)
|
||||||
|
|
||||||
* Fix publish flow
|
* Fix publish flow
|
||||||
|
|
13
Cargo.lock
generated
13
Cargo.lock
generated
|
@ -430,12 +430,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "heck"
|
name = "heck"
|
||||||
version = "0.3.3"
|
version = "0.4.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c"
|
checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9"
|
||||||
dependencies = [
|
|
||||||
"unicode-segmentation",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "hermit-abi"
|
name = "hermit-abi"
|
||||||
|
@ -1033,12 +1030,6 @@ dependencies = [
|
||||||
"tinyvec",
|
"tinyvec",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "unicode-segmentation"
|
|
||||||
version = "1.8.0"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b"
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "unicode-xid"
|
name = "unicode-xid"
|
||||||
version = "0.2.2"
|
version = "0.2.2"
|
||||||
|
|
|
@ -28,7 +28,11 @@ path = "src/main.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
duckscript = { version = "^0.7.1", path = "../duckscript" }
|
duckscript = { version = "^0.7.1", path = "../duckscript" }
|
||||||
duckscriptsdk = { version = "^0.8.8", path = "../duckscript_sdk" }
|
duckscriptsdk = { version = "^0.8.8", path = "../duckscript_sdk", default-features = false }
|
||||||
|
|
||||||
|
[features]
|
||||||
|
tls = ["duckscriptsdk/tls"]
|
||||||
|
default = ["tls"]
|
||||||
|
|
||||||
[badges.codecov]
|
[badges.codecov]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
|
|
|
@ -23,16 +23,18 @@ include = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
attohttpc = "^0.18"
|
attohttpc = { version = "^0.18", default-features = false, features = [
|
||||||
|
"compress",
|
||||||
|
] }
|
||||||
base64 = "^0.13"
|
base64 = "^0.13"
|
||||||
cfg-if = "^1.0"
|
cfg-if = "^1"
|
||||||
colored = "^2"
|
colored = "^2"
|
||||||
duckscript = { version = "^0.7.1", path = "../duckscript" }
|
duckscript = { version = "^0.7.1", path = "../duckscript" }
|
||||||
fs_extra = "^1"
|
fs_extra = "^1"
|
||||||
fsio = { version = "^0.3", features = ["temp-path"] }
|
fsio = { version = "^0.3", features = ["temp-path"] }
|
||||||
ftp = "^3"
|
ftp = "^3"
|
||||||
glob = "^0.3"
|
glob = "^0.3"
|
||||||
heck = "^0.3"
|
heck = "^0.4"
|
||||||
home = "^0.5"
|
home = "^0.5"
|
||||||
ignore = "^0.4"
|
ignore = "^0.4"
|
||||||
java-properties = "^1"
|
java-properties = "^1"
|
||||||
|
@ -49,6 +51,10 @@ whoami = "^1"
|
||||||
[target.'cfg(not(windows))'.dependencies]
|
[target.'cfg(not(windows))'.dependencies]
|
||||||
uname = "^0.1"
|
uname = "^0.1"
|
||||||
|
|
||||||
|
[features]
|
||||||
|
tls = ["attohttpc/tls"]
|
||||||
|
default = ["tls"]
|
||||||
|
|
||||||
[badges.codecov]
|
[badges.codecov]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
repository = "sagiegurari/duckscript"
|
repository = "sagiegurari/duckscript"
|
||||||
|
|
|
@ -31,7 +31,7 @@ impl Command for CommandImpl {
|
||||||
if arguments.is_empty() {
|
if arguments.is_empty() {
|
||||||
CommandResult::Error("No arguments provided.".to_string())
|
CommandResult::Error("No arguments provided.".to_string())
|
||||||
} else {
|
} else {
|
||||||
let value = heck::CamelCase::to_camel_case(arguments[0].as_str());
|
let value = heck::ToUpperCamelCase::to_upper_camel_case(arguments[0].as_str());
|
||||||
CommandResult::Continue(Some(value))
|
CommandResult::Continue(Some(value))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@ impl Command for CommandImpl {
|
||||||
if arguments.is_empty() {
|
if arguments.is_empty() {
|
||||||
CommandResult::Error("No arguments provided.".to_string())
|
CommandResult::Error("No arguments provided.".to_string())
|
||||||
} else {
|
} else {
|
||||||
let value = heck::KebabCase::to_kebab_case(arguments[0].as_str());
|
let value = heck::ToKebabCase::to_kebab_case(arguments[0].as_str());
|
||||||
CommandResult::Continue(Some(value))
|
CommandResult::Continue(Some(value))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@ impl Command for CommandImpl {
|
||||||
if arguments.is_empty() {
|
if arguments.is_empty() {
|
||||||
CommandResult::Error("No arguments provided.".to_string())
|
CommandResult::Error("No arguments provided.".to_string())
|
||||||
} else {
|
} else {
|
||||||
let value = heck::SnakeCase::to_snake_case(arguments[0].as_str());
|
let value = heck::ToSnakeCase::to_snake_case(arguments[0].as_str());
|
||||||
CommandResult::Continue(Some(value))
|
CommandResult::Continue(Some(value))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue